/external/llvm/lib/CodeGen/ |
InlineSpiller.cpp | 123 SibValueInfo(unsigned Reg, VNInfo *VNI) 125 SpillReg(Reg), SpillVNI(VNI), SpillMBB(nullptr), DefMI(nullptr) {} 171 void propagateSiblingValue(SibValueMap::iterator, VNInfo *VNI = nullptr); 175 void eliminateRedundantSpills(LiveInterval &LI, VNInfo *VNI); 348 /// @param VNI Dependent value, or NULL to propagate to all saved dependents. 350 VNInfo *VNI) { 353 // When VNI is non-NULL, add it to SVI's deps, and only propagate to that. 355 if (VNI) { 356 FirstDeps.push_back(VNI); 357 SVI->second.Deps.push_back(VNI); [all...] |
LiveRangeCalc.cpp | 205 if (VNInfo *VNI = LiveOut[Pred].first) { 206 if (TheVNI && TheVNI != VNI) 208 TheVNI = VNI; 218 VNInfo *VNI = LR.extendInBlock(Start, End); 219 setLiveOutValue(Pred, VNI); 220 if (VNI) { 221 if (TheVNI && TheVNI != VNI) 223 TheVNI = VNI; 346 VNInfo *VNI = LR.getNextValue(Start, *Alloc); 347 I->Value = VNI; [all...] |
LiveInterval.cpp | 57 VNInfo *VNI = getNextValue(Def, VNInfoAllocator); 58 segments.push_back(Segment(Def, Def.getDeadSlot(), VNI)); 59 return VNI; 75 VNInfo *VNI = getNextValue(Def, VNInfoAllocator); 76 segments.insert(I, Segment(Def, Def.getDeadSlot(), VNI)); 77 return VNI; 208 VNInfo *VNI = I->valno; 209 if (!Seen.insert(VNI)) 211 assert(!VNI->isUnused() && "Unused valno used by live segment"); 212 VNI->id = (unsigned)valnos.size() [all...] |
SplitKit.cpp | 98 const VNInfo *VNI = CurLI->getVNInfoBefore(MBBEnd); 99 if (!VNI) 106 if (!SlotIndex::isEarlierInstr(VNI->def, LSP.second) && VNI->def < MBBEnd) 378 assert(Edit->getParent().getVNInfoAt(Idx) == ParentVNI && "Bad Parent VNI"); 382 VNInfo *VNI = LI->getNextValue(Idx, LIS.getVNInfoAllocator()); 387 ValueForcePair(VNI, false))); 392 return VNI; 402 // This is a complex mapping, add liveness for VNI 403 SlotIndex Def = VNI->def [all...] |
LiveIntervalAnalysis.cpp | 299 VNInfo *VNI = LR->createDeadDef(Begin, getVNInfoAllocator()); 300 (void)VNI; 301 DEBUG(dbgs() << ' ' << PrintRegUnit(Unit, TRI) << '#' << VNI->id); 339 VNInfo *VNI = LRQ.valueIn(); 340 if (!VNI) { 354 WorkList.push_back(std::make_pair(Idx, VNI)); 361 VNInfo *VNI = *I; 362 if (VNI->isUnused()) 364 NewLR.addSegment(LiveRange::Segment(VNI->def, VNI->def.getDeadSlot(), VNI)) [all...] |
MachineVerifier.cpp | [all...] |
CalcSpillWeights.cpp | 80 const VNInfo *VNI = *I; 81 if (VNI->isUnused()) 83 if (VNI->isPHIDef()) 86 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def);
|
LiveRangeCalc.h | 50 /// redundant, it can be computed as: MDT[Indexes.getMBBFromIndex(VNI->def)]. 199 /// setLiveOutValue - Indicate that VNI is live out from MBB. The 203 /// VNI may be null only if MBB is a live-through block also passed to 205 void setLiveOutValue(MachineBasicBlock *MBB, VNInfo *VNI) { 207 LiveOut[MBB] = LiveOutPair(VNI, nullptr);
|
LiveRangeEdit.cpp | 51 bool LiveRangeEdit::checkRematerializable(VNInfo *VNI, 58 Remattable.insert(VNI); 65 VNInfo *VNI = *I; 66 if (VNI->isUnused()) 68 MachineInstr *DefMI = LIS.getInstructionFromIndex(VNI->def); 71 checkRematerializable(VNI, DefMI, aa); 265 if (VNInfo *VNI = LR->getVNInfoAt(Idx)) 266 LR->removeValNo(VNI); 285 if (VNInfo *VNI = LI.getVNInfoAt(Idx)) { 288 LI.removeValNo(VNI); [all...] |
RegisterCoalescer.cpp | [all...] |
LiveDebugVariables.cpp | 222 /// range of VNI. 223 /// End points where VNI is no longer live are added to Kills. 226 /// @param LR Restrict liveness to where LR has the value VNI. May be null. 227 /// @param VNI When LR is not null, this is the value to restrict to. 228 /// @param Kills Append end points of VNI's live range to Kills. 232 LiveRange *LR, const VNInfo *VNI, 502 LiveRange *LR, const VNInfo *VNI, 514 // Limit to VNI's live range. 516 if (LR && VNI) { 518 if (!Segment || Segment->valno != VNI) { [all...] |
PHIElimination.cpp | 474 VNInfo *VNI = SrcLI.getVNInfoAt(startIdx); 477 if (VNI && VNI->def != startIdx) {
|
MachineBasicBlock.cpp | 873 VNInfo *VNI = LI.getVNInfoAt(PrevIndex); 874 assert(VNI && "PHI sources should be live out of their predecessors."); 875 LI.addSegment(LiveInterval::Segment(StartIndex, EndIndex, VNI)); 892 VNInfo *VNI = LI.getVNInfoAt(PrevIndex); 893 assert(VNI && "LiveInterval should have VNInfo where it is live."); 894 LI.addSegment(LiveInterval::Segment(StartIndex, EndIndex, VNI)); [all...] |
ScheduleDAGInstrs.cpp | 431 VNInfo *VNI = LRQ.valueIn(); 433 // VNI will be valid because MachineOperand::readsReg() is checked by caller. 434 assert(VNI && "No value to read by operand"); 435 MachineInstr *Def = LIS->getInstructionFromIndex(VNI->def); [all...] |
MachineScheduler.cpp | [all...] |
TwoAddressInstructionPass.cpp | [all...] |
/external/llvm/include/llvm/CodeGen/ |
LiveInterval.h | 257 /// containsValue - Returns true if VNI belongs to this range. 258 bool containsValue(const VNInfo *VNI) const { 259 return VNI && VNI->id < getNumValNums() && VNI == getValNumInfo(VNI->id); 265 VNInfo *VNI = 267 valnos.push_back(VNI); 268 return VNI; 280 VNInfo *VNI [all...] |
LiveRangeEdit.h | 168 /// checkRematerializable - Manually add VNI to the list of rematerializable 170 bool checkRematerializable(VNInfo *VNI, const MachineInstr *DefMI,
|
LiveIntervalAnalysis.h | 283 /// Returns true if VNI is killed by any PHI-def values in LI. 285 bool hasPHIKill(const LiveInterval &LI, const VNInfo *VNI) const;
|