/external/llvm/lib/CodeGen/ |
LiveRangeCalc.cpp | 37 VNInfo *VNI = OverrideVNI ? OverrideVNI : I->Value; 38 assert(VNI && "No live-in value found"); 44 I->LI->addRange(LiveRange(Start, I->Kill, VNI)); 46 I->LI->addRange(LiveRange(Start, End, VNI)); 50 LiveOut[MBB] = LiveOutPair(VNI, (MachineDomTreeNode *)0); 78 VNInfo *VNI = findReachingDefs(LI, KillMBB, Kill, Indexes, DomTree); 81 if (!VNI) 84 updateLiveIns(VNI, Indexes); 123 if (VNInfo *VNI = LiveOut[Pred].first) { 124 if (TheVNI && TheVNI != VNI) [all...] |
InlineSpiller.cpp | 118 SibValueInfo(unsigned Reg, VNInfo *VNI) 120 SpillReg(Reg), SpillVNI(VNI), SpillMBB(0), DefMI(0) {} 166 void propagateSiblingValue(SibValueMap::iterator, VNInfo *VNI = 0); 170 void eliminateRedundantSpills(LiveInterval &LI, VNInfo *VNI); 343 /// @param VNI Dependent value, or NULL to propagate to all saved dependents. 345 VNInfo *VNI) { 346 // When VNI is non-NULL, add it to SVI's deps, and only propagate to that. 348 if (VNI) { 349 FirstDeps.push_back(VNI); 350 SVI->second.Deps.push_back(VNI); [all...] |
LiveRangeCalc.h | 44 /// redundant, it can be computed as: MDT[Indexes.getMBBFromIndex(VNI->def)]. 118 /// updateLiveIns - Add liveness as specified in the LiveIn vector, using VNI 120 void updateLiveIns(VNInfo *VNI, SlotIndexes*); 186 /// setLiveOutValue - Indicate that VNI is live out from MBB. The 190 /// VNI may be null only if MBB is a live-through block also passed to 192 void setLiveOutValue(MachineBasicBlock *MBB, VNInfo *VNI) { 194 LiveOut[MBB] = LiveOutPair(VNI, (MachineDomTreeNode *)0);
|
SplitKit.cpp | 97 const VNInfo *VNI = CurLI->getVNInfoBefore(MBBEnd); 98 if (!VNI) 105 if (!SlotIndex::isEarlierInstr(VNI->def, LSP.second) && VNI->def < MBBEnd) 373 assert(Edit->getParent().getVNInfoAt(Idx) == ParentVNI && "Bad Parent VNI"); 377 VNInfo *VNI = LI->getNextValue(Idx, LIS.getVNInfoAllocator()); 382 ValueForcePair(VNI, false))); 387 return VNI; 397 // This is a complex mapping, add liveness for VNI 398 SlotIndex Def = VNI->def [all...] |
MachineVerifier.cpp | 847 if (const VNInfo *VNI = LI.getVNInfoAt(DefIdx)) { 848 assert(VNI && "NULL valno is not allowed"); 849 if (VNI->def != DefIdx && !MO->isEarlyClobber()) { 851 *OS << "Valno " << VNI->id << " is not defined at " [all...] |
LiveInterval.cpp | 153 VNInfo *VNI = I->valno; 154 if (!Seen.insert(VNI)) 156 assert(!VNI->isUnused() && "Unused valno used by live range"); 157 VNI->id = (unsigned)valnos.size(); 158 valnos.push_back(VNI); 430 VNInfo *VNI = NewVNInfo[i]; 431 if (VNI) { 433 valnos.push_back(VNI); 435 valnos[NumValNos] = VNI; 436 VNI->id = NumValNos++; // Renumber val# [all...] |
LiveRangeEdit.cpp | 45 bool LiveRangeEdit::checkRematerializable(VNInfo *VNI, 52 remattable_.insert(VNI); 59 VNInfo *VNI = *I; 60 if (VNI->isUnused()) 62 MachineInstr *DefMI = LIS.getInstructionFromIndex(VNI->def); 65 checkRematerializable(VNI, DefMI, aa); 244 if (VNInfo *VNI = LI.getVNInfoAt(Idx)) { 247 LI.removeValNo(VNI);
|
RegisterCoalescer.cpp | [all...] |
LiveIntervalAnalysis.cpp | 534 VNInfo *vni = interval.getNextValue(defIdx, VNInfoAllocator); 535 vni->setIsPHIDef(true); 536 LiveRange LR(start, end, vni); 657 // Note: This intentionally picks up the wrong VNI in case of an EC redef. 659 VNInfo *VNI = li->getVNInfoBefore(Idx); 660 if (!VNI) { 672 if (SlotIndex::isSameInstr(VNI->def, Idx)) { 673 Idx = VNI->def; 674 VNI = li->getVNInfoBefore(Idx); 675 assert(VNI && "Early-clobber tied value not available") [all...] |
LiveDebugVariables.cpp | 216 /// range of VNI. 217 /// End points where VNI is no longer live are added to Kills. 220 /// @param LI Restrict liveness to where LI has the value VNI. May be null. 221 /// @param VNI When LI is not null, this is the value to restrict to. 222 /// @param Kills Append end points of VNI's live range to Kills. 226 LiveInterval *LI, const VNInfo *VNI, 486 LiveInterval *LI, const VNInfo *VNI, 498 // Limit to VNI's live range. 500 if (LI && VNI) { 502 if (!Range || Range->valno != VNI) { [all...] |
ScheduleDAGInstrs.cpp | 441 VNInfo *VNI = LI->getVNInfoBefore(UseIdx); 442 // VNI will be valid because MachineOperand::readsReg() is checked by caller. 443 MachineInstr *Def = LIS->getInstructionFromIndex(VNI->def); [all...] |
/external/llvm/include/llvm/CodeGen/ |
LiveInterval.h | 82 void mergeFlags(const VNInfo *VNI) { 83 flags = (flags | VNI->flags) & ~IS_UNUSED; 263 /// containsValue - Returns true if VNI belongs to this interval. 264 bool containsValue(const VNInfo *VNI) const { 265 return VNI && VNI->id < getNumValNums() && VNI == getValNumInfo(VNI->id); 271 VNInfo *VNI = 273 valnos.push_back(VNI); [all...] |
LiveRangeEdit.h | 144 /// checkRematerializable - Manually add VNI to the list of rematerializable 146 bool checkRematerializable(VNInfo *VNI, const MachineInstr *DefMI,
|