LLVM API Documentation
#include "llvm/Support/Annotation.h"#include "llvm/Support/ManagedStatic.h"#include <map>#include <cstring>
Go to the source code of this file.
Typedefs | |
| typedef std::map< const char *, unsigned, StrCmp > | IDMapType |
| typedef Annotation *(* | AnnFactory )(AnnotationID, const Annotable *, void *) |
| typedef std::map< unsigned, std::pair< AnnFactory, void * > > | FactMapType |
Functions | |
| static FactMapType & | getFactMap () |
| static void | eraseFromFactMap (unsigned ID) |
Variables | |
| static unsigned | IDCounter = 0 |
| static ManagedStatic< IDMapType > | IDMap |
| static FactMapType * | TheFactMap = 0 |
| typedef Annotation*(* AnnFactory)(AnnotationID, const Annotable *, void *) |
Definition at line 47 of file Annotation.cpp.
| typedef std::map<unsigned, std::pair<AnnFactory,void*> > FactMapType |
Definition at line 48 of file Annotation.cpp.
Definition at line 40 of file Annotation.cpp.
| static void eraseFromFactMap | ( | unsigned | ID | ) | [static] |
Definition at line 57 of file Annotation.cpp.
References TheFactMap.
Referenced by llvm::AnnotationManager::registerAnnotationFactory().
| static FactMapType& getFactMap | ( | ) | [static] |
Definition at line 51 of file Annotation.cpp.
References TheFactMap.
Referenced by llvm::AnnotationManager::createAnnotation(), and llvm::AnnotationManager::registerAnnotationFactory().
Definition at line 41 of file Annotation.cpp.
ManagedStatic<IDMapType> IDMap [static] |
Definition at line 44 of file Annotation.cpp.
FactMapType* TheFactMap = 0 [static] |