Home
last modified time | relevance | path

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

12

/external/llvm/lib/CodeGen/
DLiveRangeCalc.cpp35 Indexes = SI; in reset()
43 static void createDeadDef(SlotIndexes &Indexes, VNInfo::Allocator &Alloc, in createDeadDef() argument
47 Indexes.getInstructionIndex(MI).getRegSlot(MO.isEarlyClobber()); in createDeadDef()
54 assert(MRI && Indexes && "call reset() first"); in calculate()
94 createDeadDef(*Indexes, *Alloc, *CommonRange, MO); in calculate()
101 createDeadDef(*Indexes, *Alloc, *NewRange, MO); in calculate()
108 createDeadDef(*Indexes, *Alloc, LI, MO); in calculate()
123 LI.constructMainRangeFromSubranges(*Indexes, *Alloc); in calculate()
132 assert(MRI && Indexes && "call reset() first"); in createDeadDefs()
137 createDeadDef(*Indexes, *Alloc, LR, MO); in createDeadDefs()
[all …]
DLiveIntervalAnalysis.cpp128 Indexes = &getAnalysis<SlotIndexes>(); in runOnMachineFunction()
180 MF->print(OS, Indexes); in printInstrs()
229 RegMaskSlots.push_back(Indexes->getInstructionIndex(MI).getRegSlot()); in computeRegMasks()
306 SlotIndex Begin = Indexes->getMBBStartIdx(MBB); in computeLiveInRegUnits()
347 static void extendSegmentsToUses(LiveRange &LR, const SlotIndexes &Indexes, in extendSegmentsToUses() argument
360 const MachineBasicBlock *MBB = Indexes.getMBBFromIndex(Idx.getPrevSlot()); in extendSegmentsToUses()
361 SlotIndex BlockStart = Indexes.getMBBStartIdx(MBB); in extendSegmentsToUses()
375 SlotIndex Stop = Indexes.getMBBEndIdx(Pred); in extendSegmentsToUses()
391 SlotIndex Stop = Indexes.getMBBEndIdx(Pred); in extendSegmentsToUses()
446 extendSegmentsToUses(NewLR, *Indexes, WorkList, *li); in shrinkToUses()
[all …]
DMachineBasicBlock.cpp257 void MachineBasicBlock::print(raw_ostream &OS, SlotIndexes *Indexes) const { in print()
265 if (Indexes) in print()
266 OS << Indexes->getMBBStartIdx(this) << '\t'; in print()
286 if (Indexes) OS << '\t'; in print()
294 if (Indexes) OS << '\t'; in print()
302 if (Indexes) { in print()
303 if (Indexes->hasIndex(I)) in print()
304 OS << Indexes->getInstructionIndex(I); in print()
315 if (Indexes) OS << '\t'; in print()
708 SlotIndexes *Indexes = P->getAnalysisIfAvailable<SlotIndexes>(); in SplitCriticalEdge() local
[all …]
DStackColoring.cpp121 SlotIndexes *Indexes; member in __anon1f3233290111::StackColoring
397 SlotIndex ThisIndex = Indexes->getInstructionIndex(MI); in calculateLiveIntervals()
412 Starts[pos] = Indexes->getMBBStartIdx(&MBB); in calculateLiveIntervals()
416 Finishes[pos] = Indexes->getMBBEndIdx(&MBB); in calculateLiveIntervals()
434 SlotIndex NewStart = Indexes->getMBBStartIdx(&MBB); in calculateLiveIntervals()
435 SlotIndex NewFin = Indexes->getMBBEndIdx(&MBB); in calculateLiveIntervals()
560 SlotIndex Index = Indexes->getInstructionIndex(&I); in remapInstructions()
611 SlotIndex Index = Indexes->getInstructionIndex(&I); in removeInvalidSlotRanges()
646 Indexes = &getAnalysis<SlotIndexes>(); in runOnMachineFunction()
688 LI->getNextValue(Indexes->getZeroIndex(), VNInfoAllocator); in runOnMachineFunction()
DVirtRegMap.cpp163 SlotIndexes *Indexes; member in __anon1700c3f70111::VirtRegRewriter
212 Indexes = &getAnalysis<SlotIndexes>(); in runOnMachineFunction()
258 if (!Indexes->findLiveInMBBs(Seg.start, Seg.end, LiveIn)) in addMBBLiveIns()
277 if (!Indexes->findLiveInMBBs(Seg.start, Seg.end, LiveIn)) in addMBBLiveIns()
311 DEBUG(MBBI->print(dbgs(), Indexes)); in rewrite()
419 if (Indexes) in rewrite()
420 Indexes->removeMachineInstrFromMaps(MI); in rewrite()
DInterferenceCache.h55 SlotIndexes *Indexes; variable
97 Entry() : PhysReg(0), Tag(0), RefCount(0), Indexes(nullptr), LIS(nullptr) {} in Entry()
103 Indexes = indexes; in clear()
DLiveRangeCalc.h39 SlotIndexes *Indexes; variable
138 LiveRangeCalc() : MF(nullptr), MRI(nullptr), Indexes(nullptr), in LiveRangeCalc()
DMachineVerifier.cpp195 SlotIndexes *Indexes; member
288 Indexes = nullptr; in runOnMachineFunction()
295 Indexes = PASS->getAnalysisIfAvailable<SlotIndexes>(); in runOnMachineFunction()
368 MF->print(errs(), Indexes); in report()
380 if (Indexes) in report()
381 errs() << " [" << Indexes->getMBBStartIdx(MBB) in report()
382 << ';' << Indexes->getMBBEndIdx(MBB) << ')'; in report()
390 if (Indexes && Indexes->hasIndex(MI)) in report()
391 errs() << Indexes->getInstructionIndex(MI) << '\t'; in report()
697 if (Indexes) in visitMachineBasicBlockBefore()
[all …]
DLiveInterval.cpp390 const SlotIndexes &Indexes) const { in overlaps()
414 !CP.isCoalescable(Indexes.getInstructionFromIndex(Def))) in overlaps()
787 static VNInfo *searchForVNI(const SlotIndexes &Indexes, LiveRange &LR, in searchForVNI() argument
791 SlotIndex EndIdx = Indexes.getMBBEndIdx(MBB); in searchForVNI()
807 VNI = searchForVNI(Indexes, LR, Pred, Visited); in searchForVNI()
817 static void determineMissingVNIs(const SlotIndexes &Indexes, LiveInterval &LI) { in determineMissingVNIs() argument
830 const MachineBasicBlock *MBB = Indexes.getMBBFromIndex(S.start); in determineMissingVNIs()
832 VNInfo *VNI = searchForVNI(Indexes, LI, Pred, Visited); in determineMissingVNIs()
861 const SlotIndexes &Indexes, VNInfo::Allocator &VNIAllocator) { in constructMainRangeFromSubranges() argument
967 const MachineBasicBlock *MBB = Indexes.getMBBFromIndex(Pos); in constructMainRangeFromSubranges()
[all …]
DRegisterCoalescer.cpp1478 SlotIndexes *Indexes = LIS->getSlotIndexes(); in joinReservedPhysReg() local
1479 for (SlotIndex SI = Indexes->getNextNonNullIndex(DestRegIdx); in joinReservedPhysReg()
1480 SI != CopyRegIdx; SI = Indexes->getNextNonNullIndex(SI)) { in joinReservedPhysReg()
1604 SlotIndexes *Indexes; member in __anona927d7ac0211::JoinVals
1749 NewVNInfo(newVNInfo), CP(cp), LIS(lis), Indexes(LIS->getSlotIndexes()), in JoinVals()
1807 MachineInstr *MI = Indexes->getInstructionFromIndex(Def); in followCopyChain()
1878 DefMI = Indexes->getInstructionFromIndex(VNI->def); in analyzeValue()
1985 DefMI->getParent() != Indexes->getMBBFromIndex(V.OtherVNI->def)) { in analyzeValue()
2069 MachineBasicBlock *MBB = Indexes->getMBBFromIndex(VNI->def); in analyzeValue()
2070 if (OtherLRQ.endPoint() >= Indexes->getMBBEndIdx(MBB)) in analyzeValue()
[all …]
DInterferenceCache.cpp126 std::tie(Start, Stop) = Indexes->getMBBRange(MBBNum); in update()
203 std::tie(Start, Stop) = Indexes->getMBBRange(MBBNum); in update()
DRegAllocGreedy.cpp116 SlotIndexes *Indexes; member in __anon4e4d313f0111::RAGreedy
551 Prio = LI->beginIndex().getInstrDistance(Indexes->getLastIndex()); in enqueue()
556 Prio = Indexes->getZeroIndex().getInstrDistance(LI->endIndex()); in enqueue()
925 if (Intf.first() <= Indexes->getMBBStartIdx(BC.Number)) in addSplitConstraints()
983 if (Intf.first() <= Indexes->getMBBStartIdx(Number)) in addThroughConstraints()
1566 if (const MachineInstr *MI = Indexes->getInstructionFromIndex(Uses[i])) in tryInstructionSplit()
2541 Indexes = &getAnalysis<SlotIndexes>(); in runOnMachineFunction()
2561 IntfCache.init(MF, Matrix->getLiveUnions(), Indexes, LIS, TRI); in runOnMachineFunction()
DMachineFunction.cpp334 void MachineFunction::print(raw_ostream &OS, SlotIndexes *Indexes) const { in print()
370 BB.print(OS, Indexes); in print()
/external/llvm/include/llvm/CodeGen/
DLiveIntervalAnalysis.h59 SlotIndexes* Indexes; variable
188 return Indexes; in getSlotIndexes()
198 return !Indexes->hasIndex(Instr); in isNotInMIMap()
203 return Indexes->getInstructionIndex(instr); in getInstructionIndex()
208 return Indexes->getInstructionFromIndex(index); in getInstructionFromIndex()
213 return Indexes->getMBBStartIdx(mbb); in getMBBStartIdx()
218 return Indexes->getMBBEndIdx(mbb); in getMBBEndIdx()
232 return Indexes->getMBBFromIndex(index); in getMBBFromIndex()
236 Indexes->insertMBBInMaps(MBB); in insertMBBInMaps()
243 return Indexes->insertMachineInstrInMaps(MI); in InsertMachineInstrInMaps()
[all …]
DLiveInterval.h538 bool isZeroLength(SlotIndexes *Indexes) const { in isZeroLength() argument
540 if (Indexes->getNextNonNullIndex(S.start).getBaseIndex() < in isZeroLength()
708 void constructMainRangeFromSubranges(const SlotIndexes &Indexes,
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
Dexample-bind.cpp207 template<int I, int... Indexes, typename T, typename... Types>
208 struct make_indexes_impl<I, int_tuple<Indexes...>, T, Types...> {
209 typedef typename make_indexes_impl<I+1, int_tuple<Indexes..., I>, Types...>::type type;
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>
289 unwrap_and_forward(F& f, int_tuple<Indexes...>, const tuple<Args&...>& args) { in unwrap_and_forward() argument
290 return f(get<Indexes>(args)...); in unwrap_and_forward()
297 typedef typename make_indexes<Args...>::type Indexes; in mu() typedef
[all …]
/external/llvm/lib/IR/
DConstantsContext.h422 ArrayRef<unsigned> Indexes;
427 ArrayRef<unsigned> Indexes = None)
429 SubclassData(SubclassData), Ops(Ops), Indexes(Indexes) {}
434 Indexes(CE->hasIndices() ? CE->getIndices() : ArrayRef<unsigned>()) {}
440 Indexes(CE->hasIndices() ? CE->getIndices() : ArrayRef<unsigned>()) {
450 Indexes == X.Indexes;
465 if (Indexes != (CE->hasIndices() ? CE->getIndices() : ArrayRef<unsigned>()))
473 hash_combine_range(Indexes.begin(), Indexes.end()));
496 return new InsertValueConstantExpr(Ops[0], Ops[1], Indexes, Ty);
498 return new ExtractValueConstantExpr(Ops[0], Indexes, Ty);
/external/llvm/lib/AsmParser/
DLLParser.cpp5639 bool LLParser::sortUseListOrder(Value *V, ArrayRef<unsigned> Indexes, in sortUseListOrder() argument
5647 if (++NumUses > Indexes.size()) in sortUseListOrder()
5649 Order[&U] = Indexes[NumUses - 1]; in sortUseListOrder()
5653 if (Order.size() != Indexes.size() || NumUses > Indexes.size()) in sortUseListOrder()
5665 bool LLParser::ParseUseListOrderIndexes(SmallVectorImpl<unsigned> &Indexes) { in ParseUseListOrderIndexes() argument
5678 assert(Indexes.empty() && "Expected empty order vector"); in ParseUseListOrderIndexes()
5685 Offset += Index - Indexes.size(); in ParseUseListOrderIndexes()
5687 IsOrdered &= Index == Indexes.size(); in ParseUseListOrderIndexes()
5689 Indexes.push_back(Index); in ParseUseListOrderIndexes()
5695 if (Indexes.size() < 2) in ParseUseListOrderIndexes()
[all …]
DLLParser.h467 bool ParseUseListOrderIndexes(SmallVectorImpl<unsigned> &Indexes);
468 bool sortUseListOrder(Value *V, ArrayRef<unsigned> Indexes, SMLoc Loc);
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp907 uint32_t Indexes[8]; in visitCallInst() local
915 Indexes[I] = Index; in visitCallInst()
919 Indexes[I] = 0; in visitCallInst()
929 Indexes[I] += Size / 2; in visitCallInst()
932 ConstantDataVector::get(V->getContext(), makeArrayRef(Indexes, Size)); in visitCallInst()
/external/wpa_supplicant_8/hs20/server/
Dhs20-osu-server.txt227 Options Indexes MultiViews FollowSymLinks
/external/nanopb-c/generator/proto/google/protobuf/
Ddescriptor.proto62 // Indexes of the public imported files in the dependency list above.
64 // Indexes of the weak imported files in the dependency list.
/external/protobuf/src/google/protobuf/
Ddescriptor.proto62 // Indexes of the public imported files in the dependency list above.
64 // Indexes of the weak imported files in the dependency list.
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRBaseTree.m259 …@throw [ANTLRIllegalArgumentException newException:@"ANTLRBaseTree Invalid Indexes; no children in…
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp3352 SmallVectorImpl<int> &Indexes = I->second; in ForwardSwitchConditionToPHI() local
3354 if (Indexes.size() < 2) continue; in ForwardSwitchConditionToPHI()
3356 for (size_t I = 0, E = Indexes.size(); I != E; ++I) in ForwardSwitchConditionToPHI()
3357 Phi->setIncomingValue(Indexes[I], SI->getCondition()); in ForwardSwitchConditionToPHI()

12