LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::Annotable Class Reference

#include <Annotation.h>

Inheritance diagram for llvm::Annotable:

Inheritance graph
[legend]
Collaboration diagram for llvm::Annotable:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Annotable ()
 ~Annotable ()
AnnotationgetAnnotation (AnnotationID ID) const
AnnotationgetOrCreateAnnotation (AnnotationID ID) const
void addAnnotation (Annotation *A) const
AnnotationunlinkAnnotation (AnnotationID ID) const
bool deleteAnnotation (AnnotationID ID) const

Detailed Description

Definition at line 91 of file Annotation.h.


Constructor & Destructor Documentation

llvm::Annotable::Annotable  )  [inline]
 

Definition at line 97 of file Annotation.h.

Annotable::~Annotable  ) 
 

Definition at line 20 of file Annotation.cpp.

References llvm::Annotation::getNext(), and Next().


Member Function Documentation

void llvm::Annotable::addAnnotation Annotation A  )  const [inline]
 

Definition at line 119 of file Annotation.h.

References llvm::Annotation::getID(), llvm::Annotation::ID, and llvm::Annotation::Next.

Referenced by llvm::MachineFunction::construct(), and getOrCreateAnnotation().

bool llvm::Annotable::deleteAnnotation AnnotationID  ID  )  const [inline]
 

Definition at line 146 of file Annotation.h.

References unlinkAnnotation().

Referenced by llvm::MachineFunction::destruct().

Annotation* llvm::Annotable::getAnnotation AnnotationID  ID  )  const [inline]
 

Definition at line 105 of file Annotation.h.

References llvm::Annotation::getNext().

Referenced by llvm::MachineFunction::construct(), llvm::MachineFunction::get(), and getOrCreateAnnotation().

Annotation * llvm::Annotable::getOrCreateAnnotation AnnotationID  ID  )  const [inline]
 

Definition at line 204 of file Annotation.h.

References addAnnotation(), llvm::AnnotationManager::createAnnotation(), and getAnnotation().

Annotation* llvm::Annotable::unlinkAnnotation AnnotationID  ID  )  const [inline]
 

Definition at line 132 of file Annotation.h.

References llvm::Annotation::Next, and llvm::ISD::Ret.

Referenced by deleteAnnotation().


The documentation for this class was generated from the following files: