Home
last modified time | relevance | path

Searched refs:valno (Results 1 – 25 of 42) sorted by relevance

12

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DLiveInterval.cpp153 VNInfo *VNI = I->valno; in RenumberValues()
168 VNInfo *ValNo = I->valno; in extendIntervalEndTo()
173 assert(MergeTo->valno == ValNo && "Cannot merge with differing values!"); in extendIntervalEndTo()
185 if (Next != ranges.end() && Next->start <= I->end && Next->valno == ValNo) { in extendIntervalEndTo()
198 VNInfo *ValNo = I->valno; in extendIntervalStartTo()
208 assert(MergeTo->valno == ValNo && "Cannot merge with differing values!"); in extendIntervalStartTo()
214 if (MergeTo->end >= NewStart && MergeTo->valno == ValNo) { in extendIntervalStartTo()
236 if (LR.valno == B->valno) { in addRangeFrom()
253 if (LR.valno == it->valno) { in addRangeFrom()
290 return I->valno; in extendInBlock()
[all …]
DRegisterCoalescer.cpp432 VNInfo *BValNo = BLR->valno; in AdjustCopiesBackFrom()
445 VNInfo *AValNo = ALR->valno; in AdjustCopiesBackFrom()
536 if (BValNo != ValLR->valno) { in AdjustCopiesBackFrom()
540 IntB.MergeValueNumberInto(BValNo, ValLR->valno); in AdjustCopiesBackFrom()
542 ValLR->valno->setHasPHIKill(true); in AdjustCopiesBackFrom()
575 if (AI->valno != AValNo) continue; in HasOtherReachingDefs()
581 if (BI->valno == BValNo) in HasOtherReachingDefs()
702 if (ULR->valno == AValNo && JoinedCopies.count(UseMI)) in RemoveCopyByCommutingDef()
752 if (ULR == IntA.end() || ULR->valno != AValNo) in RemoveCopyByCommutingDef()
785 if (AI->valno != AValNo) continue; in RemoveCopyByCommutingDef()
[all …]
DSplitKit.cpp194 assert(LVI->start == LVI->valno->def && "Dangling LiveRange start"); in calcLiveBlockInfo()
226 assert(LVI->start == LVI->valno->def && "Dangling LiveRange start"); in calcLiveBlockInfo()
811 VNInfo *ParentVNI = ParentI->valno; in transferValues()
998 if (LII->end != LII->valno->def.getNextSlot()) in deleteRematVictims()
1000 MachineInstr *MI = LIS.getInstructionFromIndex(LII->valno->def); in deleteRematVictims()
DSplitter.cpp146 VNInfo *newVal = getNewVNI(preHeaderRange->valno); in applyIncoming()
181 outRange->valno->def = ls.lis->getInvalidIndex(); in applyOutgoing()
204 getNewVNI(lr.valno)); in copyRange()
DLiveIntervalAnalysis.cpp277 MachineInstr *DefMI = getInstructionFromIndex(OldLR->valno->def); in isPartialRedef()
431 VNInfo *OldValNo = OldLR->valno; in handleVirtualRegisterDef()
1547 bool CanFold = rewriteInstructionForSpills(li, I->valno, TrySplit, in rewriteInstructionsForSpills()
1570 HasKill = anyKillInMBBAfterIdx(li, I->valno, MBB, index.getDefIndex()); in rewriteInstructionsForSpills()
1874 MachineInstr *ReMatDefMI = ReMatDefs[I->valno->id]; in addIntervalsForSpills()
1875 MachineInstr *ReMatOrigDefMI = ReMatOrigDefs[I->valno->id]; in addIntervalsForSpills()
1877 bool CanDelete = ReMatDelete[I->valno->id]; in addIntervalsForSpills()
DStrongPHIElimination.cpp354 NewVNI = NewLI.createValueCopy(DestLR->valno, LI->getVNInfoAllocator()); in runOnMachineFunction()
814 VNInfo *OldVN = OldLR.valno; in MergeLIsAndRename()
/external/llvm/lib/CodeGen/
DLiveInterval.cpp74 assert(S->valno->def == S->start && "Inconsistent existing value def"); in createDeadDef()
83 S->start = S->valno->def = Def; in createDeadDef()
84 return S->valno; in createDeadDef()
104 return I->valno; in extendInBlock()
114 VNInfo *ValNo = I->valno; in extendSegmentEndTo()
119 assert(MergeTo->valno == ValNo && "Cannot merge with differing values!"); in extendSegmentEndTo()
127 MergeTo->valno == ValNo) { in extendSegmentEndTo()
142 VNInfo *ValNo = I->valno; in extendSegmentStartTo()
152 assert(MergeTo->valno == ValNo && "Cannot merge with differing values!"); in extendSegmentStartTo()
158 if (MergeTo->end >= NewStart && MergeTo->valno == ValNo) { in extendSegmentStartTo()
[all …]
DLiveRangeUtils.h31 while (J != E && VNIClasses[J->valno->id] == 0) in DistributeRange()
34 if (unsigned eq = VNIClasses[I->valno->id]) { in DistributeRange()
DLiveIntervalAnalysis.cpp1065 VNInfo *OldIdxVNI = OldIdxOut->valno; in handleMoveDown()
1106 INext->valno->def = INext->start; in handleMoveDown()
1135 *NewSegment = LiveRange::Segment(NewIdxDef, Prev->end, Prev->valno); in handleMoveDown()
1136 Prev->valno->def = NewIdxDef; in handleMoveDown()
1145 assert(DefVNI != AfterNewIdx->valno); in handleMoveDown()
1155 assert(AfterNewIdx->valno != OldIdxVNI && "Multiple defs of value?"); in handleMoveDown()
1215 VNInfo *OldIdxVNI = OldIdxOut->valno; in handleMoveUp()
1223 assert(NewIdxOut->valno != OldIdxVNI && in handleMoveUp()
1231 LR.removeValNo(NewIdxOut->valno); in handleMoveUp()
1250 OldIdxIn->valno); in handleMoveUp()
[all …]
DRegisterCoalescer.cpp500 VNInfo *BValNo = BS->valno; in adjustCopiesBackFrom()
512 VNInfo *AValNo = AS->valno; in adjustCopiesBackFrom()
553 if (BValNo != ValS->valno) in adjustCopiesBackFrom()
554 IntB.MergeValueNumberInto(BValNo, ValS->valno); in adjustCopiesBackFrom()
595 if (ASeg.valno != AValNo) continue; in hasOtherReachingDefs()
601 if (BI->valno == BValNo) in hasOtherReachingDefs()
618 if (S.valno != SrcValNo) in addSegmentsWithValNo()
707 if (US == IntA.end() || US->valno != AValNo) in removeCopyByCommutingDef()
762 if (US->valno != AValNo) in removeCopyByCommutingDef()
2272 << OtherI->valno->id << '@' << OtherI->start << '\n'); in taintExtent()
[all …]
DSplitKit.cpp232 assert(LVI->start == LVI->valno->def && "Dangling Segment start"); in calcLiveBlockInfo()
264 assert(LVI->start == LVI->valno->def && "Dangling Segment start"); in calcLiveBlockInfo()
926 VNInfo *ParentVNI = S.valno; in transferValues()
1116 if (S.end != S.valno->def.getDeadSlot()) in deleteRematVictims()
1118 if (S.valno->isPHIDef()) in deleteRematVictims()
1120 MachineInstr *MI = LIS.getInstructionFromIndex(S.valno->def); in deleteRematVictims()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DLiveInterval.cpp102 assert((!ForVNI || ForVNI == S->valno) && "Value number mismatch"); in createDeadDef()
103 assert(S->valno->def == S->start && "Inconsistent existing value def"); in createDeadDef()
112 S->start = S->valno->def = Def; in createDeadDef()
113 return S->valno; in createDeadDef()
133 return I->valno; in extendInBlock()
152 return std::make_pair(I->valno, false); in extendInBlock()
162 VNInfo *ValNo = I->valno; in extendSegmentEndTo()
167 assert(MergeTo->valno == ValNo && "Cannot merge with differing values!"); in extendSegmentEndTo()
175 MergeTo->valno == ValNo) { in extendSegmentEndTo()
190 VNInfo *ValNo = I->valno; in extendSegmentStartTo()
[all …]
DLiveIntervals.cpp1109 VNInfo *OldIdxVNI = OldIdxOut->valno; in handleMoveDown()
1150 INext->valno->def = INext->start; in handleMoveDown()
1179 *NewSegment = LiveRange::Segment(NewIdxDef, Prev->end, Prev->valno); in handleMoveDown()
1180 Prev->valno->def = NewIdxDef; in handleMoveDown()
1189 assert(DefVNI != AfterNewIdx->valno); in handleMoveDown()
1199 assert(AfterNewIdx->valno != OldIdxVNI && "Multiple defs of value?"); in handleMoveDown()
1259 VNInfo *OldIdxVNI = OldIdxOut->valno; in handleMoveUp()
1267 assert(NewIdxOut->valno != OldIdxVNI && in handleMoveUp()
1275 LR.removeValNo(NewIdxOut->valno); in handleMoveUp()
1291 OldIdxVNI = OldIdxIn->valno; in handleMoveUp()
[all …]
DLiveRangeUtils.h31 while (J != E && VNIClasses[J->valno->id] == 0) in DistributeRange()
34 if (unsigned eq = VNIClasses[I->valno->id]) { in DistributeRange()
DLiveRegMatrix.cpp212 VNInfo valno(0, Start); in checkInterference() local
213 LiveRange::Segment Seg(Start, End, &valno); in checkInterference()
DRegisterCoalescer.cpp534 VNInfo *BValNo = BS->valno; in adjustCopiesBackFrom()
546 VNInfo *AValNo = AS->valno; in adjustCopiesBackFrom()
587 if (BValNo != ValS->valno) in adjustCopiesBackFrom()
588 IntB.MergeValueNumberInto(BValNo, ValS->valno); in adjustCopiesBackFrom()
646 if (ASeg.valno != AValNo) continue; in hasOtherReachingDefs()
652 if (BI->valno == BValNo) in hasOtherReachingDefs()
668 if (S.valno != SrcValNo) in addSegmentsWithValNo()
757 if (US == IntA.end() || US->valno != AValNo) in removeCopyByCommutingDef()
812 if (US->valno != AValNo) in removeCopyByCommutingDef()
2634 << OtherI->valno->id << '@' << OtherI->start << '\n'); in taintExtent()
[all …]
DSplitKit.cpp258 assert(LVI->start == LVI->valno->def && "Dangling Segment start"); in calcLiveBlockInfo()
290 assert(LVI->start == LVI->valno->def && "Dangling Segment start"); in calcLiveBlockInfo()
1127 VNInfo *ParentVNI = S.valno; in transferValues()
1413 if (S.end != S.valno->def.getDeadSlot()) in deleteRematVictims()
1415 if (S.valno->isPHIDef()) in deleteRematVictims()
1417 MachineInstr *MI = LIS.getInstructionFromIndex(S.valno->def); in deleteRematVictims()
/external/llvm/include/llvm/CodeGen/
DLiveInterval.h163 VNInfo *valno; // identifier for the value contained in this segment. member
165 Segment() : valno(nullptr) {} in Segment()
168 : start(S), end(E), valno(V) { in Segment()
238 segments.push_back(Segment(S.start, S.end, valnos[S.valno->id])); in LiveRange()
395 return I == end() ? nullptr : I->valno; in getVNInfoAt()
403 return I == end() ? nullptr : I->valno; in getVNInfoBefore()
509 EarlyVal = I->valno; in Query()
527 LateVal = I->valno; in Query()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DLiveInterval.h152 VNInfo *valno; // identifier for the value contained in this interval. member
155 : start(S), end(E), valno(V) { in LiveRange()
324 if (Tmp != LR && Tmp->valno == LR->valno)
411 return I == end() ? 0 : I->valno;
419 return I == end() ? 0 : I->valno;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DLiveInterval.h165 VNInfo *valno = nullptr; // identifier for the value contained in this member
171 : start(S), end(E), valno(V) { in Segment()
251 segments.push_back(Segment(S.start, S.end, valnos[S.valno->id])); in assign()
411 return I == end() ? nullptr : I->valno; in getVNInfoAt()
419 return I == end() ? nullptr : I->valno; in getVNInfoBefore()
544 EarlyVal = I->valno; in Query()
562 LateVal = I->valno; in Query()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dcoalescer-with-subregs-bad-identical.mir4 # Assertion failed: (Id != S.end() && T != S.end() && T->valno == Id->valno), function pruneSubRegV…
Dcoalescer-subranges-another-prune-error.mir4 # Assertion failed: (Id != S.end() && T != S.end() && T->valno == Id->valno), function pruneSubRegV…
/external/llvm/lib/Target/PowerPC/
DPPCVSXFMAMutate.cpp302 if (AI->valno == AddendValNo) in processBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCVSXFMAMutate.cpp303 if (AI->valno == AddendValNo) in processBlock()
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
D2010-02-23-SingleDefPhiJoin.ll8 ; will detect an infinity valno loop.

12