LLVM API Documentation

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

llvm::FunctionLiveVarInfo Class Reference

#include <FunctionLiveVarInfo.h>

Inheritance diagram for llvm::FunctionLiveVarInfo:

Inheritance graph
[legend]
Collaboration diagram for llvm::FunctionLiveVarInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual bool runOnFunction (Function &F)
virtual void releaseMemory ()
virtual void getAnalysisUsage (AnalysisUsage &AU) const
const ValueSetgetOutSetOfBB (const BasicBlock *BB) const
ValueSetgetOutSetOfBB (const BasicBlock *BB)
const ValueSetgetInSetOfBB (const BasicBlock *BB) const
ValueSetgetInSetOfBB (const BasicBlock *BB)
const ValueSetgetLiveVarSetBeforeMInst (const MachineInstr *MI, const BasicBlock *BB=0)
const ValueSetgetLiveVarSetAfterMInst (const MachineInstr *MI, const BasicBlock *BB=0)

Detailed Description

Definition at line 47 of file FunctionLiveVarInfo.h.


Member Function Documentation

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  ) 
 

Definition at line 63 of file FunctionLiveVarInfo.cpp.

const ValueSet & llvm::FunctionLiveVarInfo::getInSetOfBB const BasicBlock BB  )  const
 

Definition at line 60 of file FunctionLiveVarInfo.cpp.

const ValueSet & llvm::FunctionLiveVarInfo::getLiveVarSetAfterMInst const MachineInstr MI,
const BasicBlock BB = 0
 

Definition at line 219 of file FunctionLiveVarInfo.cpp.

const ValueSet & llvm::FunctionLiveVarInfo::getLiveVarSetBeforeMInst const MachineInstr MI,
const BasicBlock BB = 0
 

Definition at line 203 of file FunctionLiveVarInfo.cpp.

ValueSet & llvm::FunctionLiveVarInfo::getOutSetOfBB const BasicBlock BB  ) 
 

Definition at line 55 of file FunctionLiveVarInfo.cpp.

const ValueSet & llvm::FunctionLiveVarInfo::getOutSetOfBB const BasicBlock BB  )  const
 

Definition at line 52 of file FunctionLiveVarInfo.cpp.

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.

References E, and I.

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.


The documentation for this class was generated from the following files: