Lines Matching refs:RAGreedy

107 class RAGreedy : public MachineFunctionPass,  class
316 RAGreedy();
421 char RAGreedy::ID = 0;
424 const char *const RAGreedy::StageName[] = {
441 return new RAGreedy(); in createGreedyRegisterAllocator()
444 RAGreedy::RAGreedy(): MachineFunctionPass(ID) { in RAGreedy() function in RAGreedy
460 void RAGreedy::getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage()
492 bool RAGreedy::LRE_CanEraseVirtReg(unsigned VirtReg) { in LRE_CanEraseVirtReg()
504 void RAGreedy::LRE_WillShrinkVirtReg(unsigned VirtReg) { in LRE_WillShrinkVirtReg()
514 void RAGreedy::LRE_DidCloneVirtReg(unsigned New, unsigned Old) { in LRE_DidCloneVirtReg()
528 void RAGreedy::releaseMemory() { in releaseMemory()
534 void RAGreedy::enqueue(LiveInterval *LI) { enqueue(Queue, LI); } in enqueue()
536 void RAGreedy::enqueue(PQueue &CurQueue, LiveInterval *LI) { in enqueue()
600 LiveInterval *RAGreedy::dequeue() { return dequeue(Queue); } in dequeue()
602 LiveInterval *RAGreedy::dequeue(PQueue &CurQueue) { in dequeue()
616 unsigned RAGreedy::tryAssign(LiveInterval &VirtReg, in tryAssign()
660 unsigned RAGreedy::canReassign(LiveInterval &VirtReg, unsigned PrevReg) { in canReassign()
698 bool RAGreedy::shouldEvict(LiveInterval &A, bool IsHint, in shouldEvict()
723 bool RAGreedy::canEvictInterference(LiveInterval &VirtReg, unsigned PhysReg, in canEvictInterference()
805 void RAGreedy::evictInterference(LiveInterval &VirtReg, unsigned PhysReg, in evictInterference()
844 bool RAGreedy::isUnusedCalleeSavedReg(unsigned PhysReg) const { in isUnusedCalleeSavedReg()
856 unsigned RAGreedy::tryEvict(LiveInterval &VirtReg, in tryEvict()
932 bool RAGreedy::addSplitConstraints(InterferenceCache::Cursor Intf, in addSplitConstraints()
990 void RAGreedy::addThroughConstraints(InterferenceCache::Cursor Intf, in addThroughConstraints()
1036 void RAGreedy::growRegion(GlobalSplitCandidate &Cand) { in growRegion()
1093 bool RAGreedy::calcCompactRegion(GlobalSplitCandidate &Cand) { in calcCompactRegion()
1133 BlockFrequency RAGreedy::calcSpillCost() { in calcSpillCost()
1153 BlockFrequency RAGreedy::calcGlobalSplitCost(GlobalSplitCandidate &Cand) { in calcGlobalSplitCost()
1205 void RAGreedy::splitAroundRegion(LiveRangeEdit &LREdit, in splitAroundRegion()
1345 unsigned RAGreedy::tryRegionSplit(LiveInterval &VirtReg, AllocationOrder &Order, in tryRegionSplit()
1375 unsigned RAGreedy::calculateRegionSplitCost(LiveInterval &VirtReg, in calculateRegionSplitCost()
1455 unsigned RAGreedy::doRegionSplit(LiveInterval &VirtReg, unsigned BestCand, in doRegionSplit()
1503 unsigned RAGreedy::tryBlockSplit(LiveInterval &VirtReg, AllocationOrder &Order, in tryBlockSplit()
1571 RAGreedy::tryInstructionSplit(LiveInterval &VirtReg, AllocationOrder &Order, in tryInstructionSplit()
1637 void RAGreedy::calcGapWeights(unsigned PhysReg, in calcGapWeights()
1715 unsigned RAGreedy::tryLocalSplit(LiveInterval &VirtReg, AllocationOrder &Order, in tryLocalSplit()
1942 unsigned RAGreedy::trySplit(LiveInterval &VirtReg, AllocationOrder &Order, in trySplit()
1999 RAGreedy::mayRecolorAllInterferences(unsigned PhysReg, LiveInterval &VirtReg, in mayRecolorAllInterferences()
2069 unsigned RAGreedy::tryLastChanceRecoloring(LiveInterval &VirtReg, in tryLastChanceRecoloring()
2185 bool RAGreedy::tryRecoloringCandidates(PQueue &RecoloringQueue, in tryRecoloringCandidates()
2208 unsigned RAGreedy::selectOrSplit(LiveInterval &VirtReg, in selectOrSplit()
2238 unsigned RAGreedy::tryAssignCSRFirstTime(LiveInterval &VirtReg, in tryAssignCSRFirstTime()
2274 void RAGreedy::aboutToRemoveInterval(LiveInterval &LI) { in aboutToRemoveInterval()
2279 void RAGreedy::initializeCSRCost() { in initializeCSRCost()
2307 void RAGreedy::collectHintInfo(unsigned Reg, HintsInfo &Out) { in collectHintInfo()
2331 BlockFrequency RAGreedy::getBrokenHintFreq(const HintsInfo &List, in getBrokenHintFreq()
2349 void RAGreedy::tryHintRecoloring(LiveInterval &VirtReg) { in tryHintRecoloring()
2456 void RAGreedy::tryHintsRecoloring() { in tryHintsRecoloring()
2468 unsigned RAGreedy::selectOrSplitImpl(LiveInterval &VirtReg, in selectOrSplitImpl()
2559 bool RAGreedy::runOnMachineFunction(MachineFunction &mf) { in runOnMachineFunction()