LLVM API Documentation
#include <PhyRegAlloc.h>
Inheritance diagram for llvm::PhyRegAlloc:
Public Types | |
typedef std::map< const Function *, std::vector< AllocInfo > > | SavedStateMapTy |
Public Member Functions | |
PhyRegAlloc (const TargetMachine &TM_) | |
virtual | ~PhyRegAlloc () |
virtual bool | runOnFunction (Function &F) |
virtual bool | doFinalization (Module &M) |
virtual void | getAnalysisUsage (AnalysisUsage &AU) const |
const char * | getPassName () const |
const RegClass * | getRegClassByID (unsigned id) const |
RegClass * | getRegClassByID (unsigned id) |
Definition at line 64 of file PhyRegAlloc.h.
|
Definition at line 93 of file PhyRegAlloc.h. |
|
Definition at line 95 of file PhyRegAlloc.h. |
|
Definition at line 98 of file PhyRegAlloc.h. |
|
doFinalization - Virtual method overriden by subclasses to do any post processing needed after all passes have run. Reimplemented from llvm::FunctionPass. Definition at line 1176 of file PhyRegAlloc.cpp. |
|
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 84 of file PhyRegAlloc.cpp. References llvm::AnalysisUsage::addRequired(). |
|
getPassName - Return a nice clean name for a pass. This usually implemented in terms of the name that is registered by one of the Registration templates, but can be overloaded directly, and if nothing else is available, C++ RTTI will be consulted to get a SOMEWHAT intelligible name for the pass. Reimplemented from llvm::Pass. Definition at line 108 of file PhyRegAlloc.h. |
|
Definition at line 115 of file PhyRegAlloc.h. |
|
Definition at line 112 of file PhyRegAlloc.h. |
|
runOnFunction - Main method called for allocating registers. Implements llvm::FunctionPass. Definition at line 1266 of file PhyRegAlloc.cpp. References llvm::AddedInstrns::clear(), llvm::LiveRangeInfo::coalesceLRs(), llvm::LiveRangeInfo::constructLiveRanges(), llvm::MachineFunction::dump(), llvm::MachineFunction::get(), llvm::MachineFunction::getInfo(), llvm::SparcV9RegInfo::getMachineRegClass(), llvm::Value::getName(), llvm::TargetMachine::getRegInfo(), llvm::LiveRangeInfo::printLiveRanges(), and llvm::RA_DEBUG_LiveRanges. |