/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | LiveIntervalCalc.cpp | 44 SlotIndexes *Indexes = getIndexes(); in calculate() local 47 assert(MRI && Indexes && "call reset() first"); in calculate() 71 [&MO, Indexes, Alloc](LiveInterval::SubRange &SR) { in calculate() 73 createDeadDef(*Indexes, *Alloc, SR, MO); in calculate() 75 *Indexes, TRI); in calculate() 81 createDeadDef(*Indexes, *Alloc, LI, MO); in calculate() 95 SubLIC.reset(MF, Indexes, DomTree, Alloc); in calculate() 125 SlotIndexes *Indexes = getIndexes(); in createDeadDefs() local 127 assert(MRI && Indexes && "call reset() first"); in createDeadDefs() 132 createDeadDef(*Indexes, *Alloc, LR, MO); in createDeadDefs() [all …]
|
H A D | LiveRangeCalc.cpp | 55 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() 248 std::tie(Start, End) = Indexes->getMBBRange(Pred); in findReachingDefs() 289 std::tie(Start, End) = Indexes->getMBBRange(BN); in findReachingDefs() 333 assert(Indexes && "Missing SlotIndexes"); in updateSSA() 402 std::tie(Start, End) = Indexes->getMBBRange(MBB); in updateSSA() [all …]
|
H A D | RegAllocPriorityAdvisor.h | 35 SlotIndexes *const Indexes); 44 SlotIndexes *const Indexes; variable 52 SlotIndexes *const Indexes) in DefaultPriorityAdvisor() argument 53 : RegAllocPriorityAdvisor(MF, RA, Indexes) {} in DefaultPriorityAdvisor()
|
H A D | LiveIntervals.cpp | 125 Indexes = &getAnalysis<SlotIndexes>(); in runOnMachineFunction() 173 MF->print(OS, Indexes); in printInstrs() 329 SlotIndex Begin = Indexes->getMBBStartIdx(&MBB); in computeLiveInRegUnits() 407 SlotIndex Stop = Indexes->getMBBEndIdx(Pred); in extendSegmentsToUses() 423 SlotIndex Stop = Indexes->getMBBEndIdx(Pred); in extendSegmentsToUses() 632 SlotIndex MBBEnd = Indexes->getMBBEndIdx(KillMBB); in pruneValue() 1466 SlotIndexes *Indexes = LIS.getSlotIndexes(); in findLastUseBefore() local 1504 Indexes->removeMachineInstrFromMaps(MI); in handleMove() 1525 if (!Indexes->hasIndex(*I)) in handleMoveIntoNewBundle() 1529 Indexes->removeMachineInstrFromMaps(*I, true); in handleMoveIntoNewBundle() [all …]
|
H A D | VirtRegMap.cpp | 188 SlotIndexes *Indexes = nullptr; member in __anonf8c80b5d0111::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->getMBBLowerBound(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 D | MachineBasicBlock.cpp | 362 if (Indexes && PrintSlotIndexes) in print() 375 if (Indexes) OS << '\t'; in print() 386 if (Indexes) OS << '\t'; in print() 417 if (Indexes) OS << '\t'; in print() 435 if (Indexes->hasIndex(MI)) in print() 460 if (Indexes) OS << '\t'; in print() 1105 SlotIndexes *Indexes; member in SlotIndexUpdateDelegate 1110 : MF(MF), Indexes(Indexes) { in SlotIndexUpdateDelegate() 1122 if (Indexes) in MF_HandleInsertion() 1163 else if (Indexes) in SplitCriticalEdge() [all …]
|
H A D | MLRegAllocPriorityAdvisor.cpp | 94 SlotIndexes *const Indexes, MLModelRunner *Runner); 179 SlotIndexes *const Indexes, in DevelopmentModePriorityAdvisor() argument 181 : MLPriorityAdvisor(MF, RA, Indexes, Runner), Log(Log) {} in DevelopmentModePriorityAdvisor() 287 SlotIndexes *const Indexes, in MLPriorityAdvisor() argument 289 : RegAllocPriorityAdvisor(MF, RA, Indexes), DefaultAdvisor(MF, RA, Indexes), in MLPriorityAdvisor()
|
H A D | RegAllocPriorityAdvisor.cpp | 106 SlotIndexes *const Indexes) in RegAllocPriorityAdvisor() argument 109 RegClassInfo(RA.getRegClassInfo()), Indexes(Indexes), in RegAllocPriorityAdvisor()
|
H A D | StackColoring.cpp | 421 SlotIndexes *Indexes = nullptr; member in __anona6c008cf0111::StackColoring 751 LLVM_DEBUG(Indexes->getInstructionIndex(MI).print(dbgs())); in collectMarkers() 841 Starts[pos] = Indexes->getMBBStartIdx(&MBB); in calculateLiveIntervals() 850 SlotIndex ThisIndex = Indexes->getInstructionIndex(MI); in calculateLiveIntervals() 879 SlotIndex EndIdx = Indexes->getMBBEndIdx(&MBB); in calculateLiveIntervals() 1030 SlotIndex Index = Indexes->getInstructionIndex(I); in remapInstructions() 1151 SlotIndex Index = Indexes->getInstructionIndex(I); in removeInvalidSlotRanges() 1182 Indexes = &getAnalysis<SlotIndexes>(); in runOnMachineFunction() 1227 LI->getNextValue(Indexes->getZeroIndex(), VNInfoAllocator); in runOnMachineFunction()
|
H A D | MachineVerifier.cpp | 97 SlotIndexes *Indexes) in MachineVerifier() 99 Indexes(Indexes) {} in MachineVerifier() 221 SlotIndexes *Indexes = nullptr; member 375 if (Indexes == nullptr) in verifySlotIndexes() 512 MF->print(errs(), Indexes); in report() 523 if (Indexes) in report() 533 if (Indexes && Indexes->hasIndex(*MI)) in report() 834 if (Indexes) in visitMachineBasicBlockBefore() 835 lastIndex = Indexes->getMBBStartIdx(MBB); in visitMachineBasicBlockBefore() 841 if (Indexes && Indexes->hasIndex(*MI)) { in visitMachineBundleBefore() [all …]
|
H A D | InterferenceCache.h | 60 SlotIndexes *Indexes = nullptr; variable 107 Indexes = indexes; in clear()
|
H A D | LiveInterval.cpp | 431 const SlotIndexes &Indexes) const { in overlaps() 455 !CP.isCoalescable(Indexes.getInstructionFromIndex(Def))) in overlaps() 874 const SlotIndexes &Indexes, in stripValuesNotDefiningMask() argument 890 const MachineInstr *MI = Indexes.getInstructionFromIndex(VNI->def); in stripValuesNotDefiningMask() 922 const SlotIndexes &Indexes, const TargetRegisterInfo &TRI, in refineSubRanges() argument 943 stripValuesNotDefiningMask(reg(), *MatchingRange, Matching, Indexes, TRI, in refineSubRanges() 945 stripValuesNotDefiningMask(reg(), SR, SR.LaneMask, Indexes, TRI, in refineSubRanges() 968 const SlotIndexes &Indexes) const { in computeSubRangeUndefs() 983 SlotIndex Pos = Indexes.getInstructionIndex(MI).getRegSlot(EarlyClobber); in computeSubRangeUndefs()
|
H A D | RenameIndependentSubregs.cpp | 304 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 D | RegisterCoalescer.cpp | 989 const SlotIndexes &Indexes = *LIS->getSlotIndexes(); in removeCopyByCommutingDef() local 1014 Indexes, *TRI); in removeCopyByCommutingDef() 2303 SlotIndexes *Indexes = LIS->getSlotIndexes(); in joinReservedPhysReg() local 2433 SlotIndexes *Indexes; member in __anon495410520311::JoinVals 2669 MachineInstr *MI = Indexes->getInstructionFromIndex(Def); in followCopyChain() 2758 DefMI = Indexes->getInstructionFromIndex(VNI->def); in analyzeValue() 2874 Indexes->getInstructionFromIndex(V.OtherVNI->def); in analyzeValue() 3007 MachineBasicBlock *MBB = Indexes->getMBBFromIndex(VNI->def); in analyzeValue() 3008 if (OtherLRQ.endPoint() >= Indexes->getMBBEndIdx(MBB)) in analyzeValue() 3075 SlotIndex MBBEnd = Indexes->getMBBEndIdx(MBB); in taintExtent() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
H A D | LVSupport.cpp | 75 LexicalIndexes Indexes; in getAllLexicalIndexes() local 79 LexicalEntry Entry = Indexes.back(); in getAllLexicalIndexes() 115 Indexes.push_back(LexicalEntry(Current, Length - 1)); in getAllLexicalIndexes() 117 return Indexes; in getAllLexicalIndexes() 124 LexicalIndexes Indexes = getAllLexicalIndexes(Name); in getInnerComponent() local 125 if (Indexes.size() == 1) in getInnerComponent() 128 LexicalEntry BeginEntry = Indexes.front(); in getInnerComponent() 129 LexicalEntry EndEntry = Indexes[Indexes.size() - 2]; in getInnerComponent() 133 LexicalEntry LastEntry = Indexes.back(); in getInnerComponent() 144 LexicalIndexes Indexes = getAllLexicalIndexes(Name); in getAllLexicalComponents() local [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | LiveIntervals.h | 58 SlotIndexes *Indexes = nullptr; variable 217 return Indexes; in getSlotIndexes() 223 return !Indexes->hasIndex(Instr); in isNotInMIMap() 228 return Indexes->getInstructionIndex(Instr); in getInstructionIndex() 238 return Indexes->getMBBStartIdx(mbb); in getMBBStartIdx() 243 return Indexes->getMBBEndIdx(mbb); in getMBBEndIdx() 257 return Indexes->getMBBFromIndex(index); in getMBBFromIndex() 261 Indexes->insertMBBInMaps(MBB); in insertMBBInMaps() 268 return Indexes->insertMachineInstrInMaps(MI); in InsertMachineInstrInMaps() 274 Indexes->insertMachineInstrInMaps(*I); in InsertMachineInstrRangeInMaps() [all …]
|
H A D | LiveRangeCalc.h | 48 SlotIndexes *Indexes = nullptr; variable 168 SlotIndexes *getIndexes() { return Indexes; } in getIndexes() 264 const SlotIndexes &Indexes);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SILowerSGPRSpills.cpp | 40 SlotIndexes *Indexes = nullptr; member in __anon7ba8d0b30111::SILowerSGPRSpills 116 if (Indexes) { in insertCSRSaves() 119 Indexes->insertMachineInstrInMaps(Inst); in insertCSRSaves() 131 SlotIndexes *Indexes, LiveIntervals *LIS) { in insertCSRRestores() argument 156 if (Indexes) { in insertCSRRestores() 158 Indexes->insertMachineInstrInMaps(Inst); in insertCSRRestores() 247 insertCSRSaves(*SaveBlock, CSI, Indexes, LIS); in spillCalleeSavedRegs() 254 insertCSRRestores(*RestoreBlock, CSI, Indexes, LIS); in spillCalleeSavedRegs() 314 Indexes = getAnalysisIfAvailable<SlotIndexes>(); in runOnMachineFunction() 374 MI, FI, nullptr, Indexes, LIS, true); in runOnMachineFunction() [all …]
|
H A D | SILowerWWMCopies.cpp | 55 SlotIndexes *Indexes; member in __anonad7da77e0111::SILowerWWMCopies 106 Indexes = getAnalysisIfAvailable<SlotIndexes>(); in runOnMachineFunction() 129 isSCCLiveAtMI(MI), Indexes); in runOnMachineFunction() 130 TII->restoreExec(MF, MBB, ++InsertPt, DL, RegForExecCopy, Indexes); in runOnMachineFunction()
|
H A D | GCNRegPressure.h | 269 std::vector<SlotIndex> Indexes; in getLiveRegMap() local 270 Indexes.reserve(std::distance(R.begin(), R.end())); in getLiveRegMap() 274 Indexes.push_back(After ? SI.getDeadSlot() : SI.getBaseIndex()); in getLiveRegMap() 276 llvm::sort(Indexes); in getLiveRegMap() 287 if (!LI.findIndexesLiveAt(Indexes, std::back_inserter(LiveIdxs))) in getLiveRegMap()
|
H A D | SIRegisterInfo.h | 155 SlotIndexes *Indexes = nullptr, LiveIntervals *LIS = nullptr, 160 SlotIndexes *Indexes = nullptr, LiveIntervals *LIS = nullptr, 174 SlotIndexes *Indexes = nullptr, LiveIntervals *LIS = nullptr,
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | CloneDetection.cpp | 482 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()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | SampleProfileProbe.cpp | 186 std::vector<uint8_t> Indexes; in computeCFGHash() local 192 Indexes.push_back((uint8_t)(Index >> (J * 8))); in computeCFGHash() 196 JC.update(Indexes); in computeCFGHash() 199 (uint64_t)Indexes.size() << 32 | JC.getCRC(); in computeCFGHash() 206 << Indexes.size() << ", ICSites = " << CallProbeIds.size() in computeCFGHash()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonRegisterInfo.cpp | 372 const SlotIndexes &Indexes = *LIS.getSlotIndexes(); in shouldCoalesce() local 373 auto HasCall = [&Indexes] (const LiveInterval::Segment &S) { in shouldCoalesce() 376 if (const MachineInstr *MI = Indexes.getInstructionFromIndex(I)) in shouldCoalesce()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaRISCVVectorLookup.cpp | 46 SmallVector<uint32_t, 8> Indexes; member 400 OverloadIntrinsicDef.Indexes.push_back(Index); in InitRVVIntrinsic() 471 for (auto Index : OvIntrinsicDef.Indexes) in CreateIntrinsicIfFound()
|