HomeSort by relevance Sort by last modified time
    Searched refs:VNI (Results 1 - 18 of 18) sorted by null

  /external/llvm/lib/CodeGen/
InlineSpiller.cpp 117 SibValueInfo(unsigned Reg, VNInfo *VNI)
119 SpillReg(Reg), SpillVNI(VNI), SpillMBB(0), DefMI(0) {}
164 void propagateSiblingValue(SibValueMap::iterator, VNInfo *VNI = 0);
168 void eliminateRedundantSpills(LiveInterval &LI, VNInfo *VNI);
341 /// @param VNI Dependent value, or NULL to propagate to all saved dependents.
343 VNInfo *VNI) {
344 // When VNI is non-NULL, add it to SVI's deps, and only propagate to that.
346 if (VNI) {
347 FirstDeps.push_back(VNI);
348 SVI->second.Deps.push_back(VNI);
    [all...]
LiveRangeCalc.cpp 211 if (VNInfo *VNI = LiveOut[Pred].first) {
212 if (TheVNI && TheVNI != VNI)
214 TheVNI = VNI;
224 VNInfo *VNI = LI->extendInBlock(Start, End);
225 setLiveOutValue(Pred, VNI);
226 if (VNI) {
227 if (TheVNI && TheVNI != VNI)
229 TheVNI = VNI;
351 VNInfo *VNI = I->LI->getNextValue(Start, *Alloc);
352 I->Value = VNI;
    [all...]
LiveInterval.cpp 57 VNInfo *VNI = getNextValue(Def, VNInfoAllocator);
58 ranges.push_back(LiveRange(Def, Def.getDeadSlot(), VNI));
59 return VNI;
75 VNInfo *VNI = getNextValue(Def, VNInfoAllocator);
76 ranges.insert(I, LiveRange(Def, Def.getDeadSlot(), VNI));
77 return VNI;
209 VNInfo *VNI = I->valno;
210 if (!Seen.insert(VNI))
212 assert(!VNI->isUnused() && "Unused valno used by live range");
213 VNI->id = (unsigned)valnos.size()
    [all...]
SplitKit.cpp 97 const VNInfo *VNI = CurLI->getVNInfoBefore(MBBEnd);
98 if (!VNI)
105 if (!SlotIndex::isEarlierInstr(VNI->def, LSP.second) && VNI->def < MBBEnd)
377 assert(Edit->getParent().getVNInfoAt(Idx) == ParentVNI && "Bad Parent VNI");
381 VNInfo *VNI = LI->getNextValue(Idx, LIS.getVNInfoAllocator());
386 ValueForcePair(VNI, false)));
391 return VNI;
401 // This is a complex mapping, add liveness for VNI
402 SlotIndex Def = VNI->def
    [all...]
LiveIntervalAnalysis.cpp 288 VNInfo *VNI = Intv->createDeadDef(Begin, getVNInfoAllocator());
289 (void)VNI;
290 DEBUG(dbgs() << ' ' << PrintRegUnit(Unit, TRI) << '#' << VNI->id);
324 VNInfo *VNI = LRQ.valueIn();
325 if (!VNI) {
339 WorkList.push_back(std::make_pair(Idx, VNI));
346 VNInfo *VNI = *I;
347 if (VNI->isUnused())
349 NewLI.addRange(LiveRange(VNI->def, VNI->def.getDeadSlot(), VNI))
    [all...]
MachineVerifier.cpp     [all...]
LiveRangeCalc.h 50 /// redundant, it can be computed as: MDT[Indexes.getMBBFromIndex(VNI->def)].
204 /// setLiveOutValue - Indicate that VNI is live out from MBB. The
208 /// VNI may be null only if MBB is a live-through block also passed to
210 void setLiveOutValue(MachineBasicBlock *MBB, VNInfo *VNI) {
212 LiveOut[MBB] = LiveOutPair(VNI, (MachineDomTreeNode *)0);
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);
276 if (VNInfo *VNI = LI.getVNInfoAt(Idx)) {
279 LI.removeValNo(VNI);
RegisterCoalescer.cpp     [all...]
CalcSpillWeights.cpp 95 const VNInfo *VNI = *I;
96 if (VNI->isUnused())
98 if (VNI->isPHIDef())
101 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def);
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,
490 LiveInterval *LI, const VNInfo *VNI,
502 // Limit to VNI's live range.
504 if (LI && VNI) {
506 if (!Range || Range->valno != VNI) {
    [all...]
MachineBasicBlock.cpp 825 VNInfo *VNI = LI.getVNInfoAt(PrevIndex);
826 assert(VNI && "PHI sources should be live out of their predecessors.");
827 LI.addRange(LiveRange(StartIndex, EndIndex, VNI));
844 VNInfo *VNI = LI.getVNInfoAt(PrevIndex);
845 assert(VNI && "LiveInterval should have VNInfo where it is live.");
846 LI.addRange(LiveRange(StartIndex, EndIndex, VNI));
    [all...]
PHIElimination.cpp 470 VNInfo *VNI = SrcLI.getVNInfoAt(startIdx);
473 if (VNI && VNI->def != startIdx) {
ScheduleDAGInstrs.cpp 411 VNInfo *VNI = LRQ.valueIn();
413 // VNI will be valid because MachineOperand::readsReg() is checked by caller.
414 assert(VNI && "No value to read by operand");
415 MachineInstr *Def = LIS->getInstructionFromIndex(VNI->def);
    [all...]
TwoAddressInstructionPass.cpp     [all...]
  /external/llvm/include/llvm/CodeGen/
LiveInterval.h 223 /// containsValue - Returns true if VNI belongs to this interval.
224 bool containsValue(const VNInfo *VNI) const {
225 return VNI && VNI->id < getNumValNums() && VNI == getValNumInfo(VNI->id);
231 VNInfo *VNI =
233 valnos.push_back(VNI);
234 return VNI;
246 VNInfo *VNI
    [all...]
LiveRangeEdit.h 147 /// checkRematerializable - Manually add VNI to the list of rematerializable
149 bool checkRematerializable(VNInfo *VNI, const MachineInstr *DefMI,
LiveIntervalAnalysis.h 257 /// Returns true if VNI is killed by any PHI-def values in LI.
259 bool hasPHIKill(const LiveInterval &LI, const VNInfo *VNI) const;

Completed in 320 milliseconds