mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 16:17:17 +00:00
unique_ptrify PBQPBuilder::build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216918 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -123,9 +123,10 @@ namespace llvm {
|
||||
|
||||
/// Build a PBQP instance to represent the register allocation problem for
|
||||
/// the given MachineFunction.
|
||||
virtual PBQPRAProblem *build(MachineFunction *mf, const LiveIntervals *lis,
|
||||
const MachineBlockFrequencyInfo *mbfi,
|
||||
const RegSet &vregs);
|
||||
virtual std::unique_ptr<PBQPRAProblem>
|
||||
build(MachineFunction *mf, const LiveIntervals *lis,
|
||||
const MachineBlockFrequencyInfo *mbfi, const RegSet &vregs);
|
||||
|
||||
private:
|
||||
|
||||
void addSpillCosts(PBQP::Vector &costVec, PBQP::PBQPNum spillCost);
|
||||
@@ -142,9 +143,10 @@ namespace llvm {
|
||||
|
||||
/// Build a PBQP instance to represent the register allocation problem for
|
||||
/// the given MachineFunction.
|
||||
PBQPRAProblem *build(MachineFunction *mf, const LiveIntervals *lis,
|
||||
const MachineBlockFrequencyInfo *mbfi,
|
||||
const RegSet &vregs) override;
|
||||
std::unique_ptr<PBQPRAProblem> build(MachineFunction *mf,
|
||||
const LiveIntervals *lis,
|
||||
const MachineBlockFrequencyInfo *mbfi,
|
||||
const RegSet &vregs) override;
|
||||
|
||||
private:
|
||||
|
||||
|
Reference in New Issue
Block a user