Home
last modified time | relevance | path

Searched refs:Indexes (Results 1 – 25 of 64) sorted by relevance

123

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DLiveIntervalCalc.cpp45 SlotIndexes *Indexes = getIndexes(); in calculate() local
48 assert(MRI && Indexes && "call reset() first"); in calculate()
72 [&MO, Indexes, Alloc](LiveInterval::SubRange &SR) { in calculate()
74 createDeadDef(*Indexes, *Alloc, SR, MO); in calculate()
76 *Indexes, TRI); in calculate()
82 createDeadDef(*Indexes, *Alloc, LI, MO); in calculate()
96 SubLIC.reset(MF, Indexes, DomTree, Alloc); in calculate()
126 SlotIndexes *Indexes = getIndexes(); in createDeadDefs() local
128 assert(MRI && Indexes && "call reset() first"); in createDeadDefs()
133 createDeadDef(*Indexes, *Alloc, LR, MO); in createDeadDefs()
[all …]
H A DLiveRangeCalc.cpp55 Indexes = SI; in reset()
70 std::tie(Start, End) = Indexes->getMBBRange(MBB); in updateFromLiveIns()
90 assert(Indexes && "Missing SlotIndexes"); in extend()
116 assert(Indexes && "Missing SlotIndexes"); in calculateValues()
154 std::tie(Begin, End) = Indexes->getMBBRange(&B); in isDefOnEntry()
214 const MachineInstr *MI = Indexes->getInstructionFromIndex(Use); in findReachingDefs()
243 std::tie(Start, End) = Indexes->getMBBRange(Pred); in findReachingDefs()
284 std::tie(Start, End) = Indexes->getMBBRange(BN); in findReachingDefs()
328 assert(Indexes && "Missing SlotIndexes"); in updateSSA()
397 std::tie(Start, End) = Indexes->getMBBRange(MBB); in updateSSA()
[all …]
H A DLiveIntervals.cpp125 Indexes = &getAnalysis<SlotIndexes>(); in runOnMachineFunction()
173 MF->print(OS, Indexes); in printInstrs()
333 SlotIndex Begin = Indexes->getMBBStartIdx(&MBB); in computeLiveInRegUnits()
412 SlotIndex Stop = Indexes->getMBBEndIdx(Pred); in extendSegmentsToUses()
428 SlotIndex Stop = Indexes->getMBBEndIdx(Pred); in extendSegmentsToUses()
643 SlotIndex MBBEnd = Indexes->getMBBEndIdx(KillMBB); in pruneValue()
1479 SlotIndexes *Indexes = LIS.getSlotIndexes(); in findLastUseBefore() local
1518 Indexes->removeMachineInstrFromMaps(MI); in handleMove()
1539 if (!Indexes->hasIndex(*I)) in handleMoveIntoNewBundle()
1543 Indexes->removeMachineInstrFromMaps(*I, true); in handleMoveIntoNewBundle()
[all …]
H A DVirtRegMap.cpp188 SlotIndexes *Indexes; member in __anon1619f7c50111::VirtRegRewriter
261 Indexes = &getAnalysis<SlotIndexes>(); in runOnMachineFunction()
316 MBBI != Indexes->MBBIndexEnd() && MBBI->first <= Last; ++MBBI) { in addLiveInsForSubRanges()
364 SlotIndexes::MBBIndexIterator I = Indexes->MBBIndexBegin(); in addMBBLiveIns()
366 I = Indexes->advanceMBBIndex(I, Seg.start); in addMBBLiveIns()
367 for (; I != Indexes->MBBIndexEnd() && I->first < Seg.end; ++I) { in addMBBLiveIns()
434 if (Indexes) in handleIdentityCopy()
435 Indexes->removeSingleMachineInstrFromMaps(MI); in handleIdentityCopy()
503 if (Indexes && BundledMI != FirstMI) in expandCopyBundle()
504 Indexes->insertMachineInstrInMaps(*BundledMI); in expandCopyBundle()
[all …]
H A DMachineBasicBlock.cpp354 if (Indexes && PrintSlotIndexes) in print()
367 if (Indexes) OS << '\t'; in print()
378 if (Indexes) OS << '\t'; in print()
409 if (Indexes) OS << '\t'; in print()
427 if (Indexes->hasIndex(MI)) in print()
452 if (Indexes) OS << '\t'; in print()
1031 else if (Indexes) in SplitCriticalEdge()
1078 if (Indexes) { in SplitCriticalEdge()
1090 if (Indexes) { in SplitCriticalEdge()
1109 if (Indexes) { in SplitCriticalEdge()
[all …]
H A DStackColoring.cpp451 SlotIndexes *Indexes; member in __anon90137c370111::StackColoring
784 LLVM_DEBUG(Indexes->getInstructionIndex(MI).print(dbgs())); in collectMarkers()
874 Starts[pos] = Indexes->getMBBStartIdx(&MBB); in calculateLiveIntervals()
883 SlotIndex ThisIndex = Indexes->getInstructionIndex(MI); in calculateLiveIntervals()
912 SlotIndex EndIdx = Indexes->getMBBEndIdx(&MBB); in calculateLiveIntervals()
1062 SlotIndex Index = Indexes->getInstructionIndex(I); in remapInstructions()
1183 SlotIndex Index = Indexes->getInstructionIndex(I); in removeInvalidSlotRanges()
1214 Indexes = &getAnalysis<SlotIndexes>(); in runOnMachineFunction()
1259 LI->getNextValue(Indexes->getZeroIndex(), VNInfoAllocator); in runOnMachineFunction()
H A DInterferenceCache.h60 SlotIndexes *Indexes = nullptr; variable
107 Indexes = indexes; in clear()
H A DMachineVerifier.cpp213 SlotIndexes *Indexes; member
350 if (Indexes == nullptr) in verifySlotIndexes()
356 E = Indexes->MBBIndexEnd(); I != E; ++I) { in verifySlotIndexes()
401 Indexes = nullptr; in verify()
491 MF->print(errs(), Indexes); in report()
502 if (Indexes) in report()
512 if (Indexes && Indexes->hasIndex(*MI)) in report()
803 if (Indexes) in visitMachineBasicBlockBefore()
804 lastIndex = Indexes->getMBBStartIdx(MBB); in visitMachineBasicBlockBefore()
810 if (Indexes && Indexes->hasIndex(*MI)) { in visitMachineBundleBefore()
[all …]
H A DLiveInterval.cpp431 const SlotIndexes &Indexes) const { in overlaps()
455 !CP.isCoalescable(Indexes.getInstructionFromIndex(Def))) in overlaps()
871 const SlotIndexes &Indexes, in stripValuesNotDefiningMask() argument
887 const MachineInstr *MI = Indexes.getInstructionFromIndex(VNI->def); in stripValuesNotDefiningMask()
919 const SlotIndexes &Indexes, const TargetRegisterInfo &TRI, in refineSubRanges() argument
940 stripValuesNotDefiningMask(reg(), *MatchingRange, Matching, Indexes, TRI, in refineSubRanges()
942 stripValuesNotDefiningMask(reg(), SR, SR.LaneMask, Indexes, TRI, in refineSubRanges()
965 const SlotIndexes &Indexes) const { in computeSubRangeUndefs()
980 SlotIndex Pos = Indexes.getInstructionIndex(MI).getRegSlot(EarlyClobber); in computeSubRangeUndefs()
H A DRenameIndependentSubregs.cpp304 const SlotIndexes &Indexes = *LIS->getSlotIndexes(); in computeMainRangesFixFlags() local
324 MachineBasicBlock &MBB = *Indexes.getMBBFromIndex(Def); in computeMainRangesFixFlags()
326 SlotIndex PredEnd = Indexes.getMBBEndIdx(PredMBB); in computeMainRangesFixFlags()
H A DRegisterCoalescer.cpp1000 const SlotIndexes &Indexes = *LIS->getSlotIndexes(); in removeCopyByCommutingDef() local
1025 Indexes, *TRI); in removeCopyByCommutingDef()
2226 SlotIndexes *Indexes = LIS->getSlotIndexes(); in joinReservedPhysReg() local
2356 SlotIndexes *Indexes; member in __anoncc82f7ba0311::JoinVals
2583 MachineInstr *MI = Indexes->getInstructionFromIndex(Def); in followCopyChain()
2672 DefMI = Indexes->getInstructionFromIndex(VNI->def); in analyzeValue()
2903 MachineBasicBlock *MBB = Indexes->getMBBFromIndex(VNI->def); in analyzeValue()
2904 if (OtherLRQ.endPoint() >= Indexes->getMBBEndIdx(MBB)) in analyzeValue()
2984 MachineBasicBlock *MBB = Indexes->getMBBFromIndex(VNI->def); in taintExtent()
2985 SlotIndex MBBEnd = Indexes->getMBBEndIdx(MBB); in taintExtent()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DLiveIntervals.h58 SlotIndexes* Indexes; variable
210 return Indexes; in getSlotIndexes()
216 return !Indexes->hasIndex(Instr); in isNotInMIMap()
221 return Indexes->getInstructionIndex(Instr); in getInstructionIndex()
231 return Indexes->getMBBStartIdx(mbb); in getMBBStartIdx()
236 return Indexes->getMBBEndIdx(mbb); in getMBBEndIdx()
250 return Indexes->getMBBFromIndex(index); in getMBBFromIndex()
254 Indexes->insertMBBInMaps(MBB); in insertMBBInMaps()
261 return Indexes->insertMachineInstrInMaps(MI); in InsertMachineInstrInMaps()
267 Indexes->insertMachineInstrInMaps(*I); in InsertMachineInstrRangeInMaps()
[all …]
H A DLiveRangeCalc.h48 SlotIndexes *Indexes = nullptr; variable
168 SlotIndexes *getIndexes() { return Indexes; } in getIndexes()
264 const SlotIndexes &Indexes);
/llvm-project-15.0.7/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dexample-bind.cpp207 template<int I, int... Indexes, typename T, typename... Types>
208 struct make_indexes_impl<I, int_tuple<Indexes...>, T, Types...> {
212 template<int I, int... Indexes>
213 struct make_indexes_impl<I, int_tuple<Indexes...> > {
214 typedef int_tuple<Indexes...> type;
287 template<typename F, int... Indexes, typename... Args>
290 return f(get<Indexes>(args)...); in unwrap_and_forward()
297 typedef typename make_indexes<Args...>::type Indexes; in mu() typedef
298 return unwrap_and_forward(bound_arg, Indexes(), args); in mu()
322 int_tuple<Indexes...>, in apply_functor() argument
[all …]
/llvm-project-15.0.7/llvm/test/TableGen/
H A DRegisterInfoEmitter-regcost-tuple.td11 class Indexes<int N> {
23 foreach Index = Indexes<!add(5, !mul(Size, -1))>.slice in {
24 def !foldl("", Indexes<Size>.slice, acc, cur,
28 !foldl([]<SubRegIndex>, Indexes<Size>.slice, acc, cur,
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DGCNRegPressure.h213 std::vector<SlotIndex> Indexes; in getLiveRegMap() local
214 Indexes.reserve(std::distance(R.begin(), R.end())); in getLiveRegMap()
218 Indexes.push_back(After ? SI.getDeadSlot() : SI.getBaseIndex()); in getLiveRegMap()
220 llvm::sort(Indexes); in getLiveRegMap()
231 if (!LI.findIndexesLiveAt(Indexes, std::back_inserter(LiveIdxs))) in getLiveRegMap()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCloneDetection.cpp482 std::vector<char> Indexes; in splitCloneGroups() local
483 Indexes.resize(HashGroup.size()); in splitCloneGroups()
487 if (Indexes[i]) in splitCloneGroups()
496 ++Indexes[i]; in splitCloneGroups()
501 if (Indexes[j]) in splitCloneGroups()
512 ++Indexes[j]; in splitCloneGroups()
520 assert(llvm::all_of(Indexes, [](char c) { return c == 1; })); in splitCloneGroups()
/llvm-project-15.0.7/llvm/test/TableGen/Common/
H A Dreg-with-subregs-common.td9 class Indexes<int N> {
27 foreach Index = Indexes<!add(33, !mul(Size, -1))>.slice in {
28 def !foldl("", Indexes<Size>.slice, acc, cur,
32 !foldl([]<SubRegIndex>, Indexes<Size>.slice, acc, cur,
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DSampleProfileProbe.cpp229 std::vector<uint8_t> Indexes; in computeCFGHash() local
237 Indexes.push_back((uint8_t)(Index >> (J * 8))); in computeCFGHash()
241 JC.update(Indexes); in computeCFGHash()
244 (uint64_t)Indexes.size() << 32 | JC.getCRC(); in computeCFGHash()
251 << Indexes.size() << ", ICSites = " << CallProbeIds.size() in computeCFGHash()
/llvm-project-15.0.7/llvm/test/tools/llvm-dwp/X86/
H A Dincompatible_tu_index_version.s45 ## Parallel Table of Indexes:
69 ## Parallel Table of Indexes:
H A Dunknown-section-id.s91 ## Parallel Table of Indexes:
120 ## Parallel Table of Indexes:
H A Dincompatible_cu_index_versions.s25 ## Parallel Table of Indexes:
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaRISCVVectorLookup.cpp49 SmallVector<size_t, 8> Indexes; member
298 OverloadIntrinsicDef.Indexes.push_back(Index); in InitRVVIntrinsic()
369 for (auto Index : OvIntrinsicDef.Indexes) in CreateIntrinsicIfFound()
/llvm-project-15.0.7/llvm/test/DebugInfo/X86/
H A Ddebug-cu-index-unknown-section.s21 ## Parallel Table of Indexes:
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp814 int Indexes[64]; in simplifyX86pshufb() local
824 Indexes[I] = -1; in simplifyX86pshufb()
838 Indexes[I] = Index; in simplifyX86pshufb()
860 int Indexes[16]; in simplifyX86vpermilvar() local
869 Indexes[I] = -1; in simplifyX86vpermilvar()
886 Indexes[I] = Index.getZExtValue(); in simplifyX86vpermilvar()
890 return Builder.CreateShuffleVector(V1, makeArrayRef(Indexes, NumElts)); in simplifyX86vpermilvar()
906 int Indexes[64]; in simplifyX86vpermv() local
914 Indexes[I] = -1; in simplifyX86vpermv()
920 Indexes[I] = Index; in simplifyX86vpermv()
[all …]

123