Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:RAGreedy

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