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 MachineLoopInfo *loopInfo, const RegSet &vregs) |
Extended builder which adds coalescing constraints to a problem.
Definition at line 141 of file RegAllocPBQP.h.
| PBQPRAProblem * PBQPBuilderWithCoalescing::build | ( | MachineFunction * | mf, |
| const LiveIntervals * | lis, | ||
| const MachineLoopInfo * | loopInfo, | ||
| const RegSet & | vregs | ||
| ) | [virtual] |
Build a PBQP instance to represent the register allocation problem for the given MachineFunction.
Reimplemented from llvm::PBQPBuilder.
Definition at line 314 of file RegAllocPBQP.cpp.
References PBQP::Graph::addEdge(), llvm::MachineBasicBlock::begin(), llvm::MachineFunction::begin(), llvm::PBQPBuilder::build(), PBQP::Graph::edgesEnd(), llvm::MachineBasicBlock::end(), llvm::MachineFunction::end(), PBQP::Graph::findEdge(), PBQP::Graph::getEdgeCosts(), PBQP::Graph::getEdgeNode1(), llvm::MachineLoopInfo::getLoopDepth(), PBQP::Graph::getNodeCosts(), llvm::MachineFunction::getRegInfo(), llvm::TargetMachine::getRegisterInfo(), llvm::LiveIntervals::getSpillWeight(), llvm::MachineFunction::getTarget(), llvm::MachineRegisterInfo::isAllocatable(), llvm::SmallVectorTemplateCommon< T, typename >::size(), llvm::swap(), and llvm::OwningPtr< T >::take().