Lines Matching refs:RAGreedy

99 class RAGreedy : public MachineFunctionPass,  class
303 RAGreedy();
406 char RAGreedy::ID = 0;
409 const char *const RAGreedy::StageName[] = {
425 return new RAGreedy(); in createGreedyRegisterAllocator()
428 RAGreedy::RAGreedy(): MachineFunctionPass(ID) { in RAGreedy() function in RAGreedy
444 void RAGreedy::getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage()
476 bool RAGreedy::LRE_CanEraseVirtReg(unsigned VirtReg) { in LRE_CanEraseVirtReg()
488 void RAGreedy::LRE_WillShrinkVirtReg(unsigned VirtReg) { in LRE_WillShrinkVirtReg()
498 void RAGreedy::LRE_DidCloneVirtReg(unsigned New, unsigned Old) { in LRE_DidCloneVirtReg()
512 void RAGreedy::releaseMemory() { in releaseMemory()
518 void RAGreedy::enqueue(LiveInterval *LI) { enqueue(Queue, LI); } in enqueue()
520 void RAGreedy::enqueue(PQueue &CurQueue, LiveInterval *LI) { in enqueue()
577 LiveInterval *RAGreedy::dequeue() { return dequeue(Queue); } in dequeue()
579 LiveInterval *RAGreedy::dequeue(PQueue &CurQueue) { in dequeue()
593 unsigned RAGreedy::tryAssign(LiveInterval &VirtReg, in tryAssign()
637 unsigned RAGreedy::canReassign(LiveInterval &VirtReg, unsigned PrevReg) { in canReassign()
675 bool RAGreedy::shouldEvict(LiveInterval &A, bool IsHint, in shouldEvict()
700 bool RAGreedy::canEvictInterference(LiveInterval &VirtReg, unsigned PhysReg, in canEvictInterference()
782 void RAGreedy::evictInterference(LiveInterval &VirtReg, unsigned PhysReg, in evictInterference()
823 unsigned RAGreedy::tryEvict(LiveInterval &VirtReg, in tryEvict()
900 bool RAGreedy::addSplitConstraints(InterferenceCache::Cursor Intf, in addSplitConstraints()
958 void RAGreedy::addThroughConstraints(InterferenceCache::Cursor Intf, in addThroughConstraints()
1004 void RAGreedy::growRegion(GlobalSplitCandidate &Cand) { in growRegion()
1061 bool RAGreedy::calcCompactRegion(GlobalSplitCandidate &Cand) { in calcCompactRegion()
1101 BlockFrequency RAGreedy::calcSpillCost() { in calcSpillCost()
1121 BlockFrequency RAGreedy::calcGlobalSplitCost(GlobalSplitCandidate &Cand) { in calcGlobalSplitCost()
1173 void RAGreedy::splitAroundRegion(LiveRangeEdit &LREdit, in splitAroundRegion()
1313 unsigned RAGreedy::tryRegionSplit(LiveInterval &VirtReg, AllocationOrder &Order, in tryRegionSplit()
1343 unsigned RAGreedy::calculateRegionSplitCost(LiveInterval &VirtReg, in calculateRegionSplitCost()
1424 unsigned RAGreedy::doRegionSplit(LiveInterval &VirtReg, unsigned BestCand, in doRegionSplit()
1472 unsigned RAGreedy::tryBlockSplit(LiveInterval &VirtReg, AllocationOrder &Order, in tryBlockSplit()
1540 RAGreedy::tryInstructionSplit(LiveInterval &VirtReg, AllocationOrder &Order, in tryInstructionSplit()
1606 void RAGreedy::calcGapWeights(unsigned PhysReg, in calcGapWeights()
1684 unsigned RAGreedy::tryLocalSplit(LiveInterval &VirtReg, AllocationOrder &Order, in tryLocalSplit()
1911 unsigned RAGreedy::trySplit(LiveInterval &VirtReg, AllocationOrder &Order, in trySplit()
1968 RAGreedy::mayRecolorAllInterferences(unsigned PhysReg, LiveInterval &VirtReg, in mayRecolorAllInterferences()
2038 unsigned RAGreedy::tryLastChanceRecoloring(LiveInterval &VirtReg, in tryLastChanceRecoloring()
2153 bool RAGreedy::tryRecoloringCandidates(PQueue &RecoloringQueue, in tryRecoloringCandidates()
2176 unsigned RAGreedy::selectOrSplit(LiveInterval &VirtReg, in selectOrSplit()
2206 unsigned RAGreedy::tryAssignCSRFirstTime(LiveInterval &VirtReg, in tryAssignCSRFirstTime()
2242 void RAGreedy::aboutToRemoveInterval(LiveInterval &LI) { in aboutToRemoveInterval()
2247 void RAGreedy::initializeCSRCost() { in initializeCSRCost()
2275 void RAGreedy::collectHintInfo(unsigned Reg, HintsInfo &Out) { in collectHintInfo()
2299 BlockFrequency RAGreedy::getBrokenHintFreq(const HintsInfo &List, in getBrokenHintFreq()
2317 void RAGreedy::tryHintRecoloring(LiveInterval &VirtReg) { in tryHintRecoloring()
2424 void RAGreedy::tryHintsRecoloring() { in tryHintsRecoloring()
2436 unsigned RAGreedy::selectOrSplitImpl(LiveInterval &VirtReg, in selectOrSplitImpl()
2522 bool RAGreedy::runOnMachineFunction(MachineFunction &mf) { in runOnMachineFunction()