LLVM API Documentation
#include <GCMetadata.h>
Public Types | |
typedef list_type::const_iterator | iterator |
Public Member Functions | |
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 166 of file GCMetadata.h.
typedef list_type::const_iterator llvm::GCModuleInfo::iterator |
Definition at line 178 of file GCMetadata.h.
Definition at line 59 of file GCMetadata.cpp.
References llvm::PassRegistry::getPassRegistry(), and llvm::initializeGCModuleInfoPass().
iterator llvm::GCModuleInfo::begin | ( | ) | const [inline] |
begin/end - Iterators for used strategies.
Definition at line 191 of file GCMetadata.h.
Referenced by llvm::AsmPrinter::doFinalization().
void GCModuleInfo::clear | ( | ) |
clear - Resets the pass. Any pass, which uses GCModuleInfo, should call it in doFinalization().
Definition at line 100 of file GCMetadata.cpp.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::clear(), and llvm::StringMap< ValueTy, AllocatorTy >::clear().
iterator llvm::GCModuleInfo::end | ( | ) | const [inline] |
Definition at line 192 of file GCMetadata.h.
Referenced by llvm::AsmPrinter::doFinalization().
get - Look up function metadata.
Definition at line 86 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, and llvm::GlobalValue::isDeclaration().
char GCModuleInfo::ID = 0 [static] |
Definition at line 180 of file GCMetadata.h.