Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineInstrBundle.cpp111 MachineBasicBlock::instr_iterator LastMI) { in getDebugLoc() argument
112 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()
135 BuildMI(MF, getDebugLoc(FirstMI, LastMI), TII->get(TargetOpcode::BUNDLE)); in finalizeBundle()
144 for (auto MII = FirstMI; MII != LastMI; ++MII) { in finalizeBundle()
225 MachineBasicBlock::instr_iterator LastMI = std::next(FirstMI); in finalizeBundle() local
226 while (LastMI != E && LastMI->isInsideBundle()) in finalizeBundle()
227 ++LastMI; in finalizeBundle()
[all …]
H A DRegisterCoalescer.cpp3227 MachineInstr *LastMI = in resolveConflicts() local
3229 assert(LastMI && "Range must end at a proper instruction"); in resolveConflicts()
3238 if (&*MI == LastMI) { in resolveConflicts()
3241 LastMI = Indexes->getInstructionFromIndex(TaintExtent[TaintNum].first); in resolveConflicts()
3242 assert(LastMI && "Range must end at a proper instruction"); in resolveConflicts()
H A DMachinePipeliner.cpp1291 MachineInstr *LastMI = MRI.getUniqueVRegDef(NewBase); in changeDependences() local
1292 if (!LastMI) in changeDependences()
1294 SUnit *LastSU = getSUnit(LastMI); in changeDependences()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMHazardRecognizer.cpp51 if (LastMI && (MCID.TSFlags & ARMII::DomainMask) != ARMII::DomainGeneral) { in getHazardType()
52 MachineInstr *DefMI = LastMI; in getHazardType()
53 const MCInstrDesc &LastMCID = LastMI->getDesc(); in getHazardType()
59 if (!LastMI->isBarrier() && in getHazardType()
60 !(TII.getSubtarget().hasMuxedUnits() && LastMI->mayLoadOrStore()) && in getHazardType()
62 MachineBasicBlock::iterator I = LastMI; in getHazardType()
63 if (I != LastMI->getParent()->begin()) { in getHazardType()
83 LastMI = nullptr; in Reset()
90 LastMI = MI; in EmitInstruction()
98 LastMI = nullptr; in AdvanceCycle()
H A DARMHazardRecognizer.h32 MachineInstr *LastMI = nullptr;
33 MachineInstr *LastMI = nullptr; global() variable
H A DARMConstantIslandPass.cpp2044 MachineInstr *LastMI = &MBB->back(); in optimizeThumb2Branches() local
2045 BBUtils->adjustBBSize(MBB, -LastMI->getDesc().getSize()); in optimizeThumb2Branches()
2046 LastMI->eraseFromParent(); in optimizeThumb2Branches()
H A DARMBaseInstrInfo.cpp1951 MachineInstr *LastMI = &*Pred->rbegin(); in isProfitableToIfCvt() local
1952 if (LastMI->getOpcode() == ARM::t2Bcc) { in isProfitableToIfCvt()
1954 MachineInstr *CmpMI = findCMPToFoldIntoCBZ(LastMI, TRI); in isProfitableToIfCvt()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVERegisterInfo.cpp378 MachineInstr *LastMI = nullptr; in processSTVM512() local
380 LastMI = build(VE::SVMmr, TmpReg).addReg(SrcLoReg).addImm(i); in processSTVM512()
388 LastMI->addRegisterKilled(SrcLoReg, &TRI, true); in processSTVM512()
398 LastMI = build(VE::SVMmr, TmpReg).addReg(SrcHiReg).addImm(3); in processSTVM512()
400 LastMI->addRegisterKilled(SrcHiReg, &TRI, true); in processSTVM512()
402 LastMI->addRegisterKilled(SrcReg, &TRI, true); in processSTVM512()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZRegisterInfo.cpp407 MachineInstr *LastMI = LIS.getInstructionFromIndex(LI.endIndex()); in shouldCoalesce() local
409 !LastMI || LastMI->getParent() != MBB) in shouldCoalesce()
416 MEE = std::next(LastMI->getIterator()); in shouldCoalesce()
H A DSystemZISelLowering.cpp9675 MachineInstr *LastMI = Selects.back(); in emitSelect() local
9676 bool CCKilled = (LastMI->killsRegister(SystemZ::CC, /*TRI=*/nullptr) || in emitSelect()
9677 checkCCKill(*LastMI, MBB)); in emitSelect()
9679 MachineBasicBlock *JoinMBB = SystemZ::splitBlockAfter(LastMI, MBB); in emitSelect()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterInlineAsm.cpp438 if (LastMI != MI || LastFn != getFunctionNumber()) { in PrintSpecial()
440 LastMI = MI; in PrintSpecial()
H A DCodeViewDebug.cpp3491 const auto LastMI = MBB.getFirstTerminator(); in forEachJumpTableBranch() local
3492 if (LastMI != MBB.end() && LastMI->isIndirectBranch()) { in forEachJumpTableBranch()
3500 for (const auto &MO : LastMI->operands()) { in forEachJumpTableBranch()
3506 Callback(*JTI, *LastMI, Index); in forEachJumpTableBranch()
3520 Callback(*JTI, *LastMI, Index); in forEachJumpTableBranch()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineInstrBundle.h30 MachineBasicBlock::instr_iterator LastMI);
H A DAsmPrinter.h900 mutable const MachineInstr *LastMI = nullptr;
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIWholeQuadMode.cpp689 MachineInstr *LastMI = &*MBB.rbegin(); in propagateBlock() local
690 InstrInfo &LastII = Instructions[LastMI]; in propagateBlock()
693 Worklist.emplace_back(LastMI); in propagateBlock()
H A DSIInstrInfo.cpp766 MachineInstr *FirstMI = nullptr, *LastMI = nullptr; in expandSGPRCopy() local
789 LastMI = BuildMI(MBB, I, DL, TII.get(Opcode), DestSubReg) in expandSGPRCopy()
794 FirstMI = LastMI; in expandSGPRCopy()
800 assert(FirstMI && LastMI); in expandSGPRCopy()
802 std::swap(FirstMI, LastMI); in expandSGPRCopy()
808 LastMI->addRegisterKilled(SrcReg, &RI); in expandSGPRCopy()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVLIWPacketizer.cpp1811 MachineBasicBlock::instr_iterator LastMI(EndMI.getInstrIterator()); in endPacket() local
1812 finalizeBundle(*MBB, FirstMI, LastMI); in endPacket()