/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | LiveRangeCalc.cpp | 88 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 in findReachingDefs() [all...] |
H A D | LiveIntervalCalc.cpp | 139 SmallVector<SlotIndex, 4> Undefs; in extendToUses() 141 LI->computeSubRangeUndefs(Undefs, Mask, *MRI, *Indexes); in extendToUses() 193 extend(LR, UseIdx, Reg, Undefs); in extendToUses() 140 SmallVector<SlotIndex, 4> Undefs; extendToUses() local
|
H A D | LiveInterval.cpp | 135 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() 984 Undefs.push_back(Pos); in computeSubRangeUndefs() 962 computeSubRangeUndefs(SmallVectorImpl<SlotIndex> & Undefs,LaneBitmask LaneMask,const MachineRegisterInfo & MRI,const SlotIndexes & Indexes) const computeSubRangeUndefs() argument
|
H A D | SplitKit.cpp | 1257 ArrayRef<SlotIndex> Undefs) { in extendPHIRange() argument 1269 LIC.extend(LR, End, /*PhysReg=*/0, Undefs); in extendPHIRange() 1293 SmallVector<SlotIndex, 4> Undefs; in extendPHIKillRanges() local 1309 Undefs.clear(); in extendPHIKillRanges() 1310 LI.computeSubRangeUndefs(Undefs, PS.LaneMask, MRI, *LIS.getSlotIndexes()); in extendPHIKillRanges() 1311 extendPHIRange(B, SubLIC, S, PS.LaneMask, Undefs); in extendPHIKillRanges() 1424 SmallVector<SlotIndex, 4> Undefs; in rewriteAssigned() local 1425 LI.computeSubRangeUndefs(Undefs, S.LaneMask, MRI, *LIS.getSlotIndexes()); in rewriteAssigned() 1426 SubLIC.extend(S, EP.Next, 0, Undefs); in rewriteAssigned()
|
H A D | LiveIntervals.cpp | 459 SmallVector<SlotIndex,8> Undefs; in extendSegmentsToUses() local 460 LI.computeSubRangeUndefs(Undefs, LaneMask, *MRI, *Indexes); in extendSegmentsToUses() 461 assert(LiveRangeCalc::isJointlyDominated(Pred, Undefs, *Indexes) && in extendSegmentsToUses() 642 ArrayRef<SlotIndex> Undefs) { in extendToIndices() argument 646 LICalc->extend(LR, Idx, /*PhysReg=*/0, Undefs); in extendToIndices()
|
H A D | SplitKit.h | 413 /// the array @p Undefs is the set of all locations where it is undefined 417 ArrayRef<SlotIndex> Undefs);
|
H A D | MachineVerifier.cpp | 3653 SmallVector<SlotIndex, 4> Undefs; in verifyLiveRangeSegment() local 3656 OwnerLI.computeSubRangeUndefs(Undefs, LaneMask, *MRI, *Indexes); in verifyLiveRangeSegment() 3692 if (LiveRangeCalc::isJointlyDominated(Pred, Undefs, *Indexes)) in verifyLiveRangeSegment()
|
H A D | RegisterCoalescer.cpp | 1258 SmallVector<SlotIndex, 8> Undefs; in removePartialRedundancy() local 1259 IntB.computeSubRangeUndefs(Undefs, SR.LaneMask, *MRI, in removePartialRedundancy() 1261 LIS->extendToIndices(SR, EndPoints, Undefs); in removePartialRedundancy()
|
H A D | ModuloSchedule.cpp | 1272 DenseMap<const TargetRegisterClass *, Register> Undefs; member in __anonbef7b4110111::KernelRewriter 1528 Register &R = Undefs[RC]; in undef()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPURewriteUndefForPHI.cpp | 116 SmallVector<BasicBlock *> Undefs; in INITIALIZE_PASS_DEPENDENCY() 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() 117 SmallVector<BasicBlock *> Undefs; INITIALIZE_PASS_DEPENDENCY() local
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | LiveRangeCalc.h | 129 bool isDefOnEntry(LiveRange &LR, ArrayRef<SlotIndex> Undefs, 150 unsigned PhysReg, ArrayRef<SlotIndex> Undefs); 208 ArrayRef<SlotIndex> Undefs);
|
H A D | LiveInterval.h | 496 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() 833 void computeSubRangeUndefs(SmallVectorImpl<SlotIndex> &Undefs,
|
H A D | LiveIntervals.h | 202 ArrayRef<SlotIndex> Undefs);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonExpandCondsets.cpp | 428 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/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 3816 static SDValue getConstVector(ArrayRef<APInt> Bits, const APInt &Undefs, in getConstVector() argument 3818 assert(Bits.size() == Undefs.getBitWidth() && in getConstVector() 3833 if (Undefs[i]) { in getConstVector() 3859 APInt Undefs = APInt::getZero(Bits.size()); in getConstVector() local 3860 return getConstVector(Bits, Undefs, VT, DAG, dl); in getConstVector() 4803 auto CollectConstantBits = [](const Constant *Cst, APInt &Mask, APInt &Undefs, in getTargetConstantBitsFromNode() 4808 Undefs.setBit(UndefBitIndex); in getTargetConstantBitsFromNode() 4862 BitVector Undefs; in getTargetConstantBitsFromNode() local 4865 if (BV->getConstantRawBits(true, SrcEltSizeInBits, SrcEltBits, Undefs)) { in getTargetConstantBitsFromNode() 4868 if (Undefs[I]) in getTargetConstantBitsFromNode() [all …]
|