Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/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
252 auto EP = LR.extendInBlock(Undefs, Start, End); in findReachingDefs()
275 if (!Undefs.empty() && FoundUndef) in findReachingDefs()
319 if (!Undefs.empty() && in findReachingDefs()
[all …]
H A DLiveIntervalCalc.cpp139 SmallVector<SlotIndex, 4> Undefs; in extendToUses() local
141 LI->computeSubRangeUndefs(Undefs, Mask, *MRI, *Indexes); in extendToUses()
193 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()
965 void LiveInterval::computeSubRangeUndefs(SmallVectorImpl<SlotIndex> &Undefs, in computeSubRangeUndefs() argument
984 Undefs.push_back(Pos); in computeSubRangeUndefs()
H A DSplitKit.cpp1258 ArrayRef<SlotIndex> Undefs) { in extendPHIRange() argument
1270 LIC.extend(LR, End, /*PhysReg=*/0, Undefs); in extendPHIRange()
1294 SmallVector<SlotIndex, 4> Undefs; in extendPHIKillRanges() local
1310 Undefs.clear(); in extendPHIKillRanges()
1311 LI.computeSubRangeUndefs(Undefs, PS.LaneMask, MRI, *LIS.getSlotIndexes()); in extendPHIKillRanges()
1312 extendPHIRange(B, SubLIC, S, PS.LaneMask, Undefs); in extendPHIKillRanges()
1425 SmallVector<SlotIndex, 4> Undefs; in rewriteAssigned() local
1426 LI.computeSubRangeUndefs(Undefs, S.LaneMask, MRI, *LIS.getSlotIndexes()); in rewriteAssigned()
1427 SubLIC.extend(S, EP.Next, 0, Undefs); in rewriteAssigned()
H A DLiveIntervals.cpp434 SmallVector<SlotIndex,8> Undefs; in extendSegmentsToUses() local
435 LI.computeSubRangeUndefs(Undefs, LaneMask, *MRI, *Indexes); in extendSegmentsToUses()
436 assert(LiveRangeCalc::isJointlyDominated(Pred, Undefs, *Indexes) && in extendSegmentsToUses()
617 ArrayRef<SlotIndex> Undefs) { in extendToIndices() argument
621 LICalc->extend(LR, Idx, /*PhysReg=*/0, Undefs); in extendToIndices()
H A DSplitKit.h417 ArrayRef<SlotIndex> Undefs);
H A DMachineVerifier.cpp3344 SmallVector<SlotIndex, 4> Undefs; in verifyLiveRangeSegment() local
3347 OwnerLI.computeSubRangeUndefs(Undefs, LaneMask, *MRI, *Indexes); in verifyLiveRangeSegment()
3383 if (LiveRangeCalc::isJointlyDominated(Pred, Undefs, *Indexes)) in verifyLiveRangeSegment()
H A DModuloSchedule.cpp1265 DenseMap<const TargetRegisterClass *, Register> Undefs; member in __anona375ef470111::KernelRewriter
1521 Register &R = Undefs[RC]; in undef()
H A DRegisterCoalescer.cpp1257 SmallVector<SlotIndex, 8> Undefs; in removePartialRedundancy() local
1258 IntB.computeSubRangeUndefs(Undefs, SR.LaneMask, *MRI, in removePartialRedundancy()
1260 LIS->extendToIndices(SR, EndPoints, Undefs); in removePartialRedundancy()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteUndefForPHI.cpp116 SmallVector<BasicBlock *> Undefs; in INITIALIZE_PASS_DEPENDENCY() local
128 Undefs.push_back(IncomingBB); in INITIALIZE_PASS_DEPENDENCY()
148 if (!UniqueDefinedIncoming || Undefs.empty() || in INITIALIZE_PASS_DEPENDENCY()
156 if (DT->dominates(DominateBB, &BB) && all_of(Undefs, [&](BasicBlock *UD) { in INITIALIZE_PASS_DEPENDENCY()
/freebsd-14.2/contrib/llvm-project/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,
608 bool isUndefIn(ArrayRef<SlotIndex> Undefs, SlotIndex Begin, in isUndefIn() argument
610 return llvm::any_of(Undefs, [Begin, End](SlotIndex Idx) -> bool { in isUndefIn()
827 void computeSubRangeUndefs(SmallVectorImpl<SlotIndex> &Undefs,
H A DLiveIntervals.h190 ArrayRef<SlotIndex> Undefs);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonExpandCondsets.cpp428 SmallVector<SlotIndex,8> Undefs; in updateDeadsInRange() local
430 LI.computeSubRangeUndefs(Undefs, LM, *MRI, *LIS->getSlotIndexes()); in updateDeadsInRange()
434 auto P = Range.extendInBlock(Undefs, LIS->getMBBStartIdx(BB), SI); in updateDeadsInRange()
463 LIS->extendToIndices(Range, ExtTo, Undefs); in updateDeadsInRange()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp3689 assert(Bits.size() == Undefs.getBitWidth() && in getConstVector()
3704 if (Undefs[i]) { in getConstVector()
3730 APInt Undefs = APInt::getZero(Bits.size()); in getConstVector() local
4671 Undefs.setBit(UndefBitIndex); in getTargetConstantBitsFromNode()
4725 BitVector Undefs; in getTargetConstantBitsFromNode() local
4731 if (Undefs[I]) in getTargetConstantBitsFromNode()
6512 std::bitset<4> Zeroable, Undefs; in LowerBuildVectorv4x32() local
6515 Undefs[i] = Elt.isUndef(); in LowerBuildVectorv4x32()
47320 APInt Undefs(NumDstElts, 0); in combineVectorPack() local
50040 if (Undefs[I]) in combineLoad()
[all …]