Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DLiveRangeCalc.cpp88 ArrayRef<SlotIndex> Undefs) { in extend() argument
97 auto EP = LR.extendInBlock(Undefs, Indexes->getMBBStartIdx(UseMBB), Use); in extend()
105 if (findReachingDefs(LR, *UseMBB, Use, PhysReg, Undefs)) in extend()
122 bool LiveRangeCalc::isDefOnEntry(LiveRange &LR, ArrayRef<SlotIndex> Undefs, in isDefOnEntry() argument
167 if (LR.isUndefIn(Undefs, Seg.end, End)) in isDefOnEntry()
175 if (UndefOnEntry[N] || LR.isUndefIn(Undefs, Begin, End)) { in isDefOnEntry()
193 ArrayRef<SlotIndex> Undefs) { in findReachingDefs() argument
247 auto EP = LR.extendInBlock(Undefs, Start, End); in findReachingDefs()
270 if (!Undefs.empty() && FoundUndef) in findReachingDefs()
314 if (!Undefs.empty() && in findReachingDefs()
[all …]
H A DLiveIntervalCalc.cpp140 SmallVector<SlotIndex, 4> Undefs; in extendToUses() local
142 LI->computeSubRangeUndefs(Undefs, Mask, *MRI, *Indexes); in extendToUses()
194 extend(LR, UseIdx, Reg, Undefs); in extendToUses()
H A 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()
549 std::pair<VNInfo*,bool> LiveRange::extendInBlock(ArrayRef<SlotIndex> Undefs, in extendInBlock() argument
553 return CalcLiveRangeUtilSet(this).extendInBlock(Undefs, StartIdx, Kill); in extendInBlock()
555 return CalcLiveRangeUtilVector(this).extendInBlock(Undefs, StartIdx, Kill); in extendInBlock()
962 void LiveInterval::computeSubRangeUndefs(SmallVectorImpl<SlotIndex> &Undefs, in computeSubRangeUndefs() argument
981 Undefs.push_back(Pos); in computeSubRangeUndefs()
H A DSplitKit.cpp1245 ArrayRef<SlotIndex> Undefs) { in extendPHIRange() argument
1257 LIC.extend(LR, End, /*PhysReg=*/0, Undefs); in extendPHIRange()
1281 SmallVector<SlotIndex, 4> Undefs; in extendPHIKillRanges() local
1297 Undefs.clear(); in extendPHIKillRanges()
1298 LI.computeSubRangeUndefs(Undefs, PS.LaneMask, MRI, *LIS.getSlotIndexes()); in extendPHIKillRanges()
1299 extendPHIRange(B, SubLIC, S, PS.LaneMask, Undefs); in extendPHIKillRanges()
1412 SmallVector<SlotIndex, 4> Undefs; in rewriteAssigned() local
1413 LI.computeSubRangeUndefs(Undefs, S.LaneMask, MRI, *LIS.getSlotIndexes()); in rewriteAssigned()
1414 SubLIC.extend(S, EP.Next, 0, Undefs); in rewriteAssigned()
H A DSplitKit.h412 ArrayRef<SlotIndex> Undefs);
H A DLiveIntervals.cpp439 SmallVector<SlotIndex,8> Undefs; in extendSegmentsToUses() local
440 LI.computeSubRangeUndefs(Undefs, LaneMask, *MRI, *Indexes); in extendSegmentsToUses()
441 assert(LiveRangeCalc::isJointlyDominated(Pred, Undefs, *Indexes) && in extendSegmentsToUses()
628 ArrayRef<SlotIndex> Undefs) { in extendToIndices() argument
632 LICalc->extend(LR, Idx, /*PhysReg=*/0, Undefs); in extendToIndices()
H A DMachineVerifier.cpp3122 SmallVector<SlotIndex, 4> Undefs; in verifyLiveRangeSegment() local
3125 OwnerLI.computeSubRangeUndefs(Undefs, LaneMask, *MRI, *Indexes); in verifyLiveRangeSegment()
3161 if (LiveRangeCalc::isJointlyDominated(Pred, Undefs, *Indexes)) in verifyLiveRangeSegment()
H A DModuloSchedule.cpp1249 DenseMap<const TargetRegisterClass *, Register> Undefs; member in __anon1a79cf410111::KernelRewriter
1505 Register &R = Undefs[RC]; in undef()
H A DRegisterCoalescer.cpp1253 SmallVector<SlotIndex, 8> Undefs; in removePartialRedundancy() local
1254 IntB.computeSubRangeUndefs(Undefs, SR.LaneMask, *MRI, in removePartialRedundancy()
1256 LIS->extendToIndices(SR, EndPoints, Undefs); in removePartialRedundancy()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DLiveRangeCalc.h129 bool isDefOnEntry(LiveRange &LR, ArrayRef<SlotIndex> Undefs,
150 unsigned PhysReg, ArrayRef<SlotIndex> Undefs);
208 ArrayRef<SlotIndex> Undefs);
H A DLiveInterval.h496 std::pair<VNInfo*,bool> extendInBlock(ArrayRef<SlotIndex> Undefs,
607 bool isUndefIn(ArrayRef<SlotIndex> Undefs, SlotIndex Begin, in isUndefIn() argument
609 return llvm::any_of(Undefs, [Begin, End](SlotIndex Idx) -> bool { in isUndefIn()
826 void computeSubRangeUndefs(SmallVectorImpl<SlotIndex> &Undefs,
H A DLiveIntervals.h183 ArrayRef<SlotIndex> Undefs);
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A 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()
/llvm-project-15.0.7/llvm/test/Transforms/InstSimplify/
H A Dicmp-constant.ll901 ; Undefs in vector constants are ok.
912 ; Undefs in vector constants are ok.
1008 ; Undefs in vector constants are ok.
1019 ; Undefs in vector constants are ok.
/llvm-project-15.0.7/llvm/test/DebugInfo/MIR/X86/
H A Dmachinesink.mir4 # b) Undefs should be left behind
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dvector-concat-binop.ll77 ; Undefs in shuffle mask do not necessarily propagate.
H A Dvector-concat-binop-inseltpoison.ll77 ; Undefs in shuffle mask do not necessarily propagate.
H A Dvec_shuffle-inseltpoison.ll200 ; Undef elements in either mask are ok. Undefs from the 2nd shuffle mask should propagate to the ne…
1499 ; Undefs in splat mask are replaced with defined splat index
1514 ; Undefs in splat mask are replaced with defined splat index
H A Dvec_shuffle.ll200 ; Undef elements in either mask are ok. Undefs from the 2nd shuffle mask should propagate to the ne…
1500 ; Undefs in splat mask are replaced with defined splat index
1515 ; Undefs in splat mask are replaced with defined splat index
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp6287 static SDValue getConstVector(ArrayRef<APInt> Bits, APInt &Undefs, in getConstVector() argument
6289 assert(Bits.size() == Undefs.getBitWidth() && in getConstVector()
6304 if (Undefs[i]) { in getConstVector()
7262 Undefs.setBit(UndefBitIndex); in getTargetConstantBitsFromNode()
7298 BitVector Undefs; in getTargetConstantBitsFromNode() local
7304 if (Undefs[I]) in getTargetConstantBitsFromNode()
8959 std::bitset<4> Zeroable, Undefs; in LowerBuildVectorv4x32() local
8962 Undefs[i] = Elt.isUndef(); in LowerBuildVectorv4x32()
9014 SDValue VZeroOrUndef = (Zeroable == Undefs) in LowerBuildVectorv4x32()
46905 APInt Undefs(NumDstElts, 0); in combineVectorPack() local
[all …]