Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveRangeCalc.cpp87 ArrayRef<SlotIndex> Undefs) { in extend() argument
96 auto EP = LR.extendInBlock(Undefs, Indexes->getMBBStartIdx(UseMBB), Use); in extend()
104 if (findReachingDefs(LR, *UseMBB, Use, PhysReg, Undefs)) in extend()
121 bool LiveRangeCalc::isDefOnEntry(LiveRange &LR, ArrayRef<SlotIndex> Undefs, in isDefOnEntry() argument
166 if (LR.isUndefIn(Undefs, Seg.end, End)) in isDefOnEntry()
174 if (UndefOnEntry[N] || LR.isUndefIn(Undefs, Begin, End)) { in isDefOnEntry()
192 ArrayRef<SlotIndex> Undefs) { in findReachingDefs() argument
251 auto EP = LR.extendInBlock(Undefs, Start, End); in findReachingDefs()
274 if (!Undefs.empty() && FoundUndef) in findReachingDefs()
318 if (!Undefs.empty() && in findReachingDefs()
[all …]
H A DLiveIntervalCalc.cpp138 SmallVector<SlotIndex, 4> Undefs; in extendToUses() local
140 LI->computeSubRangeUndefs(Undefs, Mask, *MRI, *Indexes); in extendToUses()
192 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.cpp1293 ArrayRef<SlotIndex> Undefs) { in extendPHIRange() argument
1305 LIC.extend(LR, End, /*PhysReg=*/0, Undefs); in extendPHIRange()
1329 SmallVector<SlotIndex, 4> Undefs; in extendPHIKillRanges() local
1345 Undefs.clear(); in extendPHIKillRanges()
1346 LI.computeSubRangeUndefs(Undefs, PS.LaneMask, MRI, *LIS.getSlotIndexes()); in extendPHIKillRanges()
1347 extendPHIRange(B, SubLIC, S, PS.LaneMask, Undefs); in extendPHIKillRanges()
1461 SmallVector<SlotIndex, 4> Undefs; in rewriteAssigned() local
1462 LI.computeSubRangeUndefs(Undefs, S.LaneMask, MRI, *LIS.getSlotIndexes()); in rewriteAssigned()
1463 SubLIC.extend(S, EP.Next, 0, Undefs); in rewriteAssigned()
H A DLiveIntervals.cpp475 SmallVector<SlotIndex,8> Undefs; in extendSegmentsToUses() local
476 LI.computeSubRangeUndefs(Undefs, LaneMask, *MRI, *Indexes); in extendSegmentsToUses()
477 assert(LiveRangeCalc::isJointlyDominated(Pred, Undefs, *Indexes) && in extendSegmentsToUses()
658 ArrayRef<SlotIndex> Undefs) { in extendToIndices() argument
662 LICalc->extend(LR, Idx, /*PhysReg=*/0, Undefs); in extendToIndices()
H A DSplitKit.h423 ArrayRef<SlotIndex> Undefs);
H A DRegisterCoalescer.cpp1271 SmallVector<SlotIndex, 8> Undefs; in removePartialRedundancy() local
1272 IntB.computeSubRangeUndefs(Undefs, SR.LaneMask, *MRI, in removePartialRedundancy()
1274 LIS->extendToIndices(SR, EndPoints, Undefs); in removePartialRedundancy()
H A DMachineVerifier.cpp3804 SmallVector<SlotIndex, 4> Undefs; in verifyLiveRangeSegment() local
3807 OwnerLI.computeSubRangeUndefs(Undefs, LaneMask, *MRI, *Indexes); in verifyLiveRangeSegment()
3843 if (LiveRangeCalc::isJointlyDominated(Pred, Undefs, *Indexes)) in verifyLiveRangeSegment()
H A DModuloSchedule.cpp1291 DenseMap<const TargetRegisterClass *, Register> Undefs; member in __anonbef7b4110111::KernelRewriter
1547 Register &R = Undefs[RC]; in undef()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteUndefForPHI.cpp114 SmallVector<BasicBlock *> Undefs; in INITIALIZE_PASS_DEPENDENCY() local
126 Undefs.push_back(IncomingBB); in INITIALIZE_PASS_DEPENDENCY()
146 if (!UniqueDefinedIncoming || Undefs.empty() || in INITIALIZE_PASS_DEPENDENCY()
154 if (DT->dominates(DominateBB, &BB) && all_of(Undefs, [&](BasicBlock *UD) { in INITIALIZE_PASS_DEPENDENCY()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveRangeCalc.h130 bool isDefOnEntry(LiveRange &LR, ArrayRef<SlotIndex> Undefs,
151 Register PhysReg, ArrayRef<SlotIndex> Undefs);
209 ArrayRef<SlotIndex> Undefs);
H A DLiveInterval.h499 LLVM_ABI std::pair<VNInfo *, bool> extendInBlock(ArrayRef<SlotIndex> Undefs,
611 bool isUndefIn(ArrayRef<SlotIndex> Undefs, SlotIndex Begin, in isUndefIn() argument
613 return llvm::any_of(Undefs, [Begin, End](SlotIndex Idx) -> bool { in isUndefIn()
836 LLVM_ABI void computeSubRangeUndefs(SmallVectorImpl<SlotIndex> &Undefs,
H A DLiveIntervals.h212 ArrayRef<SlotIndex> Undefs);
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonExpandCondsets.cpp411 SmallVector<SlotIndex,8> Undefs; in updateDeadsInRange() local
413 LI.computeSubRangeUndefs(Undefs, LM, *MRI, *LIS->getSlotIndexes()); in updateDeadsInRange()
417 auto P = Range.extendInBlock(Undefs, LIS->getMBBStartIdx(BB), SI); in updateDeadsInRange()
446 LIS->extendToIndices(Range, ExtTo, Undefs); in updateDeadsInRange()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp4012 static SDValue getConstVector(ArrayRef<APInt> Bits, const APInt &Undefs, in getConstVector() argument
4014 assert(Bits.size() == Undefs.getBitWidth() && in getConstVector()
4030 if (Undefs[i]) { in getConstVector()
4050 APInt Undefs = APInt::getZero(Bits.size()); in getConstVector() local
4051 return getConstVector(Bits, Undefs, VT, DAG, dl); in getConstVector()
5063 auto CollectConstantBits = [](const Constant *Cst, APInt &Mask, APInt &Undefs, in getTargetConstantBitsFromNode()
5068 Undefs.setBit(UndefBitIndex); in getTargetConstantBitsFromNode()
5122 BitVector Undefs; in getTargetConstantBitsFromNode() local
5125 if (BV->getConstantRawBits(true, SrcEltSizeInBits, SrcEltBits, Undefs)) { in getTargetConstantBitsFromNode()
5128 if (Undefs[I]) in getTargetConstantBitsFromNode()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp2543 SmallSet<SDValue, 4> Undefs; in lowerCONCAT_VECTORS() local
2554 Undefs.insert(SubVec); in lowerCONCAT_VECTORS()
2582 for (SDValue U : Undefs) in lowerCONCAT_VECTORS()