16 #ifndef LLVM_CODEGEN_PBQPRACONSTRAINT_H 17 #define LLVM_CODEGEN_PBQPRACONSTRAINT_H 44 virtual void anchor();
54 for (
auto &
C : Constraints)
60 Constraints.push_back(std::move(C));
64 std::vector<std::unique_ptr<PBQPRAConstraint>> Constraints;
66 void anchor()
override;
71 #endif // LLVM_CODEGEN_PBQPRACONSTRAINT_H PBQP register allocation constraint composer.
Abstract base for classes implementing PBQP register allocation constraints (e.g. ...
This class represents lattice values for constants.
void addConstraint(std::unique_ptr< PBQPRAConstraint > C)
void apply(Opt *O, const Mod &M, const Mods &... Ms)
static cl::opt< RegisterRegAlloc::FunctionPassCtor, false, RegisterPassParser< RegisterRegAlloc > > RegAlloc("regalloc", cl::Hidden, cl::init(&useDefaultRegisterAllocator), cl::desc("Register allocator to use"))
PBQP::RegAlloc::PBQPRAGraph PBQPRAGraph
void apply(PBQPRAGraph &G) override