Lines Matching refs:RAGreedy
67 class RAGreedy : public MachineFunctionPass, class
229 RAGreedy();
284 char RAGreedy::ID = 0;
287 const char *const RAGreedy::StageName[] = {
303 return new RAGreedy(); in createGreedyRegisterAllocator()
306 RAGreedy::RAGreedy(): MachineFunctionPass(ID) { in RAGreedy() function in RAGreedy
322 void RAGreedy::getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage()
353 void RAGreedy::LRE_WillEraseInstruction(MachineInstr *MI) { in LRE_WillEraseInstruction()
358 bool RAGreedy::LRE_CanEraseVirtReg(unsigned VirtReg) { in LRE_CanEraseVirtReg()
368 void RAGreedy::LRE_WillShrinkVirtReg(unsigned VirtReg) { in LRE_WillShrinkVirtReg()
379 void RAGreedy::LRE_DidCloneVirtReg(unsigned New, unsigned Old) { in LRE_DidCloneVirtReg()
393 void RAGreedy::releaseMemory() { in releaseMemory()
400 void RAGreedy::enqueue(LiveInterval *LI) { in enqueue()
430 LiveInterval *RAGreedy::dequeue() { in dequeue()
444 unsigned RAGreedy::tryAssign(LiveInterval &VirtReg, in tryAssign()
500 bool RAGreedy::shouldEvict(LiveInterval &A, bool IsHint, in shouldEvict()
521 bool RAGreedy::canEvictInterference(LiveInterval &VirtReg, unsigned PhysReg, in canEvictInterference()
582 void RAGreedy::evictInterference(LiveInterval &VirtReg, unsigned PhysReg, in evictInterference()
613 unsigned RAGreedy::tryEvict(LiveInterval &VirtReg, in tryEvict()
672 bool RAGreedy::addSplitConstraints(InterferenceCache::Cursor Intf, in addSplitConstraints()
730 void RAGreedy::addThroughConstraints(InterferenceCache::Cursor Intf, in addThroughConstraints()
778 void RAGreedy::growRegion(GlobalSplitCandidate &Cand) { in growRegion()
835 bool RAGreedy::calcCompactRegion(GlobalSplitCandidate &Cand) { in calcCompactRegion()
875 float RAGreedy::calcSpillCost() { in calcSpillCost()
895 float RAGreedy::calcGlobalSplitCost(GlobalSplitCandidate &Cand) { in calcGlobalSplitCost()
945 void RAGreedy::splitAroundRegion(LiveRangeEdit &LREdit, in splitAroundRegion()
1085 unsigned RAGreedy::tryRegionSplit(LiveInterval &VirtReg, AllocationOrder &Order, in tryRegionSplit()
1218 unsigned RAGreedy::tryBlockSplit(LiveInterval &VirtReg, AllocationOrder &Order, in tryBlockSplit()
1267 void RAGreedy::calcGapWeights(unsigned PhysReg, in calcGapWeights()
1320 unsigned RAGreedy::tryLocalSplit(LiveInterval &VirtReg, AllocationOrder &Order, in tryLocalSplit()
1508 unsigned RAGreedy::trySplit(LiveInterval &VirtReg, AllocationOrder &Order, in trySplit()
1554 unsigned RAGreedy::selectOrSplit(LiveInterval &VirtReg, in selectOrSplit()
1608 bool RAGreedy::runOnMachineFunction(MachineFunction &mf) { in runOnMachineFunction()