Home
last modified time | relevance | path

Searched refs:VNInfo (Results 1 – 23 of 23) sorted by relevance

/external/llvm/include/llvm/CodeGen/
DLiveInterval.h44 class VNInfo {
55 VNInfo(unsigned i, SlotIndex d) in VNInfo() function
60 VNInfo(unsigned i, const VNInfo &orig) in VNInfo() function
65 void copyFrom(VNInfo &src) { in copyFrom()
86 VNInfo *const EarlyVal;
87 VNInfo *const LateVal;
92 LiveQueryResult(VNInfo *EarlyVal, VNInfo *LateVal, SlotIndex EndPoint, in LiveQueryResult()
100 VNInfo *valueIn() const { in valueIn()
118 VNInfo *valueOut() const { in valueOut()
124 VNInfo *valueDefined() const { in valueDefined()
[all …]
DLiveRangeEdit.h76 SmallPtrSet<const VNInfo*,4> Remattable;
80 SmallPtrSet<const VNInfo*,4> Rematted;
170 bool checkRematerializable(VNInfo *VNI, const MachineInstr *DefMI,
175 VNInfo *ParentVNI; // parent_'s value at the remat location.
177 explicit Remat(VNInfo *ParentVNI) : ParentVNI(ParentVNI), OrigMI(nullptr) {} in Remat()
200 void markRematerialized(const VNInfo *ParentVNI) { in markRematerialized()
205 bool didRematerialize(const VNInfo *ParentVNI) const { in didRematerialize()
DLiveStackAnalysis.h32 VNInfo::Allocator VNInfoAllocator;
86 VNInfo::Allocator& getVNInfoAllocator() { return VNInfoAllocator; } in getVNInfoAllocator()
DLiveIntervalAnalysis.h63 VNInfo::Allocator VNInfoAllocator;
267 VNInfo::Allocator& getVNInfoAllocator() { return VNInfoAllocator; } in getVNInfoAllocator()
285 bool hasPHIKill(const LiveInterval &LI, const VNInfo *VNI) const;
/external/llvm/lib/CodeGen/
DSplitKit.h37 class VNInfo; variable
273 typedef PointerIntPair<VNInfo*, 1> ValueForcePair;
307 VNInfo *defValue(unsigned RegIdx, const VNInfo *ParentVNI, SlotIndex Idx);
313 void forceRecompute(unsigned RegIdx, const VNInfo *ParentVNI);
317 VNInfo *defFromParent(unsigned RegIdx,
318 VNInfo *ParentVNI,
325 void removeBackCopies(SmallVectorImpl<VNInfo*> &Copies);
DLiveInterval.cpp52 VNInfo *LiveRange::createDeadDef(SlotIndex Def, in createDeadDef()
53 VNInfo::Allocator &VNInfoAllocator) { in createDeadDef()
57 VNInfo *VNI = getNextValue(Def, VNInfoAllocator); in createDeadDef()
75 VNInfo *VNI = getNextValue(Def, VNInfoAllocator); in createDeadDef()
192 void LiveRange::markValNoForDeletion(VNInfo *ValNo) { in markValNoForDeletion()
205 SmallPtrSet<VNInfo*, 8> Seen; in RenumberValues()
208 VNInfo *VNI = I->valno; in RenumberValues()
222 VNInfo *ValNo = I->valno; in extendSegmentEndTo()
252 VNInfo *ValNo = I->valno; in extendSegmentStartTo()
332 VNInfo *LiveRange::extendInBlock(SlotIndex StartIdx, SlotIndex Kill) { in extendInBlock()
[all …]
DInlineSpiller.cpp87 SmallPtrSet<VNInfo*, 8> UsedValues;
106 VNInfo *SpillVNI;
121 TinyPtrVector<VNInfo*> Deps;
123 SibValueInfo(unsigned Reg, VNInfo *VNI) in SibValueInfo()
133 typedef DenseMap<VNInfo*, SibValueInfo> SibValueMap;
170 MachineInstr *traceSiblingValue(unsigned, VNInfo*, VNInfo*);
171 void propagateSiblingValue(SibValueMap::iterator, VNInfo *VNI = nullptr);
175 void eliminateRedundantSpills(LiveInterval &LI, VNInfo *VNI);
177 void markValueUsed(LiveInterval*, VNInfo*);
350 VNInfo *VNI) { in propagateSiblingValue()
[all …]
DLiveRangeCalc.h41 VNInfo::Allocator *Alloc;
51 typedef std::pair<VNInfo*, MachineDomTreeNode*> LiveOutPair;
92 VNInfo *Value;
146 VNInfo::Allocator*);
205 void setLiveOutValue(MachineBasicBlock *MBB, VNInfo *VNI) { in setLiveOutValue()
DSplitKit.cpp98 const VNInfo *VNI = CurLI->getVNInfoBefore(MBBEnd); in computeLastSplitPoint()
373 VNInfo *SplitEditor::defValue(unsigned RegIdx, in defValue()
374 const VNInfo *ParentVNI, in defValue()
382 VNInfo *VNI = LI->getNextValue(Idx, LIS.getVNInfoAllocator()); in defValue()
395 if (VNInfo *OldVNI = InsP.first->second.getPointer()) { in defValue()
409 void SplitEditor::forceRecompute(unsigned RegIdx, const VNInfo *ParentVNI) { in forceRecompute()
412 VNInfo *VNI = VFP.getPointer(); in forceRecompute()
430 VNInfo *SplitEditor::defFromParent(unsigned RegIdx, in defFromParent()
431 VNInfo *ParentVNI, in defFromParent()
484 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Idx); in enterIntvBefore()
[all …]
DLiveIntervalAnalysis.cpp299 VNInfo *VNI = LR->createDeadDef(Begin, getVNInfoAllocator()); in computeLiveInRegUnits()
325 SmallVector<std::pair<SlotIndex, VNInfo*>, 16> WorkList; in shrinkToUses()
339 VNInfo *VNI = LRQ.valueIn(); in shrinkToUses()
351 if (VNInfo *DefVNI = LRQ.valueDefined()) in shrinkToUses()
361 VNInfo *VNI = *I; in shrinkToUses()
368 SmallPtrSet<VNInfo*, 8> UsedPHIs; in shrinkToUses()
373 VNInfo *VNI = WorkList.back().second; in shrinkToUses()
379 if (VNInfo *ExtVNI = NewLR.extendInBlock(BlockStart, Idx)) { in shrinkToUses()
392 if (VNInfo *PVNI = li->getVNInfoBefore(Stop)) in shrinkToUses()
430 VNInfo *VNI = *I; in computeDeadValues()
[all …]
DRegisterCoalescer.cpp159 VNInfo *AValNo, VNInfo *BValNo);
440 VNInfo *BValNo = BS->valno; in adjustCopiesBackFrom()
452 VNInfo *AValNo = AS->valno; in adjustCopiesBackFrom()
519 VNInfo *AValNo, in hasOtherReachingDefs()
520 VNInfo *BValNo) { in hasOtherReachingDefs()
581 VNInfo *BValNo = IntB.getVNInfoAt(CopyIdx); in removeCopyByCommutingDef()
586 VNInfo *AValNo = IntA.getVNInfoAt(CopyIdx.getRegSlot(true)); in removeCopyByCommutingDef()
700 VNInfo *DVNI = IntB.getVNInfoAt(DefIdx); in removeCopyByCommutingDef()
713 VNInfo *ValNo = BValNo; in removeCopyByCommutingDef()
743 VNInfo *ValNo = SrcInt.Query(CopyIdx).valueIn(); in reMaterializeTrivialDef()
[all …]
DLiveRangeCalc.cpp25 VNInfo::Allocator *VNIA) { in reset()
178 VNInfo *TheVNI = nullptr; in findReachingDefs()
205 if (VNInfo *VNI = LiveOut[Pred].first) { in findReachingDefs()
218 VNInfo *VNI = LR.extendInBlock(Start, End); in findReachingDefs()
346 VNInfo *VNI = LR.getNextValue(Start, *Alloc); in updateSSA()
DLiveRangeEdit.cpp51 bool LiveRangeEdit::checkRematerializable(VNInfo *VNI, in checkRematerializable()
65 VNInfo *VNI = *I; in scanRemattable()
102 const VNInfo *OVNI = li.getVNInfoAt(OrigIdx); in allUsesAvailableAt()
265 if (VNInfo *VNI = LR->getVNInfoAt(Idx)) in eliminateDeadDef()
285 if (VNInfo *VNI = LI.getVNInfoAt(Idx)) { in eliminateDeadDef()
DLiveDebugVariables.cpp232 LiveRange *LR, const VNInfo *VNI,
502 LiveRange *LR, const VNInfo *VNI, in extendDef()
574 SmallVector<std::pair<LiveInterval*, const VNInfo*>, 8> CopyValues; in addDefsFromCopies()
599 const VNInfo *DstVNI = DstLI->getVNInfoAt(Idx.getRegSlot()); in addDefsFromCopies()
614 const VNInfo *DstVNI = CopyValues[j].second; in addDefsFromCopies()
660 const VNInfo *VNI = nullptr; in computeIntervals()
675 const VNInfo *VNI = LR->getVNInfoAt(Idx); in computeIntervals()
DPHIElimination.cpp317 VNInfo *IncomingVNI = IncomingLI.getVNInfoAt(MBBStartIndex); in LowerPHINode()
333 VNInfo *OrigDestVNI = DestLI.getVNInfoAt(MBBStartIndex); in LowerPHINode()
343 VNInfo *DestVNI = DestLI.getVNInfoAt(DestCopyIndex.getRegSlot()); in LowerPHINode()
474 VNInfo *VNI = SrcLI.getVNInfoAt(startIdx); in LowerPHINode()
DCalcSpillWeights.cpp80 const VNInfo *VNI = *I; in isRematerializable()
DMachineVerifier.cpp232 void verifyLiveRangeValue(const LiveRange&, const VNInfo*, unsigned);
1088 if (const VNInfo *VNI = LI.getVNInfoAt(DefIdx)) { in checkLiveness()
1352 const VNInfo *VNI, in verifyLiveRangeValue()
1357 const VNInfo *DefVNI = LR.getVNInfoAt(VNI->def); in verifyLiveRangeValue()
1440 const VNInfo *VNI = S.valno; in verifyLiveRangeSegment()
1565 const VNInfo *PVNI = LR.getVNInfoBefore(PEnd); in verifyLiveRangeSegment()
DStackColoring.cpp119 VNInfo::Allocator VNInfoAllocator;
425 VNInfo *ValNum = Intervals[i]->getValNumInfo(0); in calculateLiveIntervals()
DMachineBasicBlock.cpp873 VNInfo *VNI = LI.getVNInfoAt(PrevIndex); in SplitCriticalEdge()
892 VNInfo *VNI = LI.getVNInfoAt(PrevIndex); in SplitCriticalEdge()
DMachineScheduler.cpp948 VNInfo *VNI; in updatePressureDiffs()
1120 const VNInfo *DefVNI = LI.getVNInfoBefore(LIS->getMBBEndIdx(BB)); in computeCyclicCriticalPath()
1487 const VNInfo *LastLocalVN = LocalLI->getVNInfoBefore(LocalLI->endIndex()); in constrainLocalCopy()
DTwoAddressInstructionPass.cpp1417 VNInfo *VNI = LI.getNextValue(LastCopyIdx, LIS->getVNInfoAllocator()); in processTiedPairs()
DScheduleDAGInstrs.cpp431 VNInfo *VNI = LRQ.valueIn(); in addVRegUseDeps()
/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp1655 VNInfo *AddendValNo = in processBlock()
1771 VNInfo *FMAValNo = FMAInt.getVNInfoAt(FMAIdx.getRegSlot()); in processBlock()
1796 VNInfo *NewFMAValNo = in processBlock()