LLVM API Documentation
Extended builder which adds coalescing constraints to a problem. More...
#include <RegAllocPBQP.h>
Public Member Functions | |
virtual PBQPRAProblem * | build (MachineFunction *mf, const LiveIntervals *lis, const MachineBlockFrequencyInfo *mbfi, const RegSet &vregs) |
![]() | |
PBQPBuilder () | |
Default constructor. More... | |
virtual | ~PBQPBuilder () |
Clean up a PBQPBuilder. More... | |
Additional Inherited Members | |
![]() | |
typedef std::set< unsigned > | RegSet |
Extended builder which adds coalescing constraints to a problem.
Definition at line 140 of file RegAllocPBQP.h.
|
virtual |
Build a PBQP instance to represent the register allocation problem for the given MachineFunction.
Reimplemented from llvm::PBQPBuilder.
Definition at line 313 of file RegAllocPBQP.cpp.
References PBQP::Graph::addEdge(), llvm::MachineBasicBlock::begin(), llvm::MachineFunction::begin(), llvm::PBQPBuilder::build(), llvm::MachineBasicBlock::end(), llvm::MachineFunction::end(), PBQP::Graph::findEdge(), llvm::PBQPRAProblem::getAllowedSet(), llvm::MachineBlockFrequencyInfo::getBlockFreq(), PBQP::Graph::getEdgeCosts(), PBQP::Graph::getEdgeNode1(), llvm::PBQPRAProblem::getGraph(), PBQP::Graph::getNodeCosts(), llvm::PBQPRAProblem::getNodeForVReg(), llvm::MachineFunction::getRegInfo(), llvm::TargetMachine::getRegisterInfo(), llvm::LiveIntervals::getSpillWeight(), llvm::MachineFunction::getTarget(), PBQP::Graph::invalidEdgeId(), llvm::MachineRegisterInfo::isAllocatable(), llvm::SmallVectorTemplateCommon< T, typename >::size(), std::swap(), and llvm::OwningPtr< T >::take().