LLVM API Documentation
#include <GCMetadata.h>


Public Types | |
| typedef list_type::const_iterator | iterator |
Public Member Functions | |
| GCModuleInfo () | |
| ~GCModuleInfo () | |
| void | clear () |
| iterator | begin () const |
| iterator | end () const |
| GCFunctionInfo & | getFunctionInfo (const Function &F) |
Static Public Attributes | |
| static char | ID = 0 |
GCModuleInfo - Garbage collection metadata for a whole module.
Definition at line 164 of file GCMetadata.h.
| typedef list_type::const_iterator llvm::GCModuleInfo::iterator |
Definition at line 176 of file GCMetadata.h.
| GCModuleInfo::GCModuleInfo | ( | ) |
Definition at line 59 of file GCMetadata.cpp.
References llvm::PassRegistry::getPassRegistry(), and llvm::initializeGCModuleInfoPass().
| GCModuleInfo::~GCModuleInfo | ( | ) |
Definition at line 64 of file GCMetadata.cpp.
References clear().
| iterator llvm::GCModuleInfo::begin | ( | ) | const [inline] |
begin/end - Iterators for used strategies.
Definition at line 190 of file GCMetadata.h.
Referenced by clear(), llvm::AsmPrinter::doFinalization(), and llvm::AsmPrinter::doInitialization().
| void GCModuleInfo::clear | ( | ) |
clear - Resets the pass. Any pass, which uses GCModuleInfo, should call it in doFinalization().
Definition at line 104 of file GCMetadata.cpp.
References begin(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::clear(), llvm::StringMap< ValueTy, AllocatorTy >::clear(), end(), and I.
Referenced by ~GCModuleInfo().
| iterator llvm::GCModuleInfo::end | ( | ) | const [inline] |
Definition at line 191 of file GCMetadata.h.
Referenced by clear(), llvm::AsmPrinter::doFinalization(), and llvm::AsmPrinter::doInitialization().
| GCFunctionInfo & GCModuleInfo::getFunctionInfo | ( | const Function & | F | ) |
get - Look up function metadata.
Definition at line 90 of file GCMetadata.cpp.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::end(), F(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::find(), llvm::Function::getGC(), llvm::GlobalValue::getParent(), llvm::Function::hasGC(), I, llvm::GCStrategy::insertFunctionInfo(), and llvm::GlobalValue::isDeclaration().
char GCModuleInfo::ID = 0 [static] |
Definition at line 178 of file GCMetadata.h.