HomeSort by: relevance | last modified time | path
    Searched refs:VNI (Results 1 - 24 of 24) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
LiveRangeUtils.h 47 VNInfo *VNI = LR.getValNumInfo(i);
49 VNI->id = SplitLRs[eq-1]->getNumValNums();
50 SplitLRs[eq-1]->valnos.push_back(VNI);
52 VNI->id = j;
53 LR.valnos[j++] = VNI;
LiveRangeCalc.cpp 236 if (VNInfo *VNI = Map[Pred].first) {
237 if (TheVNI && TheVNI != VNI)
239 TheVNI = VNI;
250 VNInfo *VNI = EP.first;
252 setLiveOutValue(Pred, EP.second ? &UndefVNI : VNI);
253 if (VNI) {
254 if (TheVNI && TheVNI != VNI)
256 TheVNI = VNI;
258 if (VNI || EP.second)
401 VNInfo *VNI = LR.getNextValue(Start, *Alloc)
    [all...]
LiveInterval.cpp 94 VNInfo *VNI = ForVNI ? ForVNI : LR->getNextValue(Def, *VNInfoAllocator);
95 impl().insertAtEnd(Segment(Def, Def.getDeadSlot(), VNI));
96 return VNI;
115 VNInfo *VNI = ForVNI ? ForVNI : LR->getNextValue(Def, *VNInfoAllocator);
116 segments().insert(I, Segment(Def, Def.getDeadSlot(), VNI));
117 return VNI;
378 VNInfo *LiveRange::createDeadDef(VNInfo *VNI) {
381 return CalcLiveRangeUtilSet(this).createDeadDef(VNI->def, nullptr, VNI);
383 return CalcLiveRangeUtilVector(this).createDeadDef(VNI->def, nullptr, VNI)
    [all...]
SplitKit.cpp 117 const VNInfo *VNI = CurLI.getVNInfoBefore(MBBEnd);
118 if (!VNI)
123 if (SlotIndex::isSameInstr(VNI->def, LIP.second))
132 if (!SlotIndex::isEarlierInstr(VNI->def, LIP.second) && VNI->def < MBBEnd)
172 for (const VNInfo *VNI : CurLI->valnos)
173 if (!VNI->isPHIDef() && !VNI->isUnused())
174 UseSlots.push_back(VNI->def);
425 void SplitEditor::addDeadDef(LiveInterval &LI, VNInfo *VNI, bool Original)
    [all...]
LiveIntervals.cpp 351 VNInfo *VNI = LR->createDeadDef(Begin, getVNInfoAllocator());
352 (void)VNI;
353 LLVM_DEBUG(dbgs() << ' ' << printRegUnit(Unit, TRI) << '#' << VNI->id);
367 for (VNInfo *VNI : VNIs) {
368 if (VNI->isUnused())
370 SlotIndex Def = VNI->def;
371 LR.addSegment(LiveRange::Segment(Def, Def.getDeadSlot(), VNI));
402 VNInfo *VNI = WorkList.back().second;
407 // Extend the live range for VNI to be live at Idx.
409 assert(ExtVNI == VNI && "Unexpected existing value number")
    [all...]
CalcSpillWeights.cpp 87 const VNInfo *VNI = *I;
88 if (VNI->isUnused())
90 if (VNI->isPHIDef())
93 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def);
114 LiveQueryResult SrcQ = SrcLI.Query(VNI->def);
115 VNI = SrcQ.valueIn();
116 assert(VNI && "Copy from non-existing value");
117 if (VNI->isPHIDef())
119 MI = LIS.getInstructionFromIndex(VNI->def);
RenameIndependentSubregs.cpp 192 const VNInfo *VNI = SR.getVNInfoAt(Pos);
193 if (VNI == nullptr)
197 unsigned LocalID = SRInfo.ConEQ.getEqClass(VNI);
234 const VNInfo *VNI = SR.getVNInfoAt(Pos);
235 if (VNI == nullptr)
239 unsigned LocalID = SRInfo.ConEQ.getEqClass(VNI);
280 const VNInfo &VNI = *SR.valnos[I];
281 unsigned LocalID = SRInfo.ConEQ.getEqClass(&VNI);
319 const VNInfo &VNI = *SR.valnos[I];
320 if (VNI.isUnused() || !VNI.isPHIDef()
    [all...]
InlineSpiller.cpp 107 // Map from pair of (StackSlot and Original VNI) to a set of spills which
108 // have the same stackslot and have equal values defined by Original VNI.
223 void eliminateRedundantSpills(LiveInterval &LI, VNInfo *VNI);
389 VNInfo *VNI = SpillLI.getVNInfoAt(Idx.getRegSlot());
390 assert(VNI && VNI->def == Idx.getRegSlot() && "Not defined by copy");
444 /// eliminateRedundantSpills - SLI:VNI is known to be on the stack. Remove any
446 void InlineSpiller::eliminateRedundantSpills(LiveInterval &SLI, VNInfo *VNI) {
447 assert(VNI && "Missing value");
449 WorkList.push_back(std::make_pair(&SLI, VNI));
    [all...]
LiveIntervalCalc.cpp 124 for (const VNInfo *VNI : SR.valnos) {
125 if (!VNI->isUnused() && !VNI->isPHIDef())
126 MainRange.createDeadDef(VNI->def, *Alloc);
LiveRangeEdit.cpp 70 bool LiveRangeEdit::checkRematerializable(VNInfo *VNI,
77 Remattable.insert(VNI);
82 for (VNInfo *VNI : getParent().valnos) {
83 if (VNI->isUnused())
87 VNInfo *OrigVNI = OrigLI.getVNInfoAt(VNI->def);
366 VNInfo *VNI = NewLI.getNextValue(Idx, LIS.getVNInfoAllocator());
367 NewLI.addSegment(LiveInterval::Segment(Idx, Idx.getDeadSlot(), VNI));
RegisterCoalescer.cpp 1128 for (auto VNI : IntB.valnos) {
1129 if (VNI->isUnused())
1131 if (PVal->def < VNI->def && VNI->def < LIS->getMBBEndIdx(Pred)) {
1476 // VNI is in ValNo - remove any segments in this SubRange that have this ValNo
1636 VNInfo *VNI = DstLI.getVNInfoAt(RegIndex);
1637 DstLI.MergeValueNumberInto(VNI, PrevVNI);
2425 /// Find the ultimate value that VNI was copied from.
2426 std::pair<const VNInfo *, Register> followCopyChain(const VNInfo *VNI) const;
2551 JoinVals::followCopyChain(const VNInfo *VNI) const
    [all...]
MachineVerifier.cpp 232 void report_context(const VNInfo &VNI) const;
528 void MachineVerifier::report_context(const VNInfo &VNI) const {
529 errs() << "- ValNo: " << VNI.id << " (def " << VNI.def << ")\n";
2119 if (const VNInfo *VNI = LR.getVNInfoAt(DefIdx)) {
2120 assert(VNI && "NULL valno is not allowed");
2121 if (VNI->def != DefIdx) {
2127 report_context(*VNI);
2728 const VNInfo *VNI, Register Reg,
2730 if (VNI->isUnused()
    [all...]
PHIElimination.cpp 556 VNInfo *VNI = SrcLI.getVNInfoAt(startIdx);
559 if (VNI && VNI->def != startIdx) {
StackColoring.cpp 897 VNInfo *VNI = Intervals[Slot]->getValNumInfo(0);
899 LiveInterval::Segment(Starts[Slot], ThisIndex, VNI));
913 VNInfo *VNI = Intervals[i]->getValNumInfo(0);
914 Intervals[i]->addSegment(LiveInterval::Segment(Starts[i], EndIdx, VNI));
MachineBasicBlock.cpp 1204 VNInfo *VNI = LI.getVNInfoAt(PrevIndex);
1205 assert(VNI &&
1207 LI.addSegment(LiveInterval::Segment(StartIndex, EndIndex, VNI));
1224 VNInfo *VNI = LI.getVNInfoAt(PrevIndex);
1225 assert(VNI && "LiveInterval should have VNInfo where it is live.");
1226 LI.addSegment(LiveInterval::Segment(StartIndex, EndIndex, VNI));
SplitKit.h 341 /// 4. (VNI, false) The value is mapped to a single new value.
370 /// Add a segment to the interval LI for the value number VNI. If LI has
376 void addDeadDef(LiveInterval &LI, VNInfo *VNI, bool Original);
LiveDebugVariables.cpp 432 /// range of VNI. End points where VNI is no longer live are added to Kills.
442 /// \param [out] Kills Append end points of VNI's live range to Kills.
1085 const VNInfo *VNI = nullptr;
1088 VNI = LI->getVNInfoAt(Idx);
1090 if (LI && VNI)
1091 LIs[LocNo] = {LI, VNI};
MachineScheduler.cpp 1151 VNInfo *VNI;
1155 VNI = LI.getVNInfoBefore(LIS->getMBBEndIdx(BB));
1158 VNI = LRQ.valueIn();
1161 assert(VNI && "No live value at use.");
1170 if (LRQ.valueIn() == VNI) {
TwoAddressInstructionPass.cpp 1434 VNInfo *VNI = LI.getNextValue(LastCopyIdx, LIS->getVNInfoAllocator());
1437 LI.addSegment(LiveInterval::Segment(LastCopyIdx, endIdx, VNI));
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
LiveInterval.h 251 for (const VNInfo *VNI : Other.valnos)
252 createValueCopy(VNI, Allocator);
316 /// containsValue - Returns true if VNI belongs to this range.
317 bool containsValue(const VNInfo *VNI) const {
318 return VNI && VNI->id < getNumValNums() && VNI == getValNumInfo(VNI->id);
324 VNInfo *VNI =
326 valnos.push_back(VNI);
    [all...]
LiveRangeCalc.h 54 /// redundant, it can be computed as: MDT[Indexes.getMBBFromIndex(VNI->def)].
224 /// setLiveOutValue - Indicate that VNI is live out from MBB. The
228 /// VNI may be null only if MBB is a live-through block also passed to
230 void setLiveOutValue(MachineBasicBlock *MBB, VNInfo *VNI) {
232 Map[MBB] = LiveOutPair(VNI, nullptr);
LiveRangeEdit.h 196 /// checkRematerializable - Manually add VNI to the list of rematerializable
198 bool checkRematerializable(VNInfo *VNI, const MachineInstr *DefMI,
LiveIntervals.h 299 /// Returns true if VNI is killed by any PHI-def values in LI.
301 bool hasPHIKill(const LiveInterval &LI, const VNInfo *VNI) const;
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
PDBFileBuilder.cpp 109 uint32_t VNI = getStringTableBuilder().insert(VName);
114 Desc.VNameIndex = VNI;

Completed in 83 milliseconds