LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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


Member Typedef Documentation

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

Definition at line 312 of file llvmAsmParser.cpp.


Member Function Documentation

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

Definition at line 345 of file llvmAsmParser.cpp.

References GlobalRefs, I, and llvm::ISD::Ret.

Referenced by ParseGlobalVariable().

void PerModuleInfo::ModuleDone  )  [inline]
 

Definition at line 315 of file llvmAsmParser.cpp.

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


Member Data Documentation

Module* PerModuleInfo::CurrentModule
 

Definition at line 295 of file llvmAsmParser.cpp.

Referenced by getTypeVal(), lookupInSymbolTable(), ModuleDone(), ParseGlobalVariable(), llvm::RunVMAsmParser(), and setTypeName().

GlobalRefsType PerModuleInfo::GlobalRefs
 

Definition at line 313 of file llvmAsmParser.cpp.

Referenced by GetForwardRefForGlobal(), and ModuleDone().

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

Definition at line 299 of file llvmAsmParser.cpp.

Referenced by getTypeVal(), and ResolveTypeTo().

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

Definition at line 297 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 304 of file llvmAsmParser.cpp.

Referenced by getVal(), and ResolveDefinitions().

std::vector<PATypeHolder> PerModuleInfo::Types
 

Definition at line 298 of file llvmAsmParser.cpp.

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

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

Definition at line 296 of file llvmAsmParser.cpp.

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


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