LLVM API Documentation
Public Types | |
typedef std::map< std::pair< const PointerType *, ValID >, GlobalValue * > | GlobalRefsType |
Public Member Functions | |
void | ModuleDone () |
GlobalValue * | GetForwardRefForGlobal (const PointerType *PTy, ValID ID) |
Public Attributes | |
Module * | CurrentModule |
std::map< const Type *, ValueList > | Values |
std::map< const Type *, ValueList > | LateResolveValues |
std::vector< PATypeHolder > | Types |
std::map< ValID, PATypeHolder > | LateResolveTypes |
std::map< Value *, std::pair< ValID, int > > | PlaceHolderInfo |
GlobalRefsType | GlobalRefs |
Definition at line 339 of file llvmAsmParser.cpp.
typedef std::map<std::pair<const PointerType *, ValID>, GlobalValue*> PerModuleInfo::GlobalRefsType |
Definition at line 357 of file llvmAsmParser.cpp.
void PerModuleInfo::ModuleDone | ( | ) | [inline] |
Definition at line 360 of file llvmAsmParser.cpp.
References llvm::Module::begin(), CurrentModule, E, llvm::Module::end(), GlobalRefs, LateResolveValues, ResolveDefinitions(), llvm::ThrowException(), Types, llvm::UpgradeCallsToIntrinsic(), and Values.
GlobalValue* PerModuleInfo::GetForwardRefForGlobal | ( | const PointerType * | PTy, | |
ValID | ID | |||
) | [inline] |
Definition at line 394 of file llvmAsmParser.cpp.
References GlobalRefs.
Referenced by ParseGlobalVariable().
Definition at line 340 of file llvmAsmParser.cpp.
Referenced by getTypeVal(), lookupInSymbolTable(), ModuleDone(), ParseGlobalVariable(), RunParser(), and setTypeName().
std::map<const Type *, ValueList> PerModuleInfo::Values |
Definition at line 341 of file llvmAsmParser.cpp.
Referenced by getValNonImprovising(), ModuleDone(), and ParseGlobalVariable().
std::map<const Type *,ValueList> PerModuleInfo::LateResolveValues |
Definition at line 342 of file llvmAsmParser.cpp.
Referenced by PerFunctionInfo::FunctionDone(), getVal(), and ModuleDone().
std::vector<PATypeHolder> PerModuleInfo::Types |
Definition at line 343 of file llvmAsmParser.cpp.
Referenced by getTypeVal(), ModuleDone(), and ResolveTypeTo().
std::map<ValID, PATypeHolder> PerModuleInfo::LateResolveTypes |
std::map<Value*, std::pair<ValID, int> > PerModuleInfo::PlaceHolderInfo |
PlaceHolderInfo - When temporary placeholder objects are created, remember how they were referenced and on which line of the input they came from so that we can resolve them later and print error messages as appropriate.
Definition at line 349 of file llvmAsmParser.cpp.
Referenced by getVal(), and ResolveDefinitions().
Definition at line 358 of file llvmAsmParser.cpp.
Referenced by GetForwardRefForGlobal(), and ModuleDone().