/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | LiveRangeCalc.cpp | 30 void LiveRangeCalc::updateLiveIns(VNInfo *OverrideVNI, SlotIndexes *Indexes) { in updateLiveIns() argument 41 tie(Start, End) = Indexes->getMBBRange(MBB); in updateLiveIns() 59 SlotIndexes *Indexes, in extend() argument 64 assert(Indexes && "Missing SlotIndexes"); in extend() 67 MachineBasicBlock *KillMBB = Indexes->getMBBFromIndex(Kill.getPrevSlot()); in extend() 71 if (LI->extendInBlock(Indexes->getMBBStartIdx(KillMBB), Kill)) in extend() 78 VNInfo *VNI = findReachingDefs(LI, KillMBB, Kill, Indexes, DomTree); in extend() 82 updateSSA(Indexes, DomTree, Alloc); in extend() 84 updateLiveIns(VNI, Indexes); in extend() 91 void LiveRangeCalc::calculateValues(SlotIndexes *Indexes, in calculateValues() argument [all …]
|
D | LiveRangeCalc.h | 106 SlotIndexes *Indexes, 114 void updateSSA(SlotIndexes *Indexes, 141 SlotIndexes *Indexes, 159 SlotIndexes *Indexes, 169 SlotIndexes *Indexes, 219 void calculateValues(SlotIndexes *Indexes,
|
D | InterferenceCache.h | 24 SlotIndexes *Indexes; variable 53 SlotIndexes *Indexes; variable 74 Entry() : PhysReg(0), Tag(0), RefCount(0), Indexes(0) {} in Entry() 80 Indexes = indexes; in clear() 127 InterferenceCache() : TRI(0), LIUArray(0), Indexes(0), MF(0), RoundRobin(0) {} in InterferenceCache()
|
D | MachineLoopRanges.cpp | 40 Indexes = &getAnalysis<SlotIndexes>(); in runOnMachineFunction() 52 Range = new MachineLoopRange(Loop, Allocator, *Indexes); in getLoopRange() 59 SlotIndexes &Indexes) in MachineLoopRange() argument 64 const std::pair<SlotIndex, SlotIndex> &Range = Indexes.getMBBRange(*I); in MachineLoopRange()
|
D | MachineVerifier.cpp | 182 SlotIndexes *Indexes; member 268 Indexes = NULL; in runOnMachineFunction() 275 Indexes = PASS->getAnalysisIfAvailable<SlotIndexes>(); in runOnMachineFunction() 320 MF->print(*OS, Indexes); in report() 332 if (Indexes) in report() 333 *OS << " [" << Indexes->getMBBStartIdx(MBB) in report() 334 << ';' << Indexes->getMBBEndIdx(MBB) << ')'; in report() 342 if (Indexes && Indexes->hasIndex(MI)) in report() 343 *OS << Indexes->getInstructionIndex(MI) << '\t'; in report() 543 if (Indexes) in visitMachineBasicBlockBefore() [all …]
|
D | MachineBasicBlock.cpp | 198 void MachineBasicBlock::print(raw_ostream &OS, SlotIndexes *Indexes) const { in print() 208 if (Indexes) in print() 209 OS << Indexes->getMBBStartIdx(this) << '\t'; in print() 225 if (Indexes) OS << '\t'; in print() 233 if (Indexes) OS << '\t'; in print() 241 if (Indexes) { in print() 242 if (Indexes->hasIndex(I)) in print() 243 OS << Indexes->getInstructionIndex(I); in print() 252 if (Indexes) OS << '\t'; in print()
|
/external/llvm/lib/CodeGen/ |
D | LiveRangeCalc.cpp | 35 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() 148 assert(MRI && Indexes && "call reset() first"); in createDeadDefs() 153 createDeadDef(*Indexes, *Alloc, LR, MO); in createDeadDefs() 191 UseIdx = Indexes->getMBBEndIdx(MI->getOperand(OpNo+1).getMBB()); in extendToUses() [all …]
|
D | LiveIntervalAnalysis.cpp | 119 Indexes = &getAnalysis<SlotIndexes>(); in runOnMachineFunction() 171 MF->print(OS, Indexes); in printInstrs() 216 RegMaskSlots.push_back(Indexes->getMBBStartIdx(&MBB)); in computeRegMasks() 224 RegMaskSlots.push_back(Indexes->getInstructionIndex(MI).getRegSlot()); in computeRegMasks() 235 Indexes->getInstructionIndex(MBB.back()).getRegSlot()); in computeRegMasks() 313 SlotIndex Begin = Indexes->getMBBStartIdx(MBB); in computeLiveInRegUnits() 353 static void extendSegmentsToUses(LiveRange &LR, const SlotIndexes &Indexes, in extendSegmentsToUses() argument 366 const MachineBasicBlock *MBB = Indexes.getMBBFromIndex(Idx.getPrevSlot()); in extendSegmentsToUses() 367 SlotIndex BlockStart = Indexes.getMBBStartIdx(MBB); in extendSegmentsToUses() 381 SlotIndex Stop = Indexes.getMBBEndIdx(Pred); in extendSegmentsToUses() [all …]
|
D | VirtRegMap.cpp | 161 SlotIndexes *Indexes; member in __anon1700c3f70111::VirtRegRewriter 217 Indexes = &getAnalysis<SlotIndexes>(); in runOnMachineFunction() 264 for (SlotIndexes::MBBIndexIterator MBBI = Indexes->findMBBIndex(First); in addLiveInsForSubRanges() 265 MBBI != Indexes->MBBIndexEnd() && MBBI->first <= Last; ++MBBI) { in addLiveInsForSubRanges() 308 SlotIndexes::MBBIndexIterator I = Indexes->MBBIndexBegin(); in addMBBLiveIns() 310 I = Indexes->advanceMBBIndex(I, Seg.start); in addMBBLiveIns() 311 for (; I != Indexes->MBBIndexEnd() && I->first < Seg.end; ++I) { in addMBBLiveIns() 368 if (Indexes) in handleIdentityCopy() 369 Indexes->removeMachineInstrFromMaps(MI); in handleIdentityCopy() 382 DEBUG(MBBI->print(dbgs(), Indexes)); in rewrite()
|
D | MachineBasicBlock.cpp | 233 void MachineBasicBlock::print(raw_ostream &OS, const SlotIndexes *Indexes) in print() 244 print(OS, MST, Indexes); in print() 248 const SlotIndexes *Indexes) const { in print() 256 if (Indexes) in print() 257 OS << Indexes->getMBBStartIdx(this) << '\t'; in print() 277 if (Indexes) OS << '\t'; in print() 288 if (Indexes) OS << '\t'; in print() 296 if (Indexes) { in print() 297 if (Indexes->hasIndex(I)) in print() 298 OS << Indexes->getInstructionIndex(I); in print() [all …]
|
D | StackColoring.cpp | 280 SlotIndexes *Indexes; member in __anon1f3233290111::StackColoring 604 DEBUG(Indexes->getInstructionIndex(MI).print(dbgs())); in collectMarkers() 696 SlotIndex ThisIndex = Indexes->getInstructionIndex(MI); in calculateLiveIntervals() 712 Starts[pos] = Indexes->getMBBStartIdx(&MBB); in calculateLiveIntervals() 716 Finishes[pos] = Indexes->getMBBEndIdx(&MBB); in calculateLiveIntervals() 741 Finishes[i] = Indexes->getMBBEndIdx(&MBB); in calculateLiveIntervals() 756 SlotIndex NewStart = Indexes->getMBBStartIdx(&MBB); in calculateLiveIntervals() 757 SlotIndex NewFin = Indexes->getMBBEndIdx(&MBB); in calculateLiveIntervals() 893 SlotIndex Index = Indexes->getInstructionIndex(I); in remapInstructions() 952 SlotIndex Index = Indexes->getInstructionIndex(I); in removeInvalidSlotRanges() [all …]
|
D | InterferenceCache.h | 55 SlotIndexes *Indexes; variable 97 Entry() : PhysReg(0), Tag(0), RefCount(0), Indexes(nullptr), LIS(nullptr) {} in Entry() 103 Indexes = indexes; in clear()
|
D | MachineVerifier.cpp | 195 SlotIndexes *Indexes; member 299 if (Indexes == nullptr) in verifySlotIndexes() 304 for (SlotIndexes::MBBIndexIterator I = Indexes->MBBIndexBegin(), in verifySlotIndexes() 305 E = Indexes->MBBIndexEnd(); I != E; ++I) { in verifySlotIndexes() 336 Indexes = nullptr; in verify() 343 Indexes = PASS->getAnalysisIfAvailable<SlotIndexes>(); in verify() 432 MF->print(errs(), Indexes); in report() 444 if (Indexes) in report() 445 errs() << " [" << Indexes->getMBBStartIdx(MBB) in report() 446 << ';' << Indexes->getMBBEndIdx(MBB) << ')'; in report() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | LiveRangeCalc.cpp | 58 Indexes = SI; in reset() 65 static void createDeadDef(SlotIndexes &Indexes, VNInfo::Allocator &Alloc, in createDeadDef() argument 69 Indexes.getInstructionIndex(MI).getRegSlot(MO.isEarlyClobber()); in createDeadDef() 76 assert(MRI && Indexes && "call reset() first"); in calculate() 101 createDeadDef(*Indexes, *Alloc, SR, MO); 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() 160 LI->computeSubRangeUndefs(Undefs, Mask, *MRI, *Indexes); in extendToUses() [all …]
|
D | VirtRegMap.cpp | 182 SlotIndexes *Indexes; member in __anone2b8782f0111::VirtRegRewriter 242 Indexes = &getAnalysis<SlotIndexes>(); in runOnMachineFunction() 289 for (SlotIndexes::MBBIndexIterator MBBI = Indexes->findMBBIndex(First); in addLiveInsForSubRanges() 290 MBBI != Indexes->MBBIndexEnd() && MBBI->first <= Last; ++MBBI) { in addLiveInsForSubRanges() 333 SlotIndexes::MBBIndexIterator I = Indexes->MBBIndexBegin(); in addMBBLiveIns() 335 I = Indexes->advanceMBBIndex(I, Seg.start); in addMBBLiveIns() 336 for (; I != Indexes->MBBIndexEnd() && I->first < Seg.end; ++I) { in addMBBLiveIns() 394 if (Indexes) in handleIdentityCopy() 395 Indexes->removeSingleMachineInstrFromMaps(MI); in handleIdentityCopy() 463 if (Indexes && BundledMI != FirstMI) in expandCopyBundle() [all …]
|
D | MachineBasicBlock.cpp | 263 void MachineBasicBlock::print(raw_ostream &OS, const SlotIndexes *Indexes, in print() argument 275 print(OS, MST, Indexes, IsStandalone); in print() 279 const SlotIndexes *Indexes, in print() argument 288 if (Indexes) in print() 289 OS << Indexes->getMBBStartIdx(this) << '\t'; in print() 333 if (Indexes) OS << '\t'; in print() 346 if (Indexes) OS << '\t'; in print() 379 if (Indexes) OS << '\t'; in print() 399 if (Indexes) { in print() 400 if (Indexes->hasIndex(MI)) in print() [all …]
|
D | LiveIntervals.cpp | 132 Indexes = &getAnalysis<SlotIndexes>(); in runOnMachineFunction() 180 MF->print(OS, Indexes); in printInstrs() 222 RegMaskSlots.push_back(Indexes->getMBBStartIdx(&MBB)); in computeRegMasks() 230 RegMaskSlots.push_back(Indexes->getInstructionIndex(MI).getRegSlot()); in computeRegMasks() 241 Indexes->getInstructionIndex(MBB.back()).getRegSlot()); in computeRegMasks() 326 SlotIndex Begin = Indexes->getMBBStartIdx(&MBB); in computeLiveInRegUnits() 390 const MachineBasicBlock *MBB = Indexes->getMBBFromIndex(Idx.getPrevSlot()); in extendSegmentsToUses() 391 SlotIndex BlockStart = Indexes->getMBBStartIdx(MBB); in extendSegmentsToUses() 405 SlotIndex Stop = Indexes->getMBBEndIdx(Pred); in extendSegmentsToUses() 421 SlotIndex Stop = Indexes->getMBBEndIdx(Pred); in extendSegmentsToUses() [all …]
|
D | StackColoring.cpp | 423 SlotIndexes *Indexes; member in __anonc65c1c610111::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() 1011 SlotIndex Index = Indexes->getInstructionIndex(I); in remapInstructions() 1112 SlotIndex Index = Indexes->getInstructionIndex(I); in removeInvalidSlotRanges() 1143 Indexes = &getAnalysis<SlotIndexes>(); in runOnMachineFunction() 1188 LI->getNextValue(Indexes->getZeroIndex(), VNInfoAllocator); in runOnMachineFunction()
|
/external/llvm/include/llvm/CodeGen/ |
D | LiveIntervalAnalysis.h | 58 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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | LiveIntervals.h | 61 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 …]
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
D | example-bind.cpp | 207 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/v8/src/base/ |
D | template-utils.h | 20 template <class Function, std::size_t... Indexes> 23 template <class Function, std::size_t... Indexes> 24 struct make_array_helper<Function, 0, Indexes...> { 26 sizeof...(Indexes) + 1> 28 return {{f(0), f(Indexes)...}}; 32 template <class Function, std::size_t FirstIndex, std::size_t... Indexes> 33 struct make_array_helper<Function, FirstIndex, Indexes...> 34 : make_array_helper<Function, FirstIndex - 1, FirstIndex, Indexes...> {};
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | ConstantsContext.h | 468 ArrayRef<unsigned> Indexes; 474 ArrayRef<unsigned> Indexes = None, 477 SubclassData(SubclassData), Ops(Ops), Indexes(Indexes), 484 Indexes(CE->hasIndices() ? CE->getIndices() : ArrayRef<unsigned>()) {} 491 Indexes(CE->hasIndices() ? CE->getIndices() : ArrayRef<unsigned>()) { 501 Indexes == X.Indexes; 516 if (Indexes != (CE->hasIndices() ? CE->getIndices() : ArrayRef<unsigned>())) 524 hash_combine_range(Indexes.begin(), Indexes.end())); 548 return new InsertValueConstantExpr(Ops[0], Ops[1], Indexes, Ty); 550 return new ExtractValueConstantExpr(Ops[0], Indexes, Ty);
|
/external/llvm/lib/IR/ |
D | ConstantsContext.h | 445 ArrayRef<unsigned> Indexes; 451 ArrayRef<unsigned> Indexes = None, 454 SubclassData(SubclassData), Ops(Ops), Indexes(Indexes), 460 Indexes(CE->hasIndices() ? CE->getIndices() : ArrayRef<unsigned>()) {} 466 Indexes(CE->hasIndices() ? CE->getIndices() : ArrayRef<unsigned>()) { 476 Indexes == X.Indexes; 491 if (Indexes != (CE->hasIndices() ? CE->getIndices() : ArrayRef<unsigned>())) 499 hash_combine_range(Indexes.begin(), Indexes.end())); 522 return new InsertValueConstantExpr(Ops[0], Ops[1], Indexes, Ty); 524 return new ExtractValueConstantExpr(Ops[0], Indexes, Ty);
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | MachineLoopRanges.h | 91 SlotIndexes *Indexes; variable 97 MachineLoopRanges() : MachineFunctionPass(ID), Indexes(0) {} in MachineLoopRanges()
|