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 337 of file llvmAsmParser.cpp.


Member Typedef Documentation

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

Definition at line 355 of file llvmAsmParser.cpp.


Member Function Documentation

GlobalValue* PerModuleInfo::GetForwardRefForGlobal ( const PointerType PTy,
ValID  ID 
) [inline]

Definition at line 392 of file llvmAsmParser.cpp.

References GlobalRefs, and I.

Referenced by ParseGlobalVariable().

void PerModuleInfo::ModuleDone (  )  [inline]

Definition at line 358 of file llvmAsmParser.cpp.

References llvm::Module::begin(), CurrentModule, E, llvm::Module::end(), GlobalRefs, I, LateResolveValues, ResolveDefinitions(), llvm::ThrowException(), Types, llvm::UpgradeCallsToIntrinsic(), and Values.


Member Data Documentation

Module* PerModuleInfo::CurrentModule

Definition at line 338 of file llvmAsmParser.cpp.

Referenced by getTypeVal(), lookupInSymbolTable(), ModuleDone(), ParseGlobalVariable(), RunParser(), and setTypeName().

GlobalRefsType PerModuleInfo::GlobalRefs

Definition at line 356 of file llvmAsmParser.cpp.

Referenced by GetForwardRefForGlobal(), and ModuleDone().

std::map<ValID, PATypeHolder> PerModuleInfo::LateResolveTypes

Definition at line 342 of file llvmAsmParser.cpp.

Referenced by getTypeVal(), and ResolveTypeTo().

std::map<const Type *,ValueList> PerModuleInfo::LateResolveValues

Definition at line 340 of file llvmAsmParser.cpp.

Referenced by PerFunctionInfo::FunctionDone(), getVal(), and ModuleDone().

std::map<Value*, std::pair<ValID, int> > PerModuleInfo::PlaceHolderInfo

PlaceHolderInfo - When temporary placeholder objects are created, remember how they were referenced and one which line of the input they came from so that we can resolve them later and print error messages as appropriate.

Definition at line 347 of file llvmAsmParser.cpp.

Referenced by getVal(), and ResolveDefinitions().

std::vector<PATypeHolder> PerModuleInfo::Types

Definition at line 341 of file llvmAsmParser.cpp.

Referenced by getTypeVal(), ModuleDone(), and ResolveTypeTo().

std::map<const Type *, ValueList> PerModuleInfo::Values

Definition at line 339 of file llvmAsmParser.cpp.

Referenced by getValNonImprovising(), ModuleDone(), and ParseGlobalVariable().


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