LLVM API Documentation
#include <FunctionLiveVarInfo.h>
Inheritance diagram for llvm::FunctionLiveVarInfo:
Public Member Functions | |
virtual bool | runOnFunction (Function &F) |
virtual void | releaseMemory () |
virtual void | getAnalysisUsage (AnalysisUsage &AU) const |
const ValueSet & | getOutSetOfBB (const BasicBlock *BB) const |
ValueSet & | getOutSetOfBB (const BasicBlock *BB) |
const ValueSet & | getInSetOfBB (const BasicBlock *BB) const |
ValueSet & | getInSetOfBB (const BasicBlock *BB) |
const ValueSet & | getLiveVarSetBeforeMInst (const MachineInstr *MI, const BasicBlock *BB=0) |
const ValueSet & | getLiveVarSetAfterMInst (const MachineInstr *MI, const BasicBlock *BB=0) |
Definition at line 47 of file FunctionLiveVarInfo.h.
virtual void llvm::FunctionLiveVarInfo::getAnalysisUsage | ( | AnalysisUsage & | AU | ) | const [inline, virtual] |
getAnalysisUsage - This function should be overriden by passes that need analysis information to do their job. If a pass specifies that it uses a particular analysis result to this function, it can then use the getAnalysis<AnalysisType>() function, below.
Reimplemented from llvm::Pass.
Definition at line 82 of file FunctionLiveVarInfo.h.
References llvm::AnalysisUsage::setPreservesAll().
ValueSet & llvm::FunctionLiveVarInfo::getInSetOfBB | ( | const BasicBlock * | BB | ) |
const ValueSet & llvm::FunctionLiveVarInfo::getInSetOfBB | ( | const BasicBlock * | BB | ) | const |
const ValueSet & llvm::FunctionLiveVarInfo::getLiveVarSetAfterMInst | ( | const MachineInstr * | MI, | |
const BasicBlock * | BB = 0 | |||
) |
const ValueSet & llvm::FunctionLiveVarInfo::getLiveVarSetBeforeMInst | ( | const MachineInstr * | MI, | |
const BasicBlock * | BB = 0 | |||
) |
ValueSet & llvm::FunctionLiveVarInfo::getOutSetOfBB | ( | const BasicBlock * | BB | ) |
const ValueSet & llvm::FunctionLiveVarInfo::getOutSetOfBB | ( | const BasicBlock * | BB | ) | const |
void llvm::FunctionLiveVarInfo::releaseMemory | ( | ) | [virtual] |
releaseMemory() - This member can be implemented by a pass if it wants to be able to release its memory when it is no longer needed. The default behavior of passes is to hold onto memory for the entire duration of their lifetime (which is the entire compile time). For pipelined passes, this is not a big deal because that memory gets recycled every time the pass is invoked on another program unit. For IP passes, it is more important to free memory when it is unused.
Optionally implement this function to release pass memory when it is no longer used.
Reimplemented from llvm::Pass.
Definition at line 159 of file FunctionLiveVarInfo.cpp.
bool llvm::FunctionLiveVarInfo::runOnFunction | ( | Function & | F | ) | [virtual] |
runOnFunction - Virtual method overriden by subclasses to do the per-function processing of the pass.
Implements llvm::FunctionPass.
Definition at line 72 of file FunctionLiveVarInfo.cpp.
References F.