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

  /external/llvm/lib/CodeGen/
LiveRangeCalc.cpp 114 VNInfo *VNI = OverrideVNI ? OverrideVNI : I->Value;
115 assert(VNI && "No live-in value found");
121 I->LI->addRange(LiveRange(Start, I->Kill, VNI));
123 I->LI->addRange(LiveRange(Start, End, VNI));
127 LiveOut[MBB] = LiveOutPair(VNI, (MachineDomTreeNode *)0);
153 VNInfo *VNI = findReachingDefs(LI, KillMBB, Kill, PhysReg);
156 if (!VNI)
159 updateLiveIns(VNI);
210 if (VNInfo *VNI = LiveOut[Pred].first) {
211 if (TheVNI && TheVNI != VNI)
    [all...]
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.h 49 /// redundant, it can be computed as: MDT[Indexes.getMBBFromIndex(VNI->def)].
122 /// updateLiveIns - Add liveness as specified in the LiveIn vector, using VNI
124 void updateLiveIns(VNInfo *VNI);
201 /// setLiveOutValue - Indicate that VNI is live out from MBB. The
205 /// VNI may be null only if MBB is a live-through block also passed to
207 void setLiveOutValue(MachineBasicBlock *MBB, VNInfo *VNI) {
209 LiveOut[MBB] = LiveOutPair(VNI, (MachineDomTreeNode *)0);
LiveInterval.cpp 57 VNInfo *VNI = getNextValue(Def, VNInfoAllocator);
58 ranges.push_back(LiveRange(Def, Def.getDeadSlot(), VNI));
59 return VNI;
67 VNInfo *VNI = getNextValue(Def, VNInfoAllocator);
68 ranges.insert(I, LiveRange(Def, Def.getDeadSlot(), VNI));
69 return VNI;
216 VNInfo *VNI = I->valno;
217 if (!Seen.insert(VNI))
219 assert(!VNI->isUnused() && "Unused valno used by live range");
220 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...]
MachineVerifier.cpp     [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);
269 if (VNInfo *VNI = LI.getVNInfoAt(Idx)) {
272 LI.removeValNo(VNI);
RegisterCoalescer.cpp     [all...]
LiveIntervalAnalysis.cpp 588 VNInfo *VNI = Intv->createDeadDef(Begin, getVNInfoAllocator());
589 (void)VNI;
590 DEBUG(dbgs() << ' ' << PrintRegUnit(Unit, TRI) << '#' << VNI->id);
624 VNInfo *VNI = LRQ.valueIn();
625 if (!VNI) {
639 WorkList.push_back(std::make_pair(Idx, VNI));
646 VNInfo *VNI = *I;
647 if (VNI->isUnused())
649 NewLI.addRange(LiveRange(VNI->def, VNI->def.getDeadSlot(), VNI))
    [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,
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 462 VNInfo *VNI = LRQ.valueIn();
464 // VNI will be valid because MachineOperand::readsReg() is checked by caller.
465 assert(VNI && "No value to read by operand");
466 MachineInstr *Def = LIS->getInstructionFromIndex(VNI->def);
    [all...]
  /external/llvm/include/llvm/CodeGen/
LiveInterval.h 225 /// containsValue - Returns true if VNI belongs to this interval.
226 bool containsValue(const VNInfo *VNI) const {
227 return VNI && VNI->id < getNumValNums() && VNI == getValNumInfo(VNI->id);
233 VNInfo *VNI =
235 valnos.push_back(VNI);
236 return VNI;
248 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 249 /// Returns true if VNI is killed by any PHI-def values in LI.
251 bool hasPHIKill(const LiveInterval &LI, const VNInfo *VNI) const;

Completed in 209 milliseconds