Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DLiveRangeCalc.cpp90 ArrayRef<SlotIndex> Undefs) { in extend() argument
99 auto EP = LR.extendInBlock(Undefs, Indexes->getMBBStartIdx(UseMBB), Use); in extend()
107 if (findReachingDefs(LR, *UseMBB, Use, PhysReg, Undefs)) in extend()
124 bool LiveRangeCalc::isDefOnEntry(LiveRange &LR, ArrayRef<SlotIndex> Undefs, in isDefOnEntry() argument
169 if (LR.isUndefIn(Undefs, Seg.end, End)) in isDefOnEntry()
177 if (UndefOnEntry[N] || LR.isUndefIn(Undefs, Begin, End)) { in isDefOnEntry()
195 ArrayRef<SlotIndex> Undefs) { in findReachingDefs() argument
249 auto EP = LR.extendInBlock(Undefs, Start, End); in findReachingDefs()
272 if (!Undefs.empty() && FoundUndef) in findReachingDefs()
316 if (!Undefs.empty() && in findReachingDefs()
[all …]
H A DLiveIntervalCalc.cpp149 SmallVector<SlotIndex, 4> Undefs; in extendToUses() local
151 LI->computeSubRangeUndefs(Undefs, Mask, *MRI, *Indexes); in extendToUses()
203 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()
564 std::pair<VNInfo*,bool> LiveRange::extendInBlock(ArrayRef<SlotIndex> Undefs, in extendInBlock() argument
568 return CalcLiveRangeUtilSet(this).extendInBlock(Undefs, StartIdx, Kill); in extendInBlock()
570 return CalcLiveRangeUtilVector(this).extendInBlock(Undefs, StartIdx, Kill); in extendInBlock()
976 void LiveInterval::computeSubRangeUndefs(SmallVectorImpl<SlotIndex> &Undefs, in computeSubRangeUndefs() argument
995 Undefs.push_back(Pos); in computeSubRangeUndefs()
H A DSplitKit.cpp1250 ArrayRef<SlotIndex> Undefs) { in extendPHIRange() argument
1262 LIC.extend(LR, End, /*PhysReg=*/0, Undefs); in extendPHIRange()
1286 SmallVector<SlotIndex, 4> Undefs; in extendPHIKillRanges() local
1302 Undefs.clear(); in extendPHIKillRanges()
1303 LI.computeSubRangeUndefs(Undefs, PS.LaneMask, MRI, *LIS.getSlotIndexes()); in extendPHIKillRanges()
1304 extendPHIRange(B, SubLIC, S, PS.LaneMask, Undefs); in extendPHIKillRanges()
1396 SmallVector<SlotIndex, 4> Undefs; in rewriteAssigned() local
1397 LI.computeSubRangeUndefs(Undefs, S.LaneMask, MRI, *LIS.getSlotIndexes()); in rewriteAssigned()
1398 SubLIC.extend(S, EP.Next, 0, Undefs); in rewriteAssigned()
H A DLiveIntervals.cpp446 SmallVector<SlotIndex,8> Undefs; in extendSegmentsToUses() local
447 LI.computeSubRangeUndefs(Undefs, LaneMask, *MRI, *Indexes); in extendSegmentsToUses()
448 assert(LiveRangeCalc::isJointlyDominated(Pred, Undefs, *Indexes) && in extendSegmentsToUses()
635 ArrayRef<SlotIndex> Undefs) { in extendToIndices() argument
639 LICalc->extend(LR, Idx, /*PhysReg=*/0, Undefs); in extendToIndices()
H A DSplitKit.h436 ArrayRef<SlotIndex> Undefs);
H A DMachineVerifier.cpp2976 SmallVector<SlotIndex, 4> Undefs; in verifyLiveRangeSegment() local
2979 OwnerLI.computeSubRangeUndefs(Undefs, LaneMask, *MRI, *Indexes); in verifyLiveRangeSegment()
3015 if (LiveRangeCalc::isJointlyDominated(Pred, Undefs, *Indexes)) in verifyLiveRangeSegment()
H A DRegisterCoalescer.cpp1230 SmallVector<SlotIndex, 8> Undefs; in removePartialRedundancy() local
1231 IntB.computeSubRangeUndefs(Undefs, SR.LaneMask, *MRI, in removePartialRedundancy()
1233 LIS->extendToIndices(SR, EndPoints, Undefs); in removePartialRedundancy()
H A DModuloSchedule.cpp1259 DenseMap<const TargetRegisterClass *, Register> Undefs; member in __anon2104b89c0111::KernelRewriter
1508 Register &R = Undefs[RC]; in undef()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DLiveRangeCalc.h130 bool isDefOnEntry(LiveRange &LR, ArrayRef<SlotIndex> Undefs,
151 unsigned PhysReg, ArrayRef<SlotIndex> Undefs);
209 ArrayRef<SlotIndex> Undefs);
H A DLiveInterval.h488 std::pair<VNInfo*,bool> extendInBlock(ArrayRef<SlotIndex> Undefs,
599 bool isUndefIn(ArrayRef<SlotIndex> Undefs, SlotIndex Begin, in isUndefIn() argument
601 return llvm::any_of(Undefs, [Begin, End](SlotIndex Idx) -> bool { in isUndefIn()
820 void computeSubRangeUndefs(SmallVectorImpl<SlotIndex> &Undefs,
H A DLiveIntervals.h185 ArrayRef<SlotIndex> Undefs);
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp5818 static SDValue getConstVector(ArrayRef<APInt> Bits, APInt &Undefs, in getConstVector() argument
5820 assert(Bits.size() == Undefs.getBitWidth() && in getConstVector()
5835 if (Undefs[i]) { in getConstVector()
6587 auto CollectConstantBits = [](const Constant *Cst, APInt &Mask, APInt &Undefs, in getTargetConstantBitsFromNode()
6592 Undefs.setBit(UndefBitIndex); in getTargetConstantBitsFromNode()
8242 std::bitset<4> Zeroable, Undefs; in LowerBuildVectorv4x32() local
8245 Undefs[i] = Elt.isUndef(); in LowerBuildVectorv4x32()
8297 SDValue VZeroOrUndef = (Zeroable == Undefs) in LowerBuildVectorv4x32()
43654 APInt Undefs(NumDstElts, 0); in combineVectorPack() local
43663 Undefs.setBit(Lane * NumDstEltsPerLane + Elt); in combineVectorPack()
[all …]