An annotation applied by LLVM to a pointer.
Definition at line 49 of file Annotations.h.
#include "Annotations.h"
Public Types | |
enum | AnnotationKind { AK_RawAnnotation, AK_FieldAnnotation } |
Public Member Functions | |
virtual | ~PtrAnnotation () |
virtual AnnotationKind | getKind () const |
llvm::StringRef | getName () const |
const llvm::Value * | getValue () const |
Static Public Member Functions | |
static bool | classof (const PtrAnnotation *P) |
static PtrAnnotation * | Interpret (llvm::User *) |
Protected Member Functions | |
PtrAnnotation (llvm::CallInst *Call, const llvm::Value *PtrArg, llvm::StringRef Name, llvm::StringRef Filename, llvm::APInt &Line) | |
Static Protected Member Functions | |
static llvm::StringRef | ExtractStringConstant (const llvm::Value *V) |
Protected Attributes | |
llvm::CallInst * | Call |
const llvm::Value * | PtrArg |
const llvm::StringRef | Name |
const llvm::StringRef | Filename |
const llvm::APInt & | Line |
|
inlinevirtual |
Definition at line 51 of file Annotations.h.
|
inlineprotected |
|
inlinestatic |
Definition at line 55 of file Annotations.h.
|
staticprotected |
Definition at line 66 of file Annotations.cpp.
|
inlinevirtual |
Reimplemented in tesla::FieldAnnotation.
Definition at line 54 of file Annotations.h.
References AK_RawAnnotation.
Referenced by tesla::FieldAnnotation::classof().
|
inline |
|
inline |
|
static |
Definition at line 42 of file Annotations.cpp.
|
protected |
Definition at line 71 of file Annotations.h.
Referenced by tesla::FieldAnnotation::begin(), tesla::FieldAnnotation::end(), and getValue().
|
protected |
Definition at line 74 of file Annotations.h.
|
protected |
Definition at line 75 of file Annotations.h.
|
protected |
Definition at line 73 of file Annotations.h.
Referenced by getName().
|
protected |
Definition at line 72 of file Annotations.h.