/external/llvm/lib/CodeGen/ |
SlotIndexes.cpp | 44 // Iterate over all MBBs, and within each MBB all MIs, keeping the MI 60 "Index -> MBB mapping non-empty at initial numbering?"); 62 "MBB -> Index mapping non-empty at initial numbering?"); 76 MachineBasicBlock *mbb = &*mbbItr; local 78 // Insert an index for the MBB start. 81 for (MachineBasicBlock::iterator miItr = mbb->begin(), miEnd = mbb->end(); 99 MBBRanges[mbb->getNumber()].first = blockStartIndex; 100 MBBRanges[mbb->getNumber()].second = SlotIndex(back(), SlotIndex::LOAD); 101 idx2MBBMap.push_back(IdxMBBPair(blockStartIndex, mbb)); [all...] |
CalcSpillWeights.cpp | 92 MachineBasicBlock *mbb = 0; local 119 if (mi->getParent() != mbb) { 120 mbb = mi->getParent(); 121 loop = Loops.getLoopFor(mbb); 123 isExiting = loop ? loop->isLoopExiting(mbb) : false; 132 if (writes && isExiting && LIS.isLiveOutOfMBB(li, mbb))
|
RegAllocPBQP.cpp | 354 const MachineBasicBlock *mbb = &*mbbItr; local 356 for (MachineBasicBlock::const_iterator miItr = mbb->begin(), 357 miEnd = mbb->end(); 377 loopInfo->getLoopDepth(mbb));
|
RenderMachineFunction.cpp | 72 "MBB starts."), 808 MachineBasicBlock *mbb = sis->getMBBFromIndex(i); local 811 if (i == sis->getMBBStartIdx(mbb) || mi != 0 || 816 if (i == sis->getMBBStartIdx(mbb)) { 817 os << indent + s(6) << "BB#" << mbb->getNumber() << ": \n"; [all...] |
Splitter.cpp | 346 MachineBasicBlock *mbb = &*bbItr; local 349 if (tii->AnalyzeBranch(*mbb, a, b, c)) { 350 dbgs() << "MBB#" << mbb->getNumber() << " has multiway terminator.\n"; 352 for (MachineBasicBlock::iterator iItr = mbb->begin(), iEnd = mbb->end(); 358 for (MachineBasicBlock::succ_iterator sItr = mbb->succ_begin(), sEnd = mbb->succ_end(); 387 dbgs() << "(MBB#" << exitEdge.first->getNumber() 388 << ", MBB#" << exitEdge.second->getNumber() << ") " [all...] |
LiveIntervalAnalysis.cpp | 181 MachineBasicBlock *MBB = firstMI->getParent(); 182 if (MBB != lastMI->getParent() || lastMI->getDesc().isTerminator()) 284 void LiveIntervals::handleVirtualRegisterDef(MachineBasicBlock *mbb, 332 // will be a single kill, in MBB, which comes after the definition. 333 if (vi.Kills.size() == 1 && vi.Kills[0]->getParent() == mbb) { 357 LiveRange NewLR(defIndex, getMBBEndIdx(mbb), ValNo); 364 // A phi join register is killed at the end of the MBB and revived as a new 435 // because the 2-addr copy must be in the same MBB as the redef. 480 SlotIndex killIndex = getMBBEndIdx(mbb); 493 void LiveIntervals::handlePhysicalRegisterDef(MachineBasicBlock *MBB, 1151 MachineBasicBlock *mbb = indexes_->getMBBCoveringRange(itr->start, itr->end); local [all...] |
RegisterCoalescer.cpp | 108 /// CopyCoalesceInMBB - Coalesce copies in the specified MBB, putting 110 void CopyCoalesceInMBB(MachineBasicBlock *MBB, 711 MachineBasicBlock *MBB = DefMI->getParent(); 721 MBB->insert(DefMI, NewMI); 722 MBB->erase(DefMI); 836 MachineBasicBlock *MBB = CopyMI->getParent(); 839 TII->reMaterialize(*MBB, MII, DstReg, 0, DefMI, *TRI); 1848 MachineBasicBlock* mbb = mbbi; local [all...] |