LLVM API Documentation

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

PerFunctionInfo Struct Reference

Collaboration diagram for PerFunctionInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PerFunctionInfo ()
void FunctionStart (Function *M)
void FunctionDone ()

Public Attributes

FunctionCurrentFunction
std::map< const Type *, ValueListValues
std::map< const Type *, ValueListLateResolveValues
std::vector< PATypeHolderTypes
std::map< ValID, PATypeHolderLateResolveTypes
bool isDeclare
std::map< BasicBlock *, std::pair<
ValID, int > > 
BBForwardRefs
std::vector< BasicBlock * > NumberedBlocks
unsigned NextBBNum

Detailed Description

Definition at line 358 of file llvmAsmParser.cpp.


Constructor & Destructor Documentation

PerFunctionInfo::PerFunctionInfo  )  [inline]
 

Definition at line 373 of file llvmAsmParser.cpp.

References CurrentFunction, and isDeclare.


Member Function Documentation

void PerFunctionInfo::FunctionDone  )  [inline]
 

Definition at line 383 of file llvmAsmParser.cpp.

References BBForwardRefs, CurModule, CurrentFunction, isDeclare, PerModuleInfo::LateResolveValues, LateResolveValues, NumberedBlocks, ResolveDefinitions(), llvm::ThrowException(), Types, and Values.

void PerFunctionInfo::FunctionStart Function M  )  [inline]
 

Definition at line 378 of file llvmAsmParser.cpp.

References CurrentFunction, and NextBBNum.


Member Data Documentation

std::map<BasicBlock*, std::pair<ValID, int> > PerFunctionInfo::BBForwardRefs
 

BBForwardRefs - When we see forward references to basic blocks, keep track of them here.

Definition at line 369 of file llvmAsmParser.cpp.

Referenced by FunctionDone(), and getBBVal().

Function* PerFunctionInfo::CurrentFunction
 

Definition at line 359 of file llvmAsmParser.cpp.

Referenced by FunctionDone(), FunctionStart(), getBBVal(), inFunctionScope(), lookupInSymbolTable(), PerFunctionInfo(), and setValueName().

bool PerFunctionInfo::isDeclare
 

Definition at line 365 of file llvmAsmParser.cpp.

Referenced by FunctionDone(), and PerFunctionInfo().

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

Definition at line 364 of file llvmAsmParser.cpp.

Referenced by getTypeVal(), and ResolveTypeTo().

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

Definition at line 362 of file llvmAsmParser.cpp.

Referenced by FunctionDone(), and getVal().

unsigned PerFunctionInfo::NextBBNum
 

Definition at line 371 of file llvmAsmParser.cpp.

Referenced by FunctionStart().

std::vector<BasicBlock*> PerFunctionInfo::NumberedBlocks
 

Definition at line 370 of file llvmAsmParser.cpp.

Referenced by FunctionDone(), and getBBVal().

std::vector<PATypeHolder> PerFunctionInfo::Types
 

Definition at line 363 of file llvmAsmParser.cpp.

Referenced by FunctionDone(), and ResolveTypeTo().

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

Definition at line 361 of file llvmAsmParser.cpp.

Referenced by FunctionDone(), and getValNonImprovising().


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