LLVM API Documentation
Extended builder which adds coalescing constraints to a problem. More...
#include <RegAllocPBQP.h>
Public Member Functions | |
std::unique_ptr< PBQPRAProblem > | build (MachineFunction *mf, const LiveIntervals *lis, const MachineBlockFrequencyInfo *mbfi, const RegSet &vregs) override |
Extended builder which adds coalescing constraints to a problem.
Definition at line 141 of file RegAllocPBQP.h.
std::unique_ptr< PBQPRAProblem > PBQPBuilderWithCoalescing::build | ( | MachineFunction * | mf, |
const LiveIntervals * | lis, | ||
const MachineBlockFrequencyInfo * | mbfi, | ||
const RegSet & | vregs | ||
) | [override, 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 llvm::dbgs(), DEBUG, llvm::CoalescerPair::getDstReg(), llvm::TargetSubtargetInfo::getRegisterInfo(), llvm::LiveIntervals::getSpillWeight(), llvm::TargetMachine::getSubtargetImpl(), llvm::MachineFunction::getTarget(), llvm::SmallVectorTemplateCommon< T, typename >::size(), and std::swap().