HomeSort by: relevance | last modified time | path
    Searched refs:Indexes (Results 1 - 25 of 37) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
LiveIntervalCalc.cpp 42 static void createDeadDef(SlotIndexes &Indexes, VNInfo::Allocator &Alloc,
46 Indexes.getInstructionIndex(MI).getRegSlot(MO.isEarlyClobber());
54 SlotIndexes *Indexes = getIndexes();
57 assert(MRI && Indexes && "call reset() first");
81 [&MO, Indexes, Alloc](LiveInterval::SubRange &SR) {
83 createDeadDef(*Indexes, *Alloc, SR, MO);
85 *Indexes, TRI);
91 createDeadDef(*Indexes, *Alloc, LI, MO);
105 SubLIC.reset(MF, Indexes, DomTree, Alloc);
135 SlotIndexes *Indexes = getIndexes()
    [all...]
LiveRangeCalc.cpp 57 Indexes = SI;
72 std::tie(Start, End) = Indexes->getMBBRange(MBB);
92 assert(Indexes && "Missing SlotIndexes");
95 MachineBasicBlock *UseMBB = Indexes->getMBBFromIndex(Use.getPrevSlot());
99 auto EP = LR.extendInBlock(Undefs, Indexes->getMBBStartIdx(UseMBB), Use);
118 assert(Indexes && "Missing SlotIndexes");
156 std::tie(Begin, End) = Indexes->getMBBRange(&B);
216 const MachineInstr *MI = Indexes->getInstructionFromIndex(Use);
245 std::tie(Start, End) = Indexes->getMBBRange(Pred);
286 std::tie(Start, End) = Indexes->getMBBRange(BN)
    [all...]
LiveIntervals.cpp 132 Indexes = &getAnalysis<SlotIndexes>();
180 MF->print(OS, Indexes);
227 RegMaskSlots.push_back(Indexes->getMBBStartIdx(&MBB));
236 RegMaskSlots.push_back(Indexes->getMBBStartIdx(&MBB));
244 RegMaskSlots.push_back(Indexes->getInstructionIndex(MI).getRegSlot());
255 Indexes->getInstructionIndex(MBB.back()).getRegSlot());
340 SlotIndex Begin = Indexes->getMBBStartIdx(&MBB);
404 const MachineBasicBlock *MBB = Indexes->getMBBFromIndex(Idx.getPrevSlot());
405 SlotIndex BlockStart = Indexes->getMBBStartIdx(MBB);
419 SlotIndex Stop = Indexes->getMBBEndIdx(Pred)
    [all...]
VirtRegMap.cpp 181 SlotIndexes *Indexes;
249 Indexes = &getAnalysis<SlotIndexes>();
299 for (SlotIndexes::MBBIndexIterator MBBI = Indexes->findMBBIndex(First);
300 MBBI != Indexes->MBBIndexEnd() && MBBI->first <= Last; ++MBBI) {
347 // sorted by slot indexes.
348 SlotIndexes::MBBIndexIterator I = Indexes->MBBIndexBegin();
350 I = Indexes->advanceMBBIndex(I, Seg.start);
351 for (; I != Indexes->MBBIndexEnd() && I->first < Seg.end; ++I) {
418 if (Indexes)
419 Indexes->removeSingleMachineInstrFromMaps(MI)
    [all...]
MachineBasicBlock.cpp 333 void MachineBasicBlock::print(raw_ostream &OS, const SlotIndexes *Indexes,
345 print(OS, MST, Indexes, IsStandalone);
349 const SlotIndexes *Indexes,
358 if (Indexes && PrintSlotIndexes)
359 OS << Indexes->getMBBStartIdx(this) << '\t';
371 if (Indexes) OS << '\t';
382 if (Indexes) OS << '\t';
413 if (Indexes) OS << '\t';
430 if (Indexes && PrintSlotIndexes) {
431 if (Indexes->hasIndex(MI)
    [all...]
InterferenceCache.h 59 /// Indexes - Mapping block numbers to SlotIndex ranges.
60 SlotIndexes *Indexes = nullptr;
103 void clear(MachineFunction *mf, SlotIndexes *indexes, LiveIntervals *lis) {
107 Indexes = indexes;
168 SlotIndexes *indexes, LiveIntervals *lis,
StackColoring.cpp 453 SlotIndexes *Indexes;
784 LLVM_DEBUG(Indexes->getInstructionIndex(MI).print(dbgs()));
874 Starts[pos] = Indexes->getMBBStartIdx(&MBB);
883 SlotIndex ThisIndex = Indexes->getInstructionIndex(MI);
912 SlotIndex EndIdx = Indexes->getMBBEndIdx(&MBB);
1062 SlotIndex Index = Indexes->getInstructionIndex(I);
1180 SlotIndex Index = Indexes->getInstructionIndex(I);
1211 Indexes = &getAnalysis<SlotIndexes>();
1256 LI->getNextValue(Indexes->getZeroIndex(), VNInfoAllocator);
LiveInterval.cpp 446 const SlotIndexes &Indexes) const {
470 !CP.isCoalescable(Indexes.getInstructionFromIndex(Def)))
885 const SlotIndexes &Indexes,
901 const MachineInstr *MI = Indexes.getInstructionFromIndex(VNI->def);
933 const SlotIndexes &Indexes, const TargetRegisterInfo &TRI,
954 stripValuesNotDefiningMask(reg(), *MatchingRange, Matching, Indexes, TRI,
956 stripValuesNotDefiningMask(reg(), SR, SR.LaneMask, Indexes, TRI,
979 const SlotIndexes &Indexes) const {
994 SlotIndex Pos = Indexes.getInstructionIndex(MI).getRegSlot(EarlyClobber);
1368 // DBG_VALUE instructions don't have slot indexes, so get the index o
    [all...]
RenameIndependentSubregs.cpp 304 const SlotIndexes &Indexes = *LIS->getSlotIndexes();
324 MachineBasicBlock &MBB = *Indexes.getMBBFromIndex(Def);
326 SlotIndex PredEnd = Indexes.getMBBEndIdx(PredMBB);
InterferenceCache.cpp 52 SlotIndexes *indexes,
60 Entries[i].clear(mf, indexes, lis);
133 std::tie(Start, Stop) = Indexes->getMBBRange(MBBNum);
211 std::tie(Start, Stop) = Indexes->getMBBRange(MBBNum);
MachineVerifier.cpp 207 SlotIndexes *Indexes;
315 // SlotIndexes *Indexes;
331 if (Indexes == nullptr)
334 // Ensure the IdxMBB list is sorted by slot indexes.
336 for (SlotIndexes::MBBIndexIterator I = Indexes->MBBIndexBegin(),
337 E = Indexes->MBBIndexEnd(); I != E; ++I) {
379 Indexes = nullptr;
386 Indexes = PASS->getAnalysisIfAvailable<SlotIndexes>();
469 MF->print(errs(), Indexes);
480 if (Indexes)
    [all...]
SplitKit.cpp 533 SlotIndexes &Indexes = *LIS.getSlotIndexes();
535 Def = Indexes.insertMachineInstrInMaps(*CopyMI, Late).getRegSlot();
544 Indexes, TRI);
556 SlotIndexes &Indexes = *LIS.getSlotIndexes();
557 return Indexes.insertMachineInstrInMaps(*CopyMI, Late).getRegSlot();
570 SmallVector<unsigned, 8> Indexes;
572 // Abort if we cannot possibly implement the COPY with the given indexes.
573 if (!TRI.getCoveringSubRegIndexes(MRI, RC, LaneMask, Indexes))
577 for (unsigned BestIdx : Indexes) {
628 SlotIndexes &Indexes = *LIS.getSlotIndexes()
    [all...]
RegisterCoalescer.cpp 977 const SlotIndexes &Indexes = *LIS->getSlotIndexes();
1002 Indexes, *TRI);
2199 SlotIndexes *Indexes = LIS->getSlotIndexes();
2200 for (SlotIndex SI = Indexes->getNextNonNullIndex(DestRegIdx);
2201 SI != CopyRegIdx; SI = Indexes->getNextNonNullIndex(SI)) {
2329 SlotIndexes *Indexes;
2482 NewVNInfo(newVNInfo), CP(cp), LIS(lis), Indexes(LIS->getSlotIndexes()),
2556 MachineInstr *MI = Indexes->getInstructionFromIndex(Def);
2645 DefMI = Indexes->getInstructionFromIndex(VNI->def);
2755 DefMI->getParent() != Indexes->getMBBFromIndex(V.OtherVNI->def))
    [all...]
RegAllocGreedy.cpp 162 SlotIndexes *Indexes;
758 Prio = LI->beginIndex().getInstrDistance(Indexes->getLastIndex());
763 Prio = Indexes->getZeroIndex().getInstrDistance(LI->endIndex());
1257 if (Intf.first() <= Indexes->getMBBStartIdx(BC.Number)) {
1333 if (Intf.first() <= Indexes->getMBBStartIdx(Number))
2120 if (const MachineInstr *MI = Indexes->getInstructionFromIndex(Use))
3330 Indexes = &getAnalysis<SlotIndexes>();
3356 IntfCache.init(MF, Matrix->getLiveUnions(), Indexes, LIS, TRI);
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
LiveIntervals.h 60 SlotIndexes* Indexes;
77 /// MI = Indexes->getInstructionFromIndex(RegMaskSlot[N]);
212 return Indexes;
222 return !Indexes->hasIndex(Instr);
227 return Indexes->getInstructionIndex(Instr);
232 return Indexes->getInstructionFromIndex(index);
237 return Indexes->getMBBStartIdx(mbb);
242 return Indexes->getMBBEndIdx(mbb);
256 return Indexes->getMBBFromIndex(index);
260 Indexes->insertMBBInMaps(MBB)
    [all...]
LiveRangeCalc.h 49 SlotIndexes *Indexes = nullptr;
54 /// redundant, it can be computed as: MDT[Indexes.getMBBFromIndex(VNI->def)].
169 SlotIndexes *getIndexes() { return Indexes; }
265 const SlotIndexes &Indexes);
LiveInterval.h 578 bool isZeroLength(SlotIndexes *Indexes) const {
580 if (Indexes->getNextNonNullIndex(S.start).getBaseIndex() <
587 // provided slot indexes. Slots which occur in holes between
612 /// Stores indexes from the input index sequence R at which this LiveRange
615 /// to the input indexes. Indexes stored at O are ascending sorted so it
818 /// For a given lane mask @p LaneMask, compute indexes at which the
823 const SlotIndexes &Indexes) const;
836 /// \p Indexes and \p TRI are required to clean up the VNIs that
866 const SlotIndexes &Indexes,
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
GCNRegPressure.h 213 std::vector<SlotIndex> Indexes;
214 Indexes.reserve(std::distance(R.begin(), R.end()));
218 Indexes.push_back(After ? SI.getDeadSlot() : SI.getBaseIndex());
220 llvm::sort(Indexes);
231 if (!LI.findIndexesLiveAt(Indexes, std::back_inserter(LiveIdxs)))
239 // constrain search for subranges by indexes live at main range
  /src/external/apache2/llvm/dist/llvm/lib/IR/
ConstantsContext.h 517 ArrayRef<unsigned> Indexes;
543 ArrayRef<unsigned> Indexes = None,
547 SubclassData(SubclassData), Ops(Ops), Indexes(Indexes),
554 Indexes(getIndicesIfValid(CE)), ShuffleMask(getShuffleMaskIfValid(CE)),
562 Indexes(getIndicesIfValid(CE)), ShuffleMask(getShuffleMaskIfValid(CE)),
573 Indexes == X.Indexes && ShuffleMask == X.ShuffleMask &&
589 if (Indexes != getIndicesIfValid(CE))
602 hash_combine_range(Indexes.begin(), Indexes.end())
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
SampleProfileProbe.cpp 230 std::vector<uint8_t> Indexes;
238 Indexes.push_back((uint8_t)(Index >> (J * 8)));
242 JC.update(Indexes);
245 (uint64_t)Indexes.size() << 32 | JC.getCRC();
252 << Indexes.size() << ", ICSites = " << CallProbeIds.size()
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
CloneDetection.cpp 147 // Erasing a list of indexes from the vector should be done with decreasing
148 // indexes. As IndexesToRemove is constructed with increasing values, we just
481 // Contains all indexes in HashGroup that were already added to a
483 std::vector<char> Indexes;
484 Indexes.resize(HashGroup.size());
487 // Skip indexes that are already part of a CloneGroup.
488 if (Indexes[i])
494 // We don't add i to Indexes because we never iterate back.
497 ++Indexes[i];
501 // Skip indexes that are already part of a CloneGroup
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonRegisterInfo.cpp 366 const SlotIndexes &Indexes = *LIS.getSlotIndexes();
367 auto HasCall = [&Indexes] (const LiveInterval::Segment &S) {
370 if (const MachineInstr *MI = Indexes.getInstructionFromIndex(I))
  /src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/Shared/
RPCUtils.h 552 template <typename ChannelT, typename... CArgTs, size_t... Indexes>
554 std::index_sequence<Indexes...> _) {
556 C, std::get<Indexes>(Args)...);
559 template <typename HandlerT, typename ArgTuple, size_t... Indexes>
563 std::index_sequence<Indexes...>) {
564 return run(Handler, std::move(std::get<Indexes>(Args))...);
568 size_t... Indexes>
572 ArgTuple &Args, std::index_sequence<Indexes...>) {
573 return run(Handler, Responder, std::move(std::get<Indexes>(Args))...);
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86InstCombineIntrinsic.cpp 816 int Indexes[64];
826 Indexes[I] = -1;
840 Indexes[I] = Index;
845 return Builder.CreateShuffleVector(V1, V2, makeArrayRef(Indexes, NumElts));
862 int Indexes[16];
871 Indexes[I] = -1;
888 Indexes[I] = Index.getZExtValue();
892 return Builder.CreateShuffleVector(V1, makeArrayRef(Indexes, NumElts));
908 int Indexes[64];
916 Indexes[I] = -1
    [all...]
  /src/external/apache2/llvm/dist/clang/utils/TableGen/
ClangDiagnosticsEmitter.cpp 561 int Indexes[2] = {};
915 PlaceholderPiece E(MT_Placeholder, P->Indexes[0]);
916 PlaceholderPiece F(MT_Placeholder, P->Indexes[1]);
992 addInt(mapIndex(P->Indexes[0]));
994 addInt(mapIndex(P->Indexes[1]));
1137 Diff->Indexes[0] = parseModifier(Text);
1139 Diff->Indexes[1] = parseModifier(Text);

Completed in 74 milliseconds

1 2