LLVM API Documentation

PerModuleInfo Struct Reference

Collaboration diagram for PerModuleInfo:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::map< std::pair<
const PointerType *, ValID >,
GlobalValue * > 
GlobalRefsType

Public Member Functions

void ModuleDone ()
GlobalValueGetForwardRefForGlobal (const PointerType *PTy, ValID ID)

Public Attributes

ModuleCurrentModule
std::map< const Type *, ValueListValues
std::map< const Type *, ValueListLateResolveValues
std::vector< PATypeHolderTypes
std::map< ValID, PATypeHolderLateResolveTypes
std::map< Value *, std::pair<
ValID, int > > 
PlaceHolderInfo
GlobalRefsType GlobalRefs

Detailed Description

Definition at line 339 of file llvmAsmParser.cpp.


Member Typedef Documentation

typedef std::map<std::pair<const PointerType *, ValID>, GlobalValue*> PerModuleInfo::GlobalRefsType

Definition at line 357 of file llvmAsmParser.cpp.


Member Function Documentation

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().


Member Data Documentation

Module* PerModuleInfo::CurrentModule

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

Definition at line 344 of file llvmAsmParser.cpp.

Referenced by getTypeVal(), and ResolveTypeTo().

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().

GlobalRefsType PerModuleInfo::GlobalRefs

Definition at line 358 of file llvmAsmParser.cpp.

Referenced by GetForwardRefForGlobal(), and ModuleDone().


The documentation for this struct was generated from the following file: