Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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.cpp1244 ArrayRef<SlotIndex> Undefs) { in extendPHIRange() argument
1256 LIC.extend(LR, End, /*PhysReg=*/0, Undefs); in extendPHIRange()
1280 SmallVector<SlotIndex, 4> Undefs; in extendPHIKillRanges() local
1296 Undefs.clear(); in extendPHIKillRanges()
1297 LI.computeSubRangeUndefs(Undefs, PS.LaneMask, MRI, *LIS.getSlotIndexes()); in extendPHIKillRanges()
1298 extendPHIRange(B, SubLIC, S, PS.LaneMask, Undefs); in extendPHIKillRanges()
1411 SmallVector<SlotIndex, 4> Undefs; in rewriteAssigned() local
1412 LI.computeSubRangeUndefs(Undefs, S.LaneMask, MRI, *LIS.getSlotIndexes()); in rewriteAssigned()
1413 SubLIC.extend(S, EP.Next, 0, Undefs); in rewriteAssigned()
H A DSplitKit.h411 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()
622 ArrayRef<SlotIndex> Undefs) { in extendToIndices() argument
626 LICalc->extend(LR, Idx, /*PhysReg=*/0, Undefs); in extendToIndices()
H A DMachineVerifier.cpp3216 SmallVector<SlotIndex, 4> Undefs; in verifyLiveRangeSegment() local
3219 OwnerLI.computeSubRangeUndefs(Undefs, LaneMask, *MRI, *Indexes); in verifyLiveRangeSegment()
3255 if (LiveRangeCalc::isJointlyDominated(Pred, Undefs, *Indexes)) in verifyLiveRangeSegment()
H A DModuloSchedule.cpp1270 DenseMap<const TargetRegisterClass *, Register> Undefs; member in __anon15b072de0111::KernelRewriter
1526 Register &R = Undefs[RC]; in undef()
H A DRegisterCoalescer.cpp1242 SmallVector<SlotIndex, 8> Undefs; in removePartialRedundancy() local
1243 IntB.computeSubRangeUndefs(Undefs, SR.LaneMask, *MRI, in removePartialRedundancy()
1245 LIS->extendToIndices(SR, EndPoints, Undefs); in removePartialRedundancy()
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteUndefForPHI.cpp117 SmallVector<BasicBlock *> Undefs; in INITIALIZE_PASS_DEPENDENCY() local
129 Undefs.push_back(IncomingBB); in INITIALIZE_PASS_DEPENDENCY()
149 if (!UniqueDefinedIncoming || Undefs.empty() || in INITIALIZE_PASS_DEPENDENCY()
157 if (DT->dominates(DominateBB, &BB) && all_of(Undefs, [&](BasicBlock *UD) { in INITIALIZE_PASS_DEPENDENCY()
/openbsd/gnu/llvm/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);
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonExpandCondsets.cpp427 SmallVector<SlotIndex,8> Undefs; in updateDeadsInRange() local
429 LI.computeSubRangeUndefs(Undefs, LM, *MRI, *LIS->getSlotIndexes()); in updateDeadsInRange()
433 auto P = Range.extendInBlock(Undefs, LIS->getMBBStartIdx(BB), SI); in updateDeadsInRange()
462 LIS->extendToIndices(Range, ExtTo, Undefs); in updateDeadsInRange()
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp6411 static SDValue getConstVector(ArrayRef<APInt> Bits, APInt &Undefs, in getConstVector() argument
6413 assert(Bits.size() == Undefs.getBitWidth() && in getConstVector()
6428 if (Undefs[i]) { in getConstVector()
7355 Undefs.setBit(UndefBitIndex); in getTargetConstantBitsFromNode()
7391 BitVector Undefs; in getTargetConstantBitsFromNode() local
7397 if (Undefs[I]) in getTargetConstantBitsFromNode()
9071 std::bitset<4> Zeroable, Undefs; in LowerBuildVectorv4x32() local
9074 Undefs[i] = Elt.isUndef(); in LowerBuildVectorv4x32()
9126 SDValue VZeroOrUndef = (Zeroable == Undefs) in LowerBuildVectorv4x32()
48107 APInt Undefs(NumDstElts, 0); in combineVectorPack() local
[all …]