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


Constructor & Destructor Documentation

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

Definition at line 98 of file Annotation.h.

Annotable::~Annotable (  ) 

Definition at line 21 of file Annotation.cpp.

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


Member Function Documentation

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

Definition at line 106 of file Annotation.h.

References A.

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

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

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

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

Definition at line 133 of file Annotation.h.

References A, llvm::Annotation::Next, and llvm::MipsISD::Ret.

Referenced by deleteAnnotation().

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

Definition at line 147 of file Annotation.h.

References A, and unlinkAnnotation().

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


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



This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.