LLVM API Documentation

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
bool isDeclare
std::map< BasicBlock *, std::pair<
ValID, int > > 
BBForwardRefs
std::vector< BasicBlock * > NumberedBlocks
unsigned NextBBNum

Detailed Description

Definition at line 407 of file llvmAsmParser.cpp.


Constructor & Destructor Documentation

PerFunctionInfo::PerFunctionInfo (  )  [inline]

Definition at line 420 of file llvmAsmParser.cpp.

References CurrentFunction, and isDeclare.


Member Function Documentation

void PerFunctionInfo::FunctionStart ( Function M  )  [inline]

Definition at line 425 of file llvmAsmParser.cpp.

References CurrentFunction, M, and NextBBNum.

void PerFunctionInfo::FunctionDone (  )  [inline]

Definition at line 430 of file llvmAsmParser.cpp.

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


Member Data Documentation

Function* PerFunctionInfo::CurrentFunction

Definition at line 408 of file llvmAsmParser.cpp.

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

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

Definition at line 410 of file llvmAsmParser.cpp.

Referenced by FunctionDone(), and getValNonImprovising().

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

Definition at line 411 of file llvmAsmParser.cpp.

Referenced by FunctionDone(), and getVal().

bool PerFunctionInfo::isDeclare

Definition at line 412 of file llvmAsmParser.cpp.

Referenced by FunctionDone(), and PerFunctionInfo().

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

Referenced by FunctionDone(), and getBBVal().

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

Definition at line 417 of file llvmAsmParser.cpp.

Referenced by FunctionDone(), and getBBVal().

unsigned PerFunctionInfo::NextBBNum

Definition at line 418 of file llvmAsmParser.cpp.

Referenced by FunctionStart().


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