Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLiveRangeCalc.cpp57 Indexes = SI; in reset()
64 static void createDeadDef(SlotIndexes &Indexes, VNInfo::Allocator &Alloc, in createDeadDef() argument
68 Indexes.getInstructionIndex(MI).getRegSlot(MO.isEarlyClobber()); in createDeadDef()
75 assert(MRI && Indexes && "call reset() first"); in calculate()
100 createDeadDef(*Indexes, *Alloc, SR, MO); in calculate()
102 *Indexes, TRI); in calculate()
108 createDeadDef(*Indexes, *Alloc, LI, MO); in calculate()
120 SubLRC.reset(MF, Indexes, DomTree, Alloc); in calculate()
148 assert(MRI && Indexes && "call reset() first"); in createDeadDefs()
153 createDeadDef(*Indexes, *Alloc, LR, MO); in createDeadDefs()
[all …]
DVirtRegMap.cpp180 SlotIndexes *Indexes; member in __anond13f35df0111::VirtRegRewriter
240 Indexes = &getAnalysis<SlotIndexes>(); in runOnMachineFunction()
287 for (SlotIndexes::MBBIndexIterator MBBI = Indexes->findMBBIndex(First); in addLiveInsForSubRanges()
288 MBBI != Indexes->MBBIndexEnd() && MBBI->first <= Last; ++MBBI) { in addLiveInsForSubRanges()
331 SlotIndexes::MBBIndexIterator I = Indexes->MBBIndexBegin(); in addMBBLiveIns()
333 I = Indexes->advanceMBBIndex(I, Seg.start); in addMBBLiveIns()
334 for (; I != Indexes->MBBIndexEnd() && I->first < Seg.end; ++I) { in addMBBLiveIns()
392 if (Indexes) in handleIdentityCopy()
393 Indexes->removeSingleMachineInstrFromMaps(MI); in handleIdentityCopy()
461 if (Indexes && BundledMI != FirstMI) in expandCopyBundle()
[all …]
DMachineBasicBlock.cpp275 void MachineBasicBlock::print(raw_ostream &OS, const SlotIndexes *Indexes, in print() argument
287 print(OS, MST, Indexes, IsStandalone); in print()
291 const SlotIndexes *Indexes, in print() argument
300 if (Indexes && PrintSlotIndexes) in print()
301 OS << Indexes->getMBBStartIdx(this) << '\t'; in print()
345 if (Indexes) OS << '\t'; in print()
358 if (Indexes) OS << '\t'; in print()
391 if (Indexes) OS << '\t'; in print()
411 if (Indexes && PrintSlotIndexes) { in print()
412 if (Indexes->hasIndex(MI)) in print()
[all …]
DLiveIntervals.cpp131 Indexes = &getAnalysis<SlotIndexes>(); in runOnMachineFunction()
179 MF->print(OS, Indexes); in printInstrs()
226 RegMaskSlots.push_back(Indexes->getMBBStartIdx(&MBB)); in computeRegMasks()
234 RegMaskSlots.push_back(Indexes->getInstructionIndex(MI).getRegSlot()); in computeRegMasks()
245 Indexes->getInstructionIndex(MBB.back()).getRegSlot()); in computeRegMasks()
330 SlotIndex Begin = Indexes->getMBBStartIdx(&MBB); in computeLiveInRegUnits()
394 const MachineBasicBlock *MBB = Indexes->getMBBFromIndex(Idx.getPrevSlot()); in extendSegmentsToUses()
395 SlotIndex BlockStart = Indexes->getMBBStartIdx(MBB); in extendSegmentsToUses()
409 SlotIndex Stop = Indexes->getMBBEndIdx(Pred); in extendSegmentsToUses()
425 SlotIndex Stop = Indexes->getMBBEndIdx(Pred); in extendSegmentsToUses()
[all …]
DStackColoring.cpp423 SlotIndexes *Indexes; member in __anond7263c110111::StackColoring
739 LLVM_DEBUG(Indexes->getInstructionIndex(MI).print(dbgs())); in collectMarkers()
830 Starts[pos] = Indexes->getMBBStartIdx(&MBB); in calculateLiveIntervals()
839 SlotIndex ThisIndex = Indexes->getInstructionIndex(MI); in calculateLiveIntervals()
868 SlotIndex EndIdx = Indexes->getMBBEndIdx(&MBB); in calculateLiveIntervals()
1013 SlotIndex Index = Indexes->getInstructionIndex(I); in remapInstructions()
1131 SlotIndex Index = Indexes->getInstructionIndex(I); in removeInvalidSlotRanges()
1162 Indexes = &getAnalysis<SlotIndexes>(); in runOnMachineFunction()
1207 LI->getNextValue(Indexes->getZeroIndex(), VNInfoAllocator); in runOnMachineFunction()
DInterferenceCache.h60 SlotIndexes *Indexes = nullptr; variable
107 Indexes = indexes; in clear()
DMachineVerifier.cpp229 SlotIndexes *Indexes; member
339 if (Indexes == nullptr) in verifySlotIndexes()
344 for (SlotIndexes::MBBIndexIterator I = Indexes->MBBIndexBegin(), in verifySlotIndexes()
345 E = Indexes->MBBIndexEnd(); I != E; ++I) { in verifySlotIndexes()
389 Indexes = nullptr; in verify()
396 Indexes = PASS->getAnalysisIfAvailable<SlotIndexes>(); in verify()
484 MF->print(errs(), Indexes); in report()
495 if (Indexes) in report()
496 errs() << " [" << Indexes->getMBBStartIdx(MBB) in report()
497 << ';' << Indexes->getMBBEndIdx(MBB) << ')'; in report()
[all …]
DLiveInterval.cpp446 const SlotIndexes &Indexes) const { in overlaps()
470 !CP.isCoalescable(Indexes.getInstructionFromIndex(Def))) in overlaps()
885 const SlotIndexes &Indexes, in stripValuesNotDefiningMask() argument
901 const MachineInstr *MI = Indexes.getInstructionFromIndex(VNI->def); in stripValuesNotDefiningMask()
933 const SlotIndexes &Indexes, const TargetRegisterInfo &TRI, in refineSubRanges() argument
954 stripValuesNotDefiningMask(reg, *MatchingRange, Matching, Indexes, TRI, in refineSubRanges()
956 stripValuesNotDefiningMask(reg, SR, SR.LaneMask, Indexes, TRI, in refineSubRanges()
979 const SlotIndexes &Indexes) const { in computeSubRangeUndefs()
994 SlotIndex Pos = Indexes.getInstructionIndex(MI).getRegSlot(EarlyClobber); in computeSubRangeUndefs()
DRegisterCoalescer.cpp956 const SlotIndexes &Indexes = *LIS->getSlotIndexes(); in removeCopyByCommutingDef() local
981 Indexes, *TRI); in removeCopyByCommutingDef()
2096 SlotIndexes *Indexes = LIS->getSlotIndexes(); in joinReservedPhysReg() local
2097 for (SlotIndex SI = Indexes->getNextNonNullIndex(DestRegIdx); in joinReservedPhysReg()
2098 SI != CopyRegIdx; SI = Indexes->getNextNonNullIndex(SI)) { in joinReservedPhysReg()
2226 SlotIndexes *Indexes; member in __anondc4614940311::JoinVals
2379 NewVNInfo(newVNInfo), CP(cp), LIS(lis), Indexes(LIS->getSlotIndexes()), in JoinVals()
2452 MachineInstr *MI = Indexes->getInstructionFromIndex(Def); in followCopyChain()
2541 DefMI = Indexes->getInstructionFromIndex(VNI->def); in analyzeValue()
2651 DefMI->getParent() != Indexes->getMBBFromIndex(V.OtherVNI->def)) { in analyzeValue()
[all …]
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()
DInterferenceCache.cpp137 std::tie(Start, Stop) = Indexes->getMBBRange(MBBNum); in update()
215 std::tie(Start, Stop) = Indexes->getMBBRange(MBBNum); in update()
/third_party/boost/boost/intrusive/
Dpack_options.hpp100 template<int... Indexes>
107 template<std::size_t Num, int... Indexes>
108 struct build_number_seq<Num, index_tuple<Indexes...> >
109 : build_number_seq<Num - 1, index_tuple<Indexes..., sizeof...(Indexes)> >
112 template<int... Indexes>
113 struct build_number_seq<0, index_tuple<Indexes...> >
114 { typedef index_tuple<Indexes...> type; };
157 template<class Typelist, class Indexes>
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DLiveIntervals.h60 SlotIndexes* Indexes; variable
212 return Indexes; in getSlotIndexes()
222 return !Indexes->hasIndex(Instr); in isNotInMIMap()
227 return Indexes->getInstructionIndex(Instr); in getInstructionIndex()
232 return Indexes->getInstructionFromIndex(index); in getInstructionFromIndex()
237 return Indexes->getMBBStartIdx(mbb); in getMBBStartIdx()
242 return Indexes->getMBBEndIdx(mbb); in getMBBEndIdx()
256 return Indexes->getMBBFromIndex(index); in getMBBFromIndex()
260 Indexes->insertMBBInMaps(MBB); in insertMBBInMaps()
267 return Indexes->insertMachineInstrInMaps(MI); in InsertMachineInstrInMaps()
[all …]
DLiveRangeCalc.h47 SlotIndexes *Indexes = nullptr; variable
290 const SlotIndexes &Indexes);
DLiveInterval.h577 bool isZeroLength(SlotIndexes *Indexes) const { in isZeroLength() argument
579 if (Indexes->getNextNonNullIndex(S.start).getBaseIndex() < in isZeroLength()
822 const SlotIndexes &Indexes) const;
865 const SlotIndexes &Indexes,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DGCNRegPressure.h204 std::vector<SlotIndex> Indexes; in getLiveRegMap() local
205 Indexes.reserve(std::distance(R.begin(), R.end())); in getLiveRegMap()
209 Indexes.push_back(After ? SI.getDeadSlot() : SI.getBaseIndex()); in getLiveRegMap()
211 std::sort(Indexes.begin(), Indexes.end()); in getLiveRegMap()
222 if (!LI.findIndexesLiveAt(Indexes, std::back_inserter(LiveIdxs))) in getLiveRegMap()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantsContext.h467 ArrayRef<unsigned> Indexes;
473 ArrayRef<unsigned> Indexes = None,
476 SubclassData(SubclassData), Ops(Ops), Indexes(Indexes),
483 Indexes(CE->hasIndices() ? CE->getIndices() : ArrayRef<unsigned>()),
491 Indexes(CE->hasIndices() ? CE->getIndices() : ArrayRef<unsigned>()),
502 Indexes == X.Indexes;
517 if (Indexes != (CE->hasIndices() ? CE->getIndices() : ArrayRef<unsigned>()))
525 hash_combine_range(Indexes.begin(), Indexes.end()));
551 return new InsertValueConstantExpr(Ops[0], Ops[1], Indexes, Ty);
553 return new ExtractValueConstantExpr(Ops[0], Indexes, Ty);
/third_party/abseil-cpp/absl/utility/
Dutility.h237 template <typename Functor, typename Tuple, std::size_t... Indexes>
238 auto apply_helper(Functor&& functor, Tuple&& t, index_sequence<Indexes...>)
241 std::get<Indexes>(absl::forward<Tuple>(t))...)) {
244 std::get<Indexes>(absl::forward<Tuple>(t))...);
/third_party/skia/third_party/externals/abseil-cpp/absl/utility/
Dutility.h237 template <typename Functor, typename Tuple, std::size_t... Indexes>
238 auto apply_helper(Functor&& functor, Tuple&& t, index_sequence<Indexes...>)
241 std::get<Indexes>(absl::forward<Tuple>(t))...)) {
244 std::get<Indexes>(absl::forward<Tuple>(t))...);
/third_party/flatbuffers/tests/cpp17/
Dstringify_util.h76 template<typename FBS, size_t... Indexes>
79 std::index_sequence<Indexes...>) {
81 return (AddStringifiedField<Indexes>(fbs, indent) + ...);
/third_party/boost/boost/type_index/detail/
Dcompile_time_type_info.hpp279 template <unsigned int ...Indexes>
280 …constexpr static const char* impl(::boost::typeindex::detail::index_seq<Indexes...> ) BOOST_NOEXCE… in impl()
281 return ::boost::typeindex::detail::cstring<s<Indexes>()...>::data_; in impl()
/third_party/openGLES/
D.htaccess1 Options +Indexes
/third_party/skia/third_party/externals/opengl-registry/
D.htaccess1 Options +Indexes
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonRegisterInfo.cpp259 const SlotIndexes &Indexes = *LIS.getSlotIndexes(); in shouldCoalesce() local
260 auto HasCall = [&Indexes] (const LiveInterval::Segment &S) { in shouldCoalesce()
263 if (const MachineInstr *MI = Indexes.getInstructionFromIndex(I)) in shouldCoalesce()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/RPC/
DRPCUtils.h556 template <typename ChannelT, typename... CArgTs, size_t... Indexes>
558 std::index_sequence<Indexes...> _) { in deserializeArgsHelper()
560 C, std::get<Indexes>(Args)...); in deserializeArgsHelper()
563 template <typename HandlerT, typename ArgTuple, size_t... Indexes>
567 std::index_sequence<Indexes...>) { in unpackAndRunHelper() argument
568 return run(Handler, std::move(std::get<Indexes>(Args))...); in unpackAndRunHelper()
572 size_t... Indexes>
576 ArgTuple &Args, std::index_sequence<Indexes...>) { in unpackAndRunAsyncHelper() argument
577 return run(Handler, Responder, std::move(std::get<Indexes>(Args))...); in unpackAndRunAsyncHelper()

1234