Home
last modified time | relevance | path

Searched refs:Undefs (Results 1 – 25 of 33) sorted by relevance

12

/external/llvm-project/llvm/lib/CodeGen/
DLiveRangeCalc.cpp90 ArrayRef<SlotIndex> Undefs) { in extend() argument
99 auto EP = LR.extendInBlock(Undefs, Indexes->getMBBStartIdx(UseMBB), Use); in extend()
107 if (findReachingDefs(LR, *UseMBB, Use, PhysReg, Undefs)) in extend()
124 bool LiveRangeCalc::isDefOnEntry(LiveRange &LR, ArrayRef<SlotIndex> Undefs, in isDefOnEntry() argument
170 if (LR.isUndefIn(Undefs, Seg.end, End)) in isDefOnEntry()
178 if (UndefOnEntry[N] || LR.isUndefIn(Undefs, Begin, End)) { in isDefOnEntry()
196 ArrayRef<SlotIndex> Undefs) { in findReachingDefs() argument
250 auto EP = LR.extendInBlock(Undefs, Start, End); in findReachingDefs()
273 if (!Undefs.empty() && FoundUndef) in findReachingDefs()
317 if (!Undefs.empty() && in findReachingDefs()
[all …]
DLiveIntervalCalc.cpp149 SmallVector<SlotIndex, 4> Undefs; in extendToUses() local
151 LI->computeSubRangeUndefs(Undefs, Mask, *MRI, *Indexes); in extendToUses()
203 extend(LR, UseIdx, Reg, Undefs); in extendToUses()
DLiveInterval.cpp135 std::pair<VNInfo*,bool> extendInBlock(ArrayRef<SlotIndex> Undefs, in extendInBlock() argument
142 return std::make_pair(nullptr, LR->isUndefIn(Undefs, StartIdx, BeforeUse)); in extendInBlock()
145 return std::make_pair(nullptr, LR->isUndefIn(Undefs, StartIdx, BeforeUse)); in extendInBlock()
147 if (LR->isUndefIn(Undefs, I->end, BeforeUse)) in extendInBlock()
564 std::pair<VNInfo*,bool> LiveRange::extendInBlock(ArrayRef<SlotIndex> Undefs, in extendInBlock() argument
568 return CalcLiveRangeUtilSet(this).extendInBlock(Undefs, StartIdx, Kill); in extendInBlock()
570 return CalcLiveRangeUtilVector(this).extendInBlock(Undefs, StartIdx, Kill); in extendInBlock()
976 void LiveInterval::computeSubRangeUndefs(SmallVectorImpl<SlotIndex> &Undefs, in computeSubRangeUndefs() argument
995 Undefs.push_back(Pos); in computeSubRangeUndefs()
DSplitKit.cpp1255 ArrayRef<SlotIndex> Undefs) { in extendPHIRange() argument
1267 LIC.extend(LR, End, /*PhysReg=*/0, Undefs); in extendPHIRange()
1291 SmallVector<SlotIndex, 4> Undefs; in extendPHIKillRanges() local
1307 Undefs.clear(); in extendPHIKillRanges()
1308 LI.computeSubRangeUndefs(Undefs, PS.LaneMask, MRI, *LIS.getSlotIndexes()); in extendPHIKillRanges()
1309 extendPHIRange(B, SubLIC, S, PS.LaneMask, Undefs); in extendPHIKillRanges()
1403 SmallVector<SlotIndex, 4> Undefs; in rewriteAssigned() local
1404 LI.computeSubRangeUndefs(Undefs, S.LaneMask, MRI, *LIS.getSlotIndexes()); in rewriteAssigned()
1405 SubLIC.extend(S, EP.Next, 0, Undefs); in rewriteAssigned()
DLiveIntervals.cpp443 SmallVector<SlotIndex,8> Undefs; in extendSegmentsToUses() local
444 LI.computeSubRangeUndefs(Undefs, LaneMask, *MRI, *Indexes); in extendSegmentsToUses()
445 assert(LiveRangeCalc::isJointlyDominated(Pred, Undefs, *Indexes) && in extendSegmentsToUses()
632 ArrayRef<SlotIndex> Undefs) { in extendToIndices() argument
636 LICalc->extend(LR, Idx, /*PhysReg=*/0, Undefs); in extendToIndices()
DSplitKit.h427 ArrayRef<SlotIndex> Undefs);
DMachineVerifier.cpp2852 SmallVector<SlotIndex, 4> Undefs; in verifyLiveRangeSegment() local
2855 OwnerLI.computeSubRangeUndefs(Undefs, LaneMask, *MRI, *Indexes); in verifyLiveRangeSegment()
2882 if (LiveRangeCalc::isJointlyDominated(Pred, Undefs, *Indexes)) in verifyLiveRangeSegment()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLiveRangeCalc.cpp158 SmallVector<SlotIndex, 4> Undefs; in extendToUses() local
160 LI->computeSubRangeUndefs(Undefs, Mask, *MRI, *Indexes); in extendToUses()
212 extend(LR, UseIdx, Reg, Undefs); in extendToUses()
242 ArrayRef<SlotIndex> Undefs) { in extend() argument
251 auto EP = LR.extendInBlock(Undefs, Indexes->getMBBStartIdx(UseMBB), Use); in extend()
259 if (findReachingDefs(LR, *UseMBB, Use, PhysReg, Undefs)) in extend()
276 bool LiveRangeCalc::isDefOnEntry(LiveRange &LR, ArrayRef<SlotIndex> Undefs, in isDefOnEntry() argument
322 if (LR.isUndefIn(Undefs, Seg.end, End)) in isDefOnEntry()
330 if (UndefOnEntry[N] || LR.isUndefIn(Undefs, Begin, End)) { in isDefOnEntry()
348 ArrayRef<SlotIndex> Undefs) { in findReachingDefs() argument
[all …]
DLiveInterval.cpp135 std::pair<VNInfo*,bool> extendInBlock(ArrayRef<SlotIndex> Undefs, in extendInBlock() argument
142 return std::make_pair(nullptr, LR->isUndefIn(Undefs, StartIdx, BeforeUse)); in extendInBlock()
145 return std::make_pair(nullptr, LR->isUndefIn(Undefs, StartIdx, BeforeUse)); in extendInBlock()
147 if (LR->isUndefIn(Undefs, I->end, BeforeUse)) in extendInBlock()
564 std::pair<VNInfo*,bool> LiveRange::extendInBlock(ArrayRef<SlotIndex> Undefs, in extendInBlock() argument
568 return CalcLiveRangeUtilSet(this).extendInBlock(Undefs, StartIdx, Kill); in extendInBlock()
570 return CalcLiveRangeUtilVector(this).extendInBlock(Undefs, StartIdx, Kill); in extendInBlock()
976 void LiveInterval::computeSubRangeUndefs(SmallVectorImpl<SlotIndex> &Undefs, in computeSubRangeUndefs() argument
995 Undefs.push_back(Pos); in computeSubRangeUndefs()
DSplitKit.cpp1243 ArrayRef<SlotIndex> Undefs) { in extendPHIRange() argument
1255 LRC.extend(LR, End, /*PhysReg=*/0, Undefs); in extendPHIRange()
1279 SmallVector<SlotIndex, 4> Undefs; in extendPHIKillRanges() local
1295 Undefs.clear(); in extendPHIKillRanges()
1296 LI.computeSubRangeUndefs(Undefs, PS.LaneMask, MRI, *LIS.getSlotIndexes()); in extendPHIKillRanges()
1297 extendPHIRange(B, SubLRC, S, PS.LaneMask, Undefs); in extendPHIKillRanges()
1391 SmallVector<SlotIndex, 4> Undefs; in rewriteAssigned() local
1392 LI.computeSubRangeUndefs(Undefs, S.LaneMask, MRI, *LIS.getSlotIndexes()); in rewriteAssigned()
1393 SubLRC.extend(S, EP.Next, 0, Undefs); in rewriteAssigned()
DLiveIntervals.cpp436 SmallVector<SlotIndex,8> Undefs; in extendSegmentsToUses() local
437 LI.computeSubRangeUndefs(Undefs, LaneMask, *MRI, *Indexes); in extendSegmentsToUses()
438 assert(LiveRangeCalc::isJointlyDominated(Pred, Undefs, *Indexes) && in extendSegmentsToUses()
625 ArrayRef<SlotIndex> Undefs) { in extendToIndices() argument
629 LRCalc->extend(LR, Idx, /*PhysReg=*/0, Undefs); in extendToIndices()
DSplitKit.h419 ArrayRef<SlotIndex> Undefs);
DMachineVerifier.cpp2634 SmallVector<SlotIndex, 4> Undefs; in verifyLiveRangeSegment() local
2637 OwnerLI.computeSubRangeUndefs(Undefs, LaneMask, *MRI, *Indexes); in verifyLiveRangeSegment()
2665 if (LiveRangeCalc::isJointlyDominated(*PI, Undefs, *Indexes)) in verifyLiveRangeSegment()
/external/llvm-project/llvm/include/llvm/CodeGen/
DLiveRangeCalc.h130 bool isDefOnEntry(LiveRange &LR, ArrayRef<SlotIndex> Undefs,
151 unsigned PhysReg, ArrayRef<SlotIndex> Undefs);
209 ArrayRef<SlotIndex> Undefs);
DLiveInterval.h488 std::pair<VNInfo*,bool> extendInBlock(ArrayRef<SlotIndex> Undefs,
599 bool isUndefIn(ArrayRef<SlotIndex> Undefs, SlotIndex Begin, in isUndefIn() argument
601 return std::any_of(Undefs.begin(), Undefs.end(), in isUndefIn()
821 void computeSubRangeUndefs(SmallVectorImpl<SlotIndex> &Undefs,
DLiveIntervals.h185 ArrayRef<SlotIndex> Undefs);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DLiveRangeCalc.h128 bool isDefOnEntry(LiveRange &LR, ArrayRef<SlotIndex> Undefs,
149 unsigned PhysReg, ArrayRef<SlotIndex> Undefs);
211 ArrayRef<SlotIndex> Undefs);
DLiveInterval.h487 std::pair<VNInfo*,bool> extendInBlock(ArrayRef<SlotIndex> Undefs,
598 bool isUndefIn(ArrayRef<SlotIndex> Undefs, SlotIndex Begin, in isUndefIn() argument
600 return std::any_of(Undefs.begin(), Undefs.end(), in isUndefIn()
819 void computeSubRangeUndefs(SmallVectorImpl<SlotIndex> &Undefs,
DLiveIntervals.h185 ArrayRef<SlotIndex> Undefs);
/external/llvm/lib/LTO/
DLTOCodeGenerator.cpp158 const std::vector<const char*> &Undefs = Mod->getAsmUndefinedRefs(); in setModule() local
159 for (int I = 0, E = Undefs.size(); I != E; ++I) in setModule()
160 AsmUndefinedRefs[Undefs[I]] = 1; in setModule()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonExpandCondsets.cpp426 SmallVector<SlotIndex,8> Undefs; in updateDeadsInRange() local
428 LI.computeSubRangeUndefs(Undefs, LM, *MRI, *LIS->getSlotIndexes()); in updateDeadsInRange()
432 auto P = Range.extendInBlock(Undefs, LIS->getMBBStartIdx(BB), SI); in updateDeadsInRange()
461 LIS->extendToIndices(Range, ExtTo, Undefs); in updateDeadsInRange()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonExpandCondsets.cpp425 SmallVector<SlotIndex,8> Undefs; in updateDeadsInRange() local
427 LI.computeSubRangeUndefs(Undefs, LM, *MRI, *LIS->getSlotIndexes()); in updateDeadsInRange()
431 auto P = Range.extendInBlock(Undefs, LIS->getMBBStartIdx(BB), SI); in updateDeadsInRange()
460 LIS->extendToIndices(Range, ExtTo, Undefs); in updateDeadsInRange()
/external/swiftshader/third_party/subzero/src/
DIceGlobalContext.cpp215 UndefPool Undefs; member in Ice::ConstantPool
739 return getConstPool()->Undefs.getOrAdd(this, Ty); in getConstantUndef()
/external/llvm-project/llvm/test/Transforms/InstSimplify/
Dicmp-constant.ll835 ; Undefs in vector constants are ok.
846 ; Undefs in vector constants are ok.
942 ; Undefs in vector constants are ok.
953 ; Undefs in vector constants are ok.
/external/llvm-project/llvm/test/DebugInfo/MIR/X86/
Dmachinesink.mir4 # b) Undefs should be left behind

12