Searched refs:NextMI (Results 1 - 16 of 16) sorted by relevance

/openbsd-current/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIPostRABundler.cpp56 bool canBundle(const MachineInstr &MI, const MachineInstr &NextMI) const;
115 const MachineInstr &NextMI) const {
118 return (IMemFlags != 0 && MI.mayLoadOrStore() && !NextMI.isBundled() &&
119 NextMI.mayLoad() == MI.mayLoad() && NextMI.mayStore() == MI.mayStore() &&
120 ((NextMI.getDesc().TSFlags & MemFlags) == IMemFlags) &&
121 !isDependentLoad(NextMI));
H A DGCNRegPressure.cpp318 NextMI = &MI;
319 NextMI = skipDebugInstructionsForward(NextMI, MBBEnd);
320 if (NextMI == MBBEnd)
322 GCNRPTracker::reset(*NextMI, LiveRegsCopy, false);
329 return NextMI == MBBEnd;
331 assert(NextMI == MBBEnd || !NextMI->isDebugInstr());
333 SlotIndex SI = NextMI == MBBEnd
335 : LIS.getInstructionIndex(*NextMI)
[all...]
H A DGCNRegPressure.h161 MachineBasicBlock::const_iterator NextMI; member in class:llvm::GCNDownwardRPTracker
168 MachineBasicBlock::const_iterator getNext() const { return NextMI; }
H A DGCNHazardRecognizer.cpp2829 auto NextMI = std::next(MI->getIterator());
2832 BuildMI(*MI->getParent(), NextMI, MI->getDebugLoc(),
2839 while (NextMI != MI->getParent()->end() &&
2840 NextMI->isBundledWithPred()) {
2841 for (auto &Operand : NextMI->operands()) {
2845 NextMI++;
H A DSIShrinkInstructions.cpp809 if (auto *NextMI = matchSwap(MI)) {
810 Next = NextMI->getIterator();
/openbsd-current/gnu/llvm/llvm/lib/CodeGen/
H A DStackSlotColoring.cpp435 MachineBasicBlock::iterator NextMI = std::next(I); local
445 while ((NextMI != E) && NextMI->isDebugInstr()) {
446 ++NextMI;
449 if (NextMI == E) continue;
450 if (!(StoreReg = TII->isStoreToStackSlot(*NextMI, SecondSS, StoreSize)))
459 if (NextMI->findRegisterUseOperandIdx(LoadReg, true, nullptr) != -1) {
464 toErase.push_back(&*NextMI);
H A DSlotIndexes.cpp148 MachineInstr &NextMI = *Next; local
149 MIEntry.setInstr(&NextMI);
150 mi2iMap.insert(std::make_pair(&NextMI, MIIndex));
/openbsd-current/gnu/llvm/llvm/lib/Target/ARM/
H A DMLxExpansionPass.cpp249 MachineInstr *NextMI = LastMIs[Idx]; local
250 if (!NextMI)
253 if (TII->canCauseFpMLxStall(NextMI->getOpcode())) {
259 if (i <= Limit2 && hasRAWHazard(getDefReg(MI), NextMI))
/openbsd-current/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVInsertVSETVLI.cpp1289 MachineInstr *NextMI = nullptr; local
1308 if (NextMI) {
1311 // Leave NextMI unchanged
1313 } else if (canMutatePriorConfig(MI, *NextMI, Used)) {
1314 if (!isVLPreservingConfig(*NextMI)) {
1315 if (NextMI->getOperand(1).isImm())
1316 MI.getOperand(1).ChangeToImmediate(NextMI->getOperand(1).getImm());
1318 MI.getOperand(1).ChangeToRegister(NextMI->getOperand(1).getReg(), false);
1319 MI.setDesc(NextMI->getDesc());
1321 MI.getOperand(2).setImm(NextMI
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64LowerHomogeneousPrologEpilog.cpp381 for (auto NextMI = NextMBBI; NextMI != MBB.end(); NextMI++) {
382 if (NextMI->readsRegister(AArch64::W16, TRI))
/openbsd-current/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVAsmPrinter.cpp234 const MachineInstr *NextMI = MI->getNextNode(); local
236 (!NextMI || !isFuncOrHeaderInstr(NextMI, TII))) {
H A DSPIRVPreLegalizer.cpp507 MachineInstr *NextMI = CBr->getNextNode(); local
508 assert(NextMI->getOpcode() == SPIRV::G_BR &&
509 NextMI->getOperand(0).isMBB());
510 MachineBasicBlock *NextMBB = NextMI->getOperand(0).getMBB();
H A DSPIRVBuiltins.cpp1469 MachineInstr *NextMI = MI->getNextNode(); local
1470 if (isSpvIntrinsic(*NextMI, Intrinsic::spv_assign_name))
1471 NextMI = NextMI->getNextNode();
1473 if (!isSpvIntrinsic(*NextMI, Intrinsic::spv_assign_type) ||
1474 NextMI->getOperand(1).getReg() != ValueReg)
1476 Type *Ty = getMDOperandAsType(NextMI->getOperand(2).getMetadata(), 0);
/openbsd-current/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonVLIWPacketizer.cpp1364 MachineInstr &NextMI = *NextMII; local
1367 const MachineOperand &NOp0 = NextMI.getOperand(0);
1368 const MachineOperand &NOp1 = NextMI.getOperand(1);
1811 MachineBasicBlock::instr_iterator NextMI = std::next(MI->getIterator()); local
1812 for (auto &I : make_range(HII->expandVGatherPseudo(*MI), NextMI))
/openbsd-current/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp3098 for (const auto &NextMI : *MI->getParent()) {
3099 if (NextMI.isDebugInstr())
3101 DL = NextMI.getDebugLoc();
/openbsd-current/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp7605 for (MachineInstr &NextMI : llvm::make_range(
7607 if (isSelectPseudo(NextMI)) {
7608 assert(NextMI.getOperand(3).getImm() == CCValid &&
7610 if (NextMI.getOperand(4).getImm() == CCMask ||
7611 NextMI.getOperand(4).getImm() == (CCValid ^ CCMask)) {
7612 Selects.push_back(&NextMI);
7617 if (NextMI.definesRegister(SystemZ::CC) || NextMI.usesCustomInsertionHook())
7621 if (NextMI.readsVirtualRegister(SelMI->getOperand(0).getReg())) {
7625 if (NextMI
[all...]

Completed in 413 milliseconds