Lines Matching refs:RAGreedy
108 class RAGreedy : public MachineFunctionPass, class
318 RAGreedy();
423 char RAGreedy::ID = 0;
426 const char *const RAGreedy::StageName[] = {
443 return new RAGreedy(); in createGreedyRegisterAllocator()
446 RAGreedy::RAGreedy(): MachineFunctionPass(ID) { in RAGreedy() function in RAGreedy
462 void RAGreedy::getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage()
494 bool RAGreedy::LRE_CanEraseVirtReg(unsigned VirtReg) { in LRE_CanEraseVirtReg()
506 void RAGreedy::LRE_WillShrinkVirtReg(unsigned VirtReg) { in LRE_WillShrinkVirtReg()
516 void RAGreedy::LRE_DidCloneVirtReg(unsigned New, unsigned Old) { in LRE_DidCloneVirtReg()
530 void RAGreedy::releaseMemory() { in releaseMemory()
536 void RAGreedy::enqueue(LiveInterval *LI) { enqueue(Queue, LI); } in enqueue()
538 void RAGreedy::enqueue(PQueue &CurQueue, LiveInterval *LI) { in enqueue()
602 LiveInterval *RAGreedy::dequeue() { return dequeue(Queue); } in dequeue()
604 LiveInterval *RAGreedy::dequeue(PQueue &CurQueue) { in dequeue()
618 unsigned RAGreedy::tryAssign(LiveInterval &VirtReg, in tryAssign()
662 unsigned RAGreedy::canReassign(LiveInterval &VirtReg, unsigned PrevReg) { in canReassign()
700 bool RAGreedy::shouldEvict(LiveInterval &A, bool IsHint, in shouldEvict()
725 bool RAGreedy::canEvictInterference(LiveInterval &VirtReg, unsigned PhysReg, in canEvictInterference()
807 void RAGreedy::evictInterference(LiveInterval &VirtReg, unsigned PhysReg, in evictInterference()
846 bool RAGreedy::isUnusedCalleeSavedReg(unsigned PhysReg) const { in isUnusedCalleeSavedReg()
858 unsigned RAGreedy::tryEvict(LiveInterval &VirtReg, in tryEvict()
934 bool RAGreedy::addSplitConstraints(InterferenceCache::Cursor Intf, in addSplitConstraints()
998 void RAGreedy::addThroughConstraints(InterferenceCache::Cursor Intf, in addThroughConstraints()
1044 void RAGreedy::growRegion(GlobalSplitCandidate &Cand) { in growRegion()
1101 bool RAGreedy::calcCompactRegion(GlobalSplitCandidate &Cand) { in calcCompactRegion()
1141 BlockFrequency RAGreedy::calcSpillCost() { in calcSpillCost()
1161 BlockFrequency RAGreedy::calcGlobalSplitCost(GlobalSplitCandidate &Cand) { in calcGlobalSplitCost()
1213 void RAGreedy::splitAroundRegion(LiveRangeEdit &LREdit, in splitAroundRegion()
1353 unsigned RAGreedy::tryRegionSplit(LiveInterval &VirtReg, AllocationOrder &Order, in tryRegionSplit()
1383 unsigned RAGreedy::calculateRegionSplitCost(LiveInterval &VirtReg, in calculateRegionSplitCost()
1465 unsigned RAGreedy::doRegionSplit(LiveInterval &VirtReg, unsigned BestCand, in doRegionSplit()
1513 unsigned RAGreedy::tryBlockSplit(LiveInterval &VirtReg, AllocationOrder &Order, in tryBlockSplit()
1581 RAGreedy::tryInstructionSplit(LiveInterval &VirtReg, AllocationOrder &Order, in tryInstructionSplit()
1647 void RAGreedy::calcGapWeights(unsigned PhysReg, in calcGapWeights()
1725 unsigned RAGreedy::tryLocalSplit(LiveInterval &VirtReg, AllocationOrder &Order, in tryLocalSplit()
1952 unsigned RAGreedy::trySplit(LiveInterval &VirtReg, AllocationOrder &Order, in trySplit()
2009 RAGreedy::mayRecolorAllInterferences(unsigned PhysReg, LiveInterval &VirtReg, in mayRecolorAllInterferences()
2079 unsigned RAGreedy::tryLastChanceRecoloring(LiveInterval &VirtReg, in tryLastChanceRecoloring()
2195 bool RAGreedy::tryRecoloringCandidates(PQueue &RecoloringQueue, in tryRecoloringCandidates()
2218 unsigned RAGreedy::selectOrSplit(LiveInterval &VirtReg, in selectOrSplit()
2248 unsigned RAGreedy::tryAssignCSRFirstTime(LiveInterval &VirtReg, in tryAssignCSRFirstTime()
2284 void RAGreedy::aboutToRemoveInterval(LiveInterval &LI) { in aboutToRemoveInterval()
2289 void RAGreedy::initializeCSRCost() { in initializeCSRCost()
2317 void RAGreedy::collectHintInfo(unsigned Reg, HintsInfo &Out) { in collectHintInfo()
2341 BlockFrequency RAGreedy::getBrokenHintFreq(const HintsInfo &List, in getBrokenHintFreq()
2359 void RAGreedy::tryHintRecoloring(LiveInterval &VirtReg) { in tryHintRecoloring()
2466 void RAGreedy::tryHintsRecoloring() { in tryHintsRecoloring()
2478 unsigned RAGreedy::selectOrSplitImpl(LiveInterval &VirtReg, in selectOrSplitImpl()
2569 bool RAGreedy::runOnMachineFunction(MachineFunction &mf) { in runOnMachineFunction()