Home
last modified time | relevance | path

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

123

/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 __anona5dc65ec0111::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 …]
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 …]
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 …]
DStackColoring.cpp423 SlotIndexes *Indexes; member in __anon5cfc8cfe0111::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()
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 …]
DInterferenceCache.h60 SlotIndexes *Indexes = nullptr; variable
107 Indexes = indexes; in clear()
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 __anon158514010311::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()
DSplitKit.cpp523 SlotIndexes &Indexes = *LIS.getSlotIndexes(); in buildSingleSubRegCopy() local
525 Def = Indexes.insertMachineInstrInMaps(*CopyMI, Late).getRegSlot(); in buildSingleSubRegCopy()
534 Indexes, TRI); in buildSingleSubRegCopy()
546 SlotIndexes &Indexes = *LIS.getSlotIndexes(); in buildCopy() local
547 return Indexes.insertMachineInstrInMaps(*CopyMI, Late).getRegSlot(); in buildCopy()
1450 const SlotIndexes &Indexes = *LIS.getSlotIndexes(); in forceRecomputeVNI() local
1459 MachineBasicBlock &MBB = *Indexes.getMBBFromIndex(VNI.def); in forceRecomputeVNI()
1461 SlotIndex PredEnd = Indexes.getMBBEndIdx(Pred); in forceRecomputeVNI()
DRegAllocGreedy.cpp167 SlotIndexes *Indexes; member in __anon4562c5b40111::RAGreedy
721 Prio = LI->beginIndex().getInstrDistance(Indexes->getLastIndex()); in enqueue()
726 Prio = Indexes->getZeroIndex().getInstrDistance(LI->endIndex()); in enqueue()
1214 if (Intf.first() <= Indexes->getMBBStartIdx(BC.Number)) { in addSplitConstraints()
1290 if (Intf.first() <= Indexes->getMBBStartIdx(Number)) in addThroughConstraints()
2113 if (const MachineInstr *MI = Indexes->getInstructionFromIndex(Uses[i])) in tryInstructionSplit()
3239 Indexes = &getAnalysis<SlotIndexes>(); in runOnMachineFunction()
3261 IntfCache.init(MF, Matrix->getLiveUnions(), Indexes, LIS, TRI); in runOnMachineFunction()
/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/node/deps/v8/src/base/
Dtemplate-utils.h19 template <typename Function, std::size_t... Indexes>
21 std::index_sequence<Indexes...>)
22 -> std::array<decltype(f(0)), sizeof...(Indexes)> {
23 return {{f(Indexes)...}};
/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/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/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/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/opengl-registry/
D.htaccess1 Options +Indexes
/third_party/openGLES/
D.htaccess1 Options +Indexes
/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp934 Constant *Indexes[64] = {nullptr}; in simplifyX86pshufb() local
944 Indexes[I] = UndefValue::get(MaskEltTy); in simplifyX86pshufb()
958 Indexes[I] = ConstantInt::get(MaskEltTy, Index); in simplifyX86pshufb()
961 auto ShuffleMask = ConstantVector::get(makeArrayRef(Indexes, NumElts)); in simplifyX86pshufb()
982 Constant *Indexes[16] = {nullptr}; in simplifyX86vpermilvar() local
991 Indexes[I] = UndefValue::get(MaskEltTy); in simplifyX86vpermilvar()
1008 Indexes[I] = ConstantInt::get(MaskEltTy, Index); in simplifyX86vpermilvar()
1011 auto ShuffleMask = ConstantVector::get(makeArrayRef(Indexes, NumElts)); in simplifyX86vpermilvar()
1031 Constant *Indexes[64] = {nullptr}; in simplifyX86vpermv() local
1039 Indexes[I] = UndefValue::get(MaskEltTy); in simplifyX86vpermv()
[all …]

123