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

  /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 117 SibValueInfo(unsigned Reg, VNInfo *VNI)
119 SpillReg(Reg), SpillVNI(VNI), SpillMBB(0), DefMI(0) {}
165 void propagateSiblingValue(SibValueMap::iterator, VNInfo *VNI = 0);
169 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 350 assert(Edit->getParent().getVNInfoAt(Idx) == ParentVNI && "Bad Parent VNI");
354 VNInfo *VNI = LI->getNextValue(Idx, 0, LIS.getVNInfoAllocator());
359 ValueForcePair(VNI, false)));
364 return VNI;
374 // This is a complex mapping, add liveness for VNI
375 SlotIndex Def = VNI->def;
376 LI->addRange(LiveRange(Def, Def.getNextSlot(), VNI));
378 return VNI;
384 VNInfo *VNI = VFP.getPointer();
388 if (!VNI) {
    [all...]
MachineVerifier.cpp 716 if (const VNInfo *VNI = LI.getVNInfoAt(DefIdx)) {
717 assert(VNI && "NULL valno is not allowed");
718 if (VNI->def != DefIdx && !MO->isEarlyClobber()) {
720 *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);
427 VNInfo *VNI = NewVNInfo[i];
428 if (VNI) {
430 valnos.push_back(VNI);
432 valnos[NumValNos] = VNI;
433 VNI->id = NumValNos++; // Renumber val#
    [all...]
LiveRangeEdit.cpp 44 bool LiveRangeEdit::checkRematerializable(VNInfo *VNI,
52 remattable_.insert(VNI);
61 VNInfo *VNI = *I;
62 if (VNI->isUnused())
64 MachineInstr *DefMI = lis.getInstructionFromIndex(VNI->def);
67 checkRematerializable(VNI, DefMI, tii, aa);
262 if (VNInfo *VNI = LI.getVNInfoAt(Idx)) {
265 LI.removeValNo(VNI);
RegisterCoalescer.cpp     [all...]
LiveIntervalAnalysis.cpp 659 VNInfo *vni = local
661 vni->setIsPHIDef(true);
662 LiveRange LR(start, end, vni);
770 VNInfo *VNI = li->getVNInfoAt(Idx);
771 if (!VNI) {
780 if (VNI->def == Idx) {
784 VNI = li->getVNInfoAt(Idx);
785 assert(VNI && "Early-clobber tied value not available");
787 WorkList.push_back(std::make_pair(Idx, VNI));
794 VNInfo *VNI = *I
    [all...]
LiveRangeEdit.h 143 /// checkRematerializable - Manually add VNI to the list of rematerializable
145 bool checkRematerializable(VNInfo *VNI, const MachineInstr *DefMI,
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...]
  /external/llvm/include/llvm/CodeGen/
LiveInterval.h 85 void mergeFlags(const VNInfo *VNI) {
86 flags = (flags | VNI->flags) & ~IS_UNUSED;
290 /// containsValue - Returns true if VNI belongs to this interval.
291 bool containsValue(const VNInfo *VNI) const {
292 return VNI && VNI->id < getNumValNums() && VNI == getValNumInfo(VNI->id);
299 VNInfo *VNI =
301 valnos.push_back(VNI);
    [all...]
LiveIntervalAnalysis.h 399 bool anyKillInMBBAfterIdx(const LiveInterval &li, const VNInfo *VNI,
437 bool rewriteInstructionForSpills(const LiveInterval &li, const VNInfo *VNI,

Completed in 194 milliseconds