Home
last modified time | relevance | path

Searched refs:NextMI (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DSIPostRABundler.cpp56 bool canBundle(const MachineInstr &MI, const MachineInstr &NextMI) const;
112 const MachineInstr &NextMI) const { in canBundle()
115 return (IMemFlags != 0 && MI.mayLoadOrStore() && !NextMI.isBundled() && in canBundle()
116 NextMI.mayLoad() == MI.mayLoad() && NextMI.mayStore() == MI.mayStore() && in canBundle()
117 ((NextMI.getDesc().TSFlags & MemFlags) == IMemFlags) && in canBundle()
118 !isDependentLoad(NextMI)); in canBundle()
H A DGCNRegPressure.cpp347 NextMI = &MI; in reset()
348 NextMI = skipDebugInstructionsForward(NextMI, MBBEnd); in reset()
349 if (NextMI == MBBEnd) in reset()
351 GCNRPTracker::reset(*NextMI, LiveRegsCopy, false); in reset()
358 NextMI = skipDebugInstructionsForward(NextMI, MBBEnd); in advanceBeforeNext()
359 if (NextMI == MBBEnd) in advanceBeforeNext()
362 SlotIndex SI = LIS.getInstructionIndex(*NextMI).getBaseIndex(); in advanceBeforeNext()
391 LastTrackedMI = &*NextMI++; in advanceToNext()
392 NextMI = skipDebugInstructionsForward(NextMI, MBBEnd); in advanceToNext()
412 if ((NextMI == MBBEnd) || (LastTrackedMI && !advanceBeforeNext())) in advance()
[all …]
H A DGCNRegPressure.h163 MachineBasicBlock::const_iterator NextMI; variable
170 MachineBasicBlock::const_iterator getNext() const { return NextMI; } in getNext()
H A DSIShrinkInstructions.cpp636 if (auto *NextMI = matchSwap(MI, MRI, TII)) { in runOnMachineFunction() local
637 Next = NextMI->getIterator(); in runOnMachineFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DStackSlotColoring.cpp440 MachineBasicBlock::iterator NextMI = std::next(I); in RemoveDeadStores() local
450 while ((NextMI != E) && NextMI->isDebugInstr()) { in RemoveDeadStores()
451 ++NextMI; in RemoveDeadStores()
454 if (NextMI == E) continue; in RemoveDeadStores()
455 if (!(StoreReg = TII->isStoreToStackSlot(*NextMI, SecondSS, StoreSize))) in RemoveDeadStores()
464 if (NextMI->findRegisterUseOperandIdx(LoadReg, true, nullptr) != -1) { in RemoveDeadStores()
469 toErase.push_back(&*NextMI); in RemoveDeadStores()
H A DSlotIndexes.cpp148 MachineInstr &NextMI = *Next; in removeSingleMachineInstrFromMaps() local
149 MIEntry.setInstr(&NextMI); in removeSingleMachineInstrFromMaps()
150 mi2iMap.insert(std::make_pair(&NextMI, MIIndex)); in removeSingleMachineInstrFromMaps()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DMLxExpansionPass.cpp249 MachineInstr *NextMI = LastMIs[Idx]; in FindMLxHazard() local
250 if (!NextMI) in FindMLxHazard()
253 if (TII->canCauseFpMLxStall(NextMI->getOpcode())) { in FindMLxHazard()
259 if (i <= Limit2 && hasRAWHazard(getDefReg(MI), NextMI)) in FindMLxHazard()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64LowerHomogeneousPrologEpilog.cpp380 for (auto NextMI = NextMBBI; NextMI != MBB.end(); NextMI++) { in shouldUseFrameHelper() local
381 if (NextMI->readsRegister(AArch64::W16, TRI)) in shouldUseFrameHelper()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AVR/
H A DAVRFrameLowering.cpp303 MachineBasicBlock::iterator NextMI = std::next(I); in fixStackStores() local
309 I = NextMI; in fixStackStores()
324 I = NextMI; in fixStackStores()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonVLIWPacketizer.cpp1358 MachineInstr &NextMI = *NextMII; in isLegalToPacketizeTogether() local
1361 const MachineOperand &NOp0 = NextMI.getOperand(0); in isLegalToPacketizeTogether()
1362 const MachineOperand &NOp1 = NextMI.getOperand(1); in isLegalToPacketizeTogether()
1795 MachineBasicBlock::instr_iterator NextMI = std::next(MI->getIterator()); in endPacket() local
1796 for (auto &I : make_range(HII->expandVGatherPseudo(*MI), NextMI)) in endPacket()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp2958 for (const auto &NextMI : *MI->getParent()) { in beginInstruction()
2959 if (NextMI.isDebugInstr()) in beginInstruction()
2961 DL = NextMI.getDebugLoc(); in beginInstruction()