Lines Matching refs:RAGreedy
152 char RAGreedy::ID = 0;
153 char &llvm::RAGreedyID = RAGreedy::ID;
155 INITIALIZE_PASS_BEGIN(RAGreedy, "greedy",
172 INITIALIZE_PASS_END(RAGreedy, "greedy",
176 const char *const RAGreedy::StageName[] = {
192 return new RAGreedy(); in createGreedyRegisterAllocator()
196 return new RAGreedy(Ftor); in createGreedyRegisterAllocator()
199 RAGreedy::RAGreedy(RegAllocFilterFunc F) in RAGreedy() function in RAGreedy
202 void RAGreedy::getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage()
234 bool RAGreedy::LRE_CanEraseVirtReg(Register VirtReg) { in LRE_CanEraseVirtReg()
249 void RAGreedy::LRE_WillShrinkVirtReg(Register VirtReg) { in LRE_WillShrinkVirtReg()
259 void RAGreedy::LRE_DidCloneVirtReg(Register New, Register Old) { in LRE_DidCloneVirtReg()
263 void RAGreedy::ExtraRegInfo::LRE_DidCloneVirtReg(Register New, Register Old) { in LRE_DidCloneVirtReg()
277 void RAGreedy::releaseMemory() { in releaseMemory()
282 void RAGreedy::enqueueImpl(const LiveInterval *LI) { enqueue(Queue, LI); } in enqueueImpl()
284 void RAGreedy::enqueue(PQueue &CurQueue, const LiveInterval *LI) { in enqueue()
382 const LiveInterval *RAGreedy::dequeue() { return dequeue(Queue); } in dequeue()
384 const LiveInterval *RAGreedy::dequeue(PQueue &CurQueue) { in dequeue()
397 MCRegister RAGreedy::tryAssign(const LiveInterval &VirtReg, in tryAssign()
481 void RAGreedy::evictInterference(const LiveInterval &VirtReg, in evictInterference()
577 MCRegister RAGreedy::tryEvict(const LiveInterval &VirtReg, in tryEvict()
601 bool RAGreedy::addSplitConstraints(InterferenceCache::Cursor Intf, in addSplitConstraints()
674 bool RAGreedy::addThroughConstraints(InterferenceCache::Cursor Intf, in addThroughConstraints()
727 bool RAGreedy::growRegion(GlobalSplitCandidate &Cand) { in growRegion()
806 bool RAGreedy::calcCompactRegion(GlobalSplitCandidate &Cand) { in calcCompactRegion()
849 BlockFrequency RAGreedy::calcSpillCost() { in calcSpillCost()
868 BlockFrequency RAGreedy::calcGlobalSplitCost(GlobalSplitCandidate &Cand, in calcGlobalSplitCost()
922 void RAGreedy::splitAroundRegion(LiveRangeEdit &LREdit, in splitAroundRegion()
1060 MCRegister RAGreedy::tryRegionSplit(const LiveInterval &VirtReg, in tryRegionSplit()
1094 RAGreedy::calculateRegionSplitCostAroundReg(MCPhysReg PhysReg, in calculateRegionSplitCostAroundReg()
1171 unsigned RAGreedy::calculateRegionSplitCost(const LiveInterval &VirtReg, in calculateRegionSplitCost()
1189 unsigned RAGreedy::doRegionSplit(const LiveInterval &VirtReg, unsigned BestCand, in doRegionSplit()
1231 bool RAGreedy::trySplitAroundHintReg(MCPhysReg Hint, in trySplitAroundHintReg()
1293 unsigned RAGreedy::tryBlockSplit(const LiveInterval &VirtReg, in tryBlockSplit()
1414 unsigned RAGreedy::tryInstructionSplit(const LiveInterval &VirtReg, in tryInstructionSplit()
1489 void RAGreedy::calcGapWeights(MCRegister PhysReg, in calcGapWeights()
1567 unsigned RAGreedy::tryLocalSplit(const LiveInterval &VirtReg, in tryLocalSplit()
1798 unsigned RAGreedy::trySplit(const LiveInterval &VirtReg, AllocationOrder &Order, in trySplit()
1867 bool RAGreedy::mayRecolorAllInterferences( in mayRecolorAllInterferences()
1954 unsigned RAGreedy::tryLastChanceRecoloring(const LiveInterval &VirtReg, in tryLastChanceRecoloring()
2106 bool RAGreedy::tryRecoloringCandidates(PQueue &RecoloringQueue, in tryRecoloringCandidates()
2142 MCRegister RAGreedy::selectOrSplit(const LiveInterval &VirtReg, in selectOrSplit()
2174 MCRegister RAGreedy::tryAssignCSRFirstTime( in tryAssignCSRFirstTime()
2208 void RAGreedy::aboutToRemoveInterval(const LiveInterval &LI) { in aboutToRemoveInterval()
2213 void RAGreedy::initializeCSRCost() { in initializeCSRCost()
2242 void RAGreedy::collectHintInfo(Register Reg, HintsInfo &Out) { in collectHintInfo()
2265 BlockFrequency RAGreedy::getBrokenHintFreq(const HintsInfo &List, in getBrokenHintFreq()
2283 void RAGreedy::tryHintRecoloring(const LiveInterval &VirtReg) { in tryHintRecoloring()
2396 void RAGreedy::tryHintsRecoloring() { in tryHintsRecoloring()
2408 MCRegister RAGreedy::selectOrSplitImpl(const LiveInterval &VirtReg, in selectOrSplitImpl()
2518 void RAGreedy::RAGreedyStats::report(MachineOptimizationRemarkMissed &R) { in report()
2547 RAGreedy::RAGreedyStats RAGreedy::computeStats(MachineBasicBlock &MBB) { in computeStats()
2639 RAGreedy::RAGreedyStats RAGreedy::reportStats(MachineLoop *L) { in reportStats()
2665 void RAGreedy::reportStats() { in reportStats()
2691 bool RAGreedy::hasVirtRegAlloc() { in hasVirtRegAlloc()
2706 bool RAGreedy::runOnMachineFunction(MachineFunction &mf) { in runOnMachineFunction()