LLVM API Documentation
#include "llvm/Support/Annotation.h"
#include <map>
Include dependency graph for Annotation.cpp:
Go to the source code of this file.
Typedefs | |
typedef std::map< const std::string, unsigned > | IDMapType |
typedef Annotation *(*) | AnnFactory (AnnotationID, const Annotable *, void *) |
typedef std::map< unsigned, std::pair< AnnFactory, void * > > | FactMapType |
Functions | |
static IDMapType & | getIDMap () |
static FactMapType & | getFactMap () |
static void | eraseFromFactMap (unsigned ID) |
Variables | |
static unsigned | IDCounter = 0 |
static FactMapType * | TheFactMap = 0 |
typedef Annotation*(*) AnnFactory(AnnotationID, const Annotable *, void *) |
Definition at line 36 of file Annotation.cpp.
typedef std::map<unsigned, std::pair<AnnFactory,void*> > FactMapType |
Definition at line 37 of file Annotation.cpp.
typedef std::map<const std::string, unsigned> IDMapType |
Definition at line 29 of file Annotation.cpp.
static void eraseFromFactMap | ( | unsigned | ID | ) | [static] |
Definition at line 46 of file Annotation.cpp.
References TheFactMap.
Referenced by llvm::AnnotationManager::registerAnnotationFactory().
static FactMapType& getFactMap | ( | ) | [static] |
Definition at line 40 of file Annotation.cpp.
References TheFactMap.
Referenced by llvm::AnnotationManager::createAnnotation(), and llvm::AnnotationManager::registerAnnotationFactory().
static IDMapType& getIDMap | ( | ) | [static] |
Definition at line 33 of file Annotation.cpp.
Referenced by llvm::AnnotationManager::getID(), and llvm::AnnotationManager::getName().
unsigned IDCounter = 0 [static] |
FactMapType* TheFactMap = 0 [static] |