| /openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| D | GCNRegPressure.cpp | 318 NextMI = &MI; in reset() 319 NextMI = skipDebugInstructionsForward(NextMI, MBBEnd); in reset() 320 if (NextMI == MBBEnd) in reset() 322 GCNRPTracker::reset(*NextMI, LiveRegsCopy, false); in reset() 329 return NextMI == MBBEnd; in advanceBeforeNext() 331 assert(NextMI == MBBEnd || !NextMI->isDebugInstr()); in advanceBeforeNext() 333 SlotIndex SI = NextMI == MBBEnd in advanceBeforeNext() 335 : LIS.getInstructionIndex(*NextMI).getBaseIndex(); in advanceBeforeNext() 362 return NextMI == MBBEnd; in advanceBeforeNext() 366 LastTrackedMI = &*NextMI++; in advanceToNext() [all …]
|
| D | SIPostRABundler.cpp | 56 bool canBundle(const MachineInstr &MI, const MachineInstr &NextMI) const; 115 const MachineInstr &NextMI) const { in canBundle() 118 return (IMemFlags != 0 && MI.mayLoadOrStore() && !NextMI.isBundled() && in canBundle() 119 NextMI.mayLoad() == MI.mayLoad() && NextMI.mayStore() == MI.mayStore() && in canBundle() 120 ((NextMI.getDesc().TSFlags & MemFlags) == IMemFlags) && in canBundle() 121 !isDependentLoad(NextMI)); in canBundle()
|
| D | GCNRegPressure.h | 161 MachineBasicBlock::const_iterator NextMI; variable 168 MachineBasicBlock::const_iterator getNext() const { return NextMI; } in getNext()
|
| D | GCNHazardRecognizer.cpp | 2829 auto NextMI = std::next(MI->getIterator()); in fixVALUMaskWriteHazard() local 2832 BuildMI(*MI->getParent(), NextMI, MI->getDebugLoc(), in fixVALUMaskWriteHazard() 2839 while (NextMI != MI->getParent()->end() && in fixVALUMaskWriteHazard() 2840 NextMI->isBundledWithPred()) { in fixVALUMaskWriteHazard() 2841 for (auto &Operand : NextMI->operands()) { in fixVALUMaskWriteHazard() 2845 NextMI++; in fixVALUMaskWriteHazard()
|
| D | SIShrinkInstructions.cpp | 809 if (auto *NextMI = matchSwap(MI)) { in runOnMachineFunction() local 810 Next = NextMI->getIterator(); in runOnMachineFunction()
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/ |
| D | StackSlotColoring.cpp | 435 MachineBasicBlock::iterator NextMI = std::next(I); in RemoveDeadStores() local 445 while ((NextMI != E) && NextMI->isDebugInstr()) { in RemoveDeadStores() 446 ++NextMI; in RemoveDeadStores() 449 if (NextMI == E) continue; in RemoveDeadStores() 450 if (!(StoreReg = TII->isStoreToStackSlot(*NextMI, SecondSS, StoreSize))) in RemoveDeadStores() 459 if (NextMI->findRegisterUseOperandIdx(LoadReg, true, nullptr) != -1) { in RemoveDeadStores() 464 toErase.push_back(&*NextMI); in RemoveDeadStores()
|
| D | SlotIndexes.cpp | 148 MachineInstr &NextMI = *Next; in removeSingleMachineInstrFromMaps() local 149 MIEntry.setInstr(&NextMI); in removeSingleMachineInstrFromMaps() 150 mi2iMap.insert(std::make_pair(&NextMI, MIIndex)); in removeSingleMachineInstrFromMaps()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/RISCV/ |
| D | RISCVInsertVSETVLI.cpp | 1289 MachineInstr *NextMI = nullptr; in doLocalPostpass() local 1308 if (NextMI) { in doLocalPostpass() 1313 } else if (canMutatePriorConfig(MI, *NextMI, Used)) { in doLocalPostpass() 1314 if (!isVLPreservingConfig(*NextMI)) { in doLocalPostpass() 1315 if (NextMI->getOperand(1).isImm()) in doLocalPostpass() 1316 MI.getOperand(1).ChangeToImmediate(NextMI->getOperand(1).getImm()); in doLocalPostpass() 1318 MI.getOperand(1).ChangeToRegister(NextMI->getOperand(1).getReg(), false); in doLocalPostpass() 1319 MI.setDesc(NextMI->getDesc()); in doLocalPostpass() 1321 MI.getOperand(2).setImm(NextMI->getOperand(2).getImm()); in doLocalPostpass() 1322 ToDelete.push_back(NextMI); in doLocalPostpass() [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/ARM/ |
| D | MLxExpansionPass.cpp | 249 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()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/AArch64/ |
| D | AArch64LowerHomogeneousPrologEpilog.cpp | 381 for (auto NextMI = NextMBBI; NextMI != MBB.end(); NextMI++) { in shouldUseFrameHelper() local 382 if (NextMI->readsRegister(AArch64::W16, TRI)) in shouldUseFrameHelper()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| D | HexagonVLIWPacketizer.cpp | 1364 MachineInstr &NextMI = *NextMII; in isLegalToPacketizeTogether() local 1367 const MachineOperand &NOp0 = NextMI.getOperand(0); in isLegalToPacketizeTogether() 1368 const MachineOperand &NOp1 = NextMI.getOperand(1); in isLegalToPacketizeTogether() 1811 MachineBasicBlock::instr_iterator NextMI = std::next(MI->getIterator()); in endPacket() local 1812 for (auto &I : make_range(HII->expandVGatherPseudo(*MI), NextMI)) in endPacket()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/SystemZ/ |
| D | SystemZISelLowering.cpp | 7605 for (MachineInstr &NextMI : llvm::make_range( in emitSelect() 7607 if (isSelectPseudo(NextMI)) { in emitSelect() 7608 assert(NextMI.getOperand(3).getImm() == CCValid && in emitSelect() 7610 if (NextMI.getOperand(4).getImm() == CCMask || in emitSelect() 7611 NextMI.getOperand(4).getImm() == (CCValid ^ CCMask)) { in emitSelect() 7612 Selects.push_back(&NextMI); in emitSelect() 7617 if (NextMI.definesRegister(SystemZ::CC) || NextMI.usesCustomInsertionHook()) in emitSelect() 7621 if (NextMI.readsVirtualRegister(SelMI->getOperand(0).getReg())) { in emitSelect() 7625 if (NextMI.isDebugInstr()) { in emitSelect() 7627 assert(NextMI.isDebugValue() && "Unhandled debug opcode."); in emitSelect() [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/ |
| D | CodeViewDebug.cpp | 3098 for (const auto &NextMI : *MI->getParent()) { in beginInstruction() 3099 if (NextMI.isDebugInstr()) in beginInstruction() 3101 DL = NextMI.getDebugLoc(); in beginInstruction()
|