Lines Matching refs:RegAllocFast
177 class RegAllocFast : public MachineFunctionPass { class
181 RegAllocFast(const RegClassFilterFunc F = allocateAllRegClasses, in RegAllocFast() function in __anonf5ca9da10111::RegAllocFast
413 char RegAllocFast::ID = 0;
415 INITIALIZE_PASS(RegAllocFast, "regallocfast", "Fast Register Allocator", false,
418 bool RegAllocFast::shouldAllocateRegister(const Register Reg) const { in shouldAllocateRegister()
424 void RegAllocFast::setPhysRegState(MCPhysReg PhysReg, unsigned NewState) { in setPhysRegState()
429 bool RegAllocFast::isPhysRegFree(MCPhysReg PhysReg) const { in isPhysRegFree()
439 int RegAllocFast::getStackSpaceFor(Register VirtReg) { in getStackSpaceFor()
467 bool RegAllocFast::mayLiveOut(Register VirtReg) { in mayLiveOut()
520 bool RegAllocFast::mayLiveIn(Register VirtReg) { in mayLiveIn()
539 void RegAllocFast::spill(MachineBasicBlock::iterator Before, Register VirtReg, in spill()
599 void RegAllocFast::reload(MachineBasicBlock::iterator Before, Register VirtReg, in reload()
613 MachineBasicBlock::iterator RegAllocFast::getMBBBeginInsertionPoint( in getMBBBeginInsertionPoint()
640 void RegAllocFast::reloadAtBegin(MachineBasicBlock &MBB) { in reloadAtBegin()
683 bool RegAllocFast::usePhysReg(MachineInstr &MI, MCPhysReg Reg) { in usePhysReg()
691 bool RegAllocFast::definePhysReg(MachineInstr &MI, MCPhysReg Reg) { in definePhysReg()
700 bool RegAllocFast::displacePhysReg(MachineInstr &MI, MCPhysReg PhysReg) { in displacePhysReg()
729 void RegAllocFast::freePhysReg(MCPhysReg PhysReg) { in freePhysReg()
756 unsigned RegAllocFast::calcSpillCost(MCPhysReg PhysReg) const { in calcSpillCost()
775 void RegAllocFast::assignDanglingDebugValues(MachineInstr &Definition, in assignDanglingDebugValues()
812 void RegAllocFast::assignVirtToPhysReg(MachineInstr &AtMI, LiveReg &LR, in assignVirtToPhysReg()
827 Register RegAllocFast::traceCopyChain(Register Reg) const { in traceCopyChain()
846 Register RegAllocFast::traceCopies(Register VirtReg) const { in traceCopies()
864 void RegAllocFast::allocVirtReg(MachineInstr &MI, LiveReg &LR, Register Hint0, in allocVirtReg()
953 void RegAllocFast::allocVirtRegUndef(MachineOperand &MO) { in allocVirtRegUndef()
983 bool RegAllocFast::defineLiveThroughVirtReg(MachineInstr &MI, unsigned OpNum, in defineLiveThroughVirtReg()
1019 bool RegAllocFast::defineVirtReg(MachineInstr &MI, unsigned OpNum, in defineVirtReg()
1097 bool RegAllocFast::useVirtReg(MachineInstr &MI, MachineOperand &MO, in useVirtReg()
1153 bool RegAllocFast::setPhysReg(MachineInstr &MI, MachineOperand &MO, in setPhysReg()
1193 void RegAllocFast::dumpState() const { in dumpState()
1238 void RegAllocFast::addRegClassDefCounts( in addRegClassDefCounts()
1272 void RegAllocFast::findAndSortDefOperandIndexes(const MachineInstr &MI) { in findAndSortDefOperandIndexes()
1346 void RegAllocFast::allocateInstruction(MachineInstr &MI) { in allocateInstruction()
1608 void RegAllocFast::handleDebugValue(MachineInstr &MI) { in handleDebugValue()
1651 void RegAllocFast::handleBundle(MachineInstr &MI) { in handleBundle()
1674 void RegAllocFast::allocateBasicBlock(MachineBasicBlock &MBB) { in allocateBasicBlock()
1735 bool RegAllocFast::runOnMachineFunction(MachineFunction &MF) { in runOnMachineFunction()
1774 FunctionPass *llvm::createFastRegisterAllocator() { return new RegAllocFast(); } in createFastRegisterAllocator()
1778 return new RegAllocFast(Ftor, ClearVirtRegs); in createFastRegisterAllocator()