LLVM API Documentation
#include <LiveRangeInfo.h>
Collaboration diagram for llvm::LiveRangeInfo:
Public Member Functions | |
LiveRangeInfo (const Function *F, const TargetMachine &tm, std::vector< RegClass * > &RCList) | |
~LiveRangeInfo () | |
void | constructLiveRanges () |
const LiveRangeMapType * | getLiveRangeMap () const |
LiveRange * | getLiveRangeForValue (const Value *Val) |
const LiveRange * | getLiveRangeForValue (const Value *Val) const |
void | coalesceLRs () |
void | printLiveRanges () |
Definition at line 52 of file LiveRangeInfo.h.
|
Definition at line 31 of file LiveRangeInfo.cpp. |
|
Destructor to destroy all LiveRanges in the LiveRange Map Definition at line 36 of file LiveRangeInfo.cpp. |
|
Method for coalescing live ranges. Called only after interference info is calculated. Definition at line 320 of file LiveRangeInfo.cpp. References llvm::MachineInstr::begin(), llvm::MachineBasicBlock::begin(), llvm::MachineFunction::begin(), llvm::DEBUG_RA, llvm::MachineInstr::dump(), llvm::MachineInstr::end(), llvm::MachineBasicBlock::end(), llvm::MachineFunction::end(), llvm::MachineFunction::get(), llvm::RegClass::getInterference(), getLiveRangeForValue(), llvm::RegClass::getNumOfAvailRegs(), llvm::SparcV9RegInfo::getRegTypeForLR(), llvm::InterfsPreventCoalescing(), llvm::MachineInstr::ValOpIterator< MITy, VTy >::isDef(), llvm::RegClass::mergeIGNodesOfLRs(), and llvm::RA_DEBUG_LiveRanges. Referenced by llvm::PhyRegAlloc::runOnFunction(). |
|
|
Definition at line 104 of file LiveRangeInfo.h. References I. |
|
Method used to get the live range containing a Value. This may return NULL if no live range exists for a Value (eg, some consts) Definition at line 101 of file LiveRangeInfo.h. Referenced by coalesceLRs(), llvm::SparcV9RegInfo::colorMethodArgs(), llvm::SparcV9RegInfo::suggestReg4RetValue(), llvm::SparcV9RegInfo::suggestRegs4CallArgs(), and llvm::SparcV9RegInfo::suggestRegs4MethodArgs(). |
|
return the common live range map for this method Definition at line 95 of file LiveRangeInfo.h. |
|
debugging method to print the live ranges Definition at line 399 of file LiveRangeInfo.cpp. Referenced by llvm::PhyRegAlloc::runOnFunction(). |