Lines Matching defs:RABasic
9 // This file defines the RABasic function pass, which provides a minimal
54 /// RABasic provides a minimal implementation of the basic register allocation
59 class RABasic : public MachineFunctionPass,
79 RABasic(const RegAllocFilterFunc F = nullptr);
84 /// RABasic analysis usage.
126 char RABasic::ID = 0;
130 char &llvm::RABasicID = RABasic::ID;
132 INITIALIZE_PASS_BEGIN(RABasic, "regallocbasic", "Basic Register Allocator",
146 INITIALIZE_PASS_END(RABasic, "regallocbasic", "Basic Register Allocator", false,
149 bool RABasic::LRE_CanEraseVirtReg(Register VirtReg) {
164 void RABasic::LRE_WillShrinkVirtReg(Register VirtReg) {
174 RABasic::RABasic(RegAllocFilterFunc F)
177 void RABasic::getAnalysisUsage(AnalysisUsage &AU) const {
203 void RABasic::releaseMemory() {
211 bool RABasic::spillInterferences(const LiveInterval &VirtReg,
260 MCRegister RABasic::selectOrSplit(const LiveInterval &VirtReg,
310 bool RABasic::runOnMachineFunction(MachineFunction &mf) {
341 return new RABasic();
345 return new RABasic(F);