Home
last modified time | relevance | path

Searched refs:LastMI (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineInstrBundle.cpp112 for (auto MII = FirstMI; MII != LastMI; ++MII) in getDebugLoc()
126 MachineBasicBlock::instr_iterator LastMI) { in finalizeBundle() argument
127 assert(FirstMI != LastMI && "Empty bundle?"); in finalizeBundle()
128 MIBundleBuilder Bundle(MBB, FirstMI, LastMI); in finalizeBundle()
147 for (auto MII = FirstMI; MII != LastMI; ++MII) { in finalizeBundle()
234 for (auto MII = FirstMI; MII != LastMI; ++MII) { in finalizeBundle()
251 MachineBasicBlock::instr_iterator LastMI = std::next(FirstMI); in finalizeBundle() local
252 while (LastMI != E && LastMI->isInsideBundle()) in finalizeBundle()
253 ++LastMI; in finalizeBundle()
254 finalizeBundle(MBB, FirstMI, LastMI); in finalizeBundle()
[all …]
H A DRegisterCoalescer.cpp3076 MachineInstr *LastMI = in resolveConflicts() local
3078 assert(LastMI && "Range must end at a proper instruction"); in resolveConflicts()
3087 if (&*MI == LastMI) { in resolveConflicts()
3090 LastMI = Indexes->getInstructionFromIndex(TaintExtent[TaintNum].first); in resolveConflicts()
3091 assert(LastMI && "Range must end at a proper instruction"); in resolveConflicts()
H A DMachinePipeliner.cpp940 MachineInstr *LastMI = MRI.getUniqueVRegDef(NewBase); in changeDependences() local
941 if (!LastMI) in changeDependences()
943 SUnit *LastSU = getSUnit(LastMI); in changeDependences()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMHazardRecognizer.cpp53 if (LastMI && (MCID.TSFlags & ARMII::DomainMask) != ARMII::DomainGeneral) { in getHazardType()
54 MachineInstr *DefMI = LastMI; in getHazardType()
55 const MCInstrDesc &LastMCID = LastMI->getDesc(); in getHazardType()
61 if (!LastMI->isBarrier() && in getHazardType()
62 !(TII.getSubtarget().hasMuxedUnits() && LastMI->mayLoadOrStore()) && in getHazardType()
64 MachineBasicBlock::iterator I = LastMI; in getHazardType()
65 if (I != LastMI->getParent()->begin()) { in getHazardType()
85 LastMI = nullptr; in Reset()
92 LastMI = MI; in EmitInstruction()
100 LastMI = nullptr; in AdvanceCycle()
H A DARMHazardRecognizer.h33 MachineInstr *LastMI = nullptr; variable
H A DARMConstantIslandPass.cpp2049 MachineInstr *LastMI = &MBB->back(); in optimizeThumb2Branches() local
2050 BBUtils->adjustBBSize(MBB, -LastMI->getDesc().getSize()); in optimizeThumb2Branches()
2051 LastMI->eraseFromParent(); in optimizeThumb2Branches()
H A DARMBaseInstrInfo.cpp2117 MachineInstr *LastMI = &*Pred->rbegin(); in isProfitableToIfCvt() local
2118 if (LastMI->getOpcode() == ARM::t2Bcc) { in isProfitableToIfCvt()
2120 MachineInstr *CmpMI = findCMPToFoldIntoCBZ(LastMI, TRI); in isProfitableToIfCvt()
/llvm-project-15.0.7/llvm/lib/Target/VE/
H A DVERegisterInfo.cpp389 MachineInstr *LastMI = nullptr; in processSTVM512() local
391 LastMI = build(VE::SVMmr, TmpReg).addReg(SrcLoReg).addImm(i); in processSTVM512()
399 LastMI->addRegisterKilled(SrcLoReg, &TRI, true); in processSTVM512()
409 LastMI = build(VE::SVMmr, TmpReg).addReg(SrcHiReg).addImm(3); in processSTVM512()
411 LastMI->addRegisterKilled(SrcHiReg, &TRI, true); in processSTVM512()
413 LastMI->addRegisterKilled(SrcReg, &TRI, true); in processSTVM512()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterInlineAsm.cpp442 if (LastMI != MI || LastFn != getFunctionNumber()) { in PrintSpecial()
444 LastMI = MI; in PrintSpecial()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachineInstrBundle.h29 MachineBasicBlock::instr_iterator LastMI);
H A DAsmPrinter.h800 mutable const MachineInstr *LastMI = nullptr;
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIWholeQuadMode.cpp695 MachineInstr *LastMI = &*MBB.rbegin(); in propagateBlock() local
696 InstrInfo &LastII = Instructions[LastMI]; in propagateBlock()
699 Worklist.push_back(LastMI); in propagateBlock()
H A DSIInstrInfo.cpp673 MachineInstr *FirstMI = nullptr, *LastMI = nullptr; in expandSGPRCopy() local
692 LastMI = BuildMI(MBB, I, DL, TII.get(Opcode), RI.getSubReg(DestReg, SubIdx)) in expandSGPRCopy()
697 FirstMI = LastMI; in expandSGPRCopy()
703 assert(FirstMI && LastMI); in expandSGPRCopy()
705 std::swap(FirstMI, LastMI); in expandSGPRCopy()
711 LastMI->addRegisterKilled(SrcReg, &RI); in expandSGPRCopy()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonVLIWPacketizer.cpp1819 MachineBasicBlock::instr_iterator LastMI(EndMI.getInstrIterator()); in endPacket() local
1820 finalizeBundle(*MBB, FirstMI, LastMI); in endPacket()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp7638 MachineInstr *LastMI = Selects.back(); in emitSelect() local
7640 (LastMI->killsRegister(SystemZ::CC) || checkCCKill(*LastMI, MBB)); in emitSelect()
7642 MachineBasicBlock *JoinMBB = SystemZ::splitBlockAfter(LastMI, MBB); in emitSelect()