LLVM API Documentation

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 90 of file Annotation.h.


Constructor & Destructor Documentation

llvm::Annotable::Annotable (  )  [inline]

Definition at line 96 of file Annotation.h.

Annotable::~Annotable (  ) 

Definition at line 20 of file Annotation.cpp.

References A, and Next.


Member Function Documentation

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

Definition at line 118 of file Annotation.h.

References A, and llvm::Annotation::ID.

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

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

Definition at line 145 of file Annotation.h.

References A, and unlinkAnnotation().

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

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

Definition at line 104 of file Annotation.h.

References A.

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

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

Definition at line 203 of file Annotation.h.

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

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

Definition at line 131 of file Annotation.h.

References A.

Referenced by deleteAnnotation().


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