class GCModuleInfo
Declaration
class GCModuleInfo : public ImmutablePass { /* full declaration omitted */ };
Description
An analysis pass which caches information about the entire Module. Records both the function level information used by GCRoots and a cache of the 'active' gc strategy objects for the current Module.
Declared at: llvm/include/llvm/CodeGen/GCMetadata.h:152
Inherits from: ImmutablePass
Member Variables
- public static char ID
Method Overview
- public GCModuleInfo()
- public llvm::GCModuleInfo::iterator begin() const
- public void clear()
- public llvm::GCModuleInfo::iterator end() const
- public FuncInfoVec::iterator funcinfo_begin()
- public FuncInfoVec::iterator funcinfo_end()
- public llvm::GCFunctionInfo & getFunctionInfo(const llvm::Function & F)
- public llvm::GCStrategy * getGCStrategy(const llvm::StringRef Name)
Inherited from ImmutablePass:
Inherited from ModulePass:
- public assignPassManager
- public createPrinterPass
- public getPotentialPassManagerType
- public runOnModule
- protected skipModule
Inherited from Pass:
- public assignPassManager
- public createPass
- public createPrinterPass
- public doFinalization
- public doInitialization
- public dump
- public dumpPassStructure
- public getAdjustedAnalysisPointer
- public getAnalysis
- public getAnalysis
- public getAnalysisID
- public getAnalysisID
- public getAnalysisIfAvailable
- public getAnalysisUsage
- public getAsImmutablePass
- public getAsPMDataManager
- public getPassID
- public getPassKind
- public getPassName
- public getPotentialPassManagerType
- public getResolver
- public lookupPassInfo
- public lookupPassInfo
- public mustPreserveAnalysisID
- public preparePassManager
- public print
- public releaseMemory
- public setResolver
- public verifyAnalysis
Methods
¶GCModuleInfo()
GCModuleInfo()
Declared at: llvm/include/llvm/CodeGen/GCMetadata.h:185
¶llvm::GCModuleInfo::iterator begin() const
llvm::GCModuleInfo::iterator begin() const
Description
begin/end - Iterators for used strategies.
Declared at: llvm/include/llvm/CodeGen/GCMetadata.h:194
¶void clear()
void clear()
Description
clear - Resets the pass. Any pass, which uses GCModuleInfo, should call it in doFinalization().
Declared at: llvm/include/llvm/CodeGen/GCMetadata.h:190
¶llvm::GCModuleInfo::iterator end() const
llvm::GCModuleInfo::iterator end() const
Declared at: llvm/include/llvm/CodeGen/GCMetadata.h:195
¶FuncInfoVec::iterator funcinfo_begin()
FuncInfoVec::iterator funcinfo_begin()
Declared at: llvm/include/llvm/CodeGen/GCMetadata.h:168
¶FuncInfoVec::iterator funcinfo_end()
FuncInfoVec::iterator funcinfo_end()
Declared at: llvm/include/llvm/CodeGen/GCMetadata.h:169
¶llvm::GCFunctionInfo& getFunctionInfo(
const llvm::Function& F)
llvm::GCFunctionInfo& getFunctionInfo(
const llvm::Function& F)
Description
get - Look up function metadata. This is currently assumed have the side effect of initializing the associated GCStrategy. That will soon change.
Declared at: llvm/include/llvm/CodeGen/GCMetadata.h:200
Parameters
- const llvm::Function& F
¶llvm::GCStrategy* getGCStrategy(
const llvm::StringRef Name)
llvm::GCStrategy* getGCStrategy(
const llvm::StringRef Name)
Description
Lookup the GCStrategy object associated with the given gc name. Objects are owned internally; No caller should attempt to delete the returned objects.
Declared at: llvm/include/llvm/CodeGen/GCMetadata.h:162
Parameters
- const llvm::StringRef Name