Home
last modified time | relevance | path

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

/external/llvm/lib/Target/ARM/
DARMHazardRecognizer.cpp44 if (LastMI && (MCID.TSFlags & ARMII::DomainMask) != ARMII::DomainGeneral) { in getHazardType()
45 MachineInstr *DefMI = LastMI; in getHazardType()
46 const MCInstrDesc &LastMCID = LastMI->getDesc(); in getHazardType()
52 if (!LastMI->isBarrier() && in getHazardType()
53 !(TII.getSubtarget().hasMuxedUnits() && LastMI->mayLoadOrStore()) && in getHazardType()
55 MachineBasicBlock::iterator I = LastMI; in getHazardType()
56 if (I != LastMI->getParent()->begin()) { in getHazardType()
77 LastMI = nullptr; in Reset()
85 LastMI = MI; in EmitInstruction()
95 LastMI = nullptr; in AdvanceCycle()
DARMHazardRecognizer.h31 MachineInstr *LastMI; variable
38 LastMI(nullptr) {} in ARMHazardRecognizer()
DARMBaseInstrInfo.cpp1712 MachineInstr *LastMI = &*Pred->rbegin(); in isProfitableToIfCvt() local
1713 if (LastMI->getOpcode() == ARM::t2Bcc) { in isProfitableToIfCvt()
1714 MachineBasicBlock::iterator CmpMI = LastMI; in isProfitableToIfCvt()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMHazardRecognizer.cpp47 if (LastMI && (MCID.TSFlags & ARMII::DomainMask) != ARMII::DomainGeneral) { in getHazardType()
48 MachineInstr *DefMI = LastMI; in getHazardType()
49 const MCInstrDesc &LastMCID = LastMI->getDesc(); in getHazardType()
55 MachineBasicBlock::iterator I = LastMI; in getHazardType()
56 if (I != LastMI->getParent()->begin()) { in getHazardType()
77 LastMI = 0; in Reset()
104 LastMI = MI; in EmitInstruction()
114 LastMI = 0; in AdvanceCycle()
DARMHazardRecognizer.h31 MachineInstr *LastMI; variable
43 TRI(tri), STI(sti), LastMI(0), ITBlockSize(0) {} in ARMHazardRecognizer()
/external/llvm/lib/CodeGen/
DMachineInstrBundle.cpp115 MachineBasicBlock::instr_iterator LastMI) { in finalizeBundle() argument
116 assert(FirstMI != LastMI && "Empty bundle?"); in finalizeBundle()
117 MIBundleBuilder Bundle(MBB, FirstMI, LastMI); in finalizeBundle()
136 for (; FirstMI != LastMI; ++FirstMI) { in finalizeBundle()
227 MachineBasicBlock::instr_iterator LastMI = std::next(FirstMI); in finalizeBundle() local
228 while (LastMI != E && LastMI->isInsideBundle()) in finalizeBundle()
229 ++LastMI; in finalizeBundle()
230 finalizeBundle(MBB, FirstMI, LastMI); in finalizeBundle()
231 return LastMI; in finalizeBundle()
DRegisterCoalescer.cpp2349 MachineInstr *LastMI = in resolveConflicts() local
2351 assert(LastMI && "Range must end at a proper instruction"); in resolveConflicts()
2360 if (&*MI == LastMI) { in resolveConflicts()
2363 LastMI = Indexes->getInstructionFromIndex(TaintExtent[TaintNum].first); in resolveConflicts()
2364 assert(LastMI && "Range must end at a proper instruction"); in resolveConflicts()
DMachinePipeliner.cpp1178 MachineInstr *LastMI = MRI.getUniqueVRegDef(NewBase); in changeDependences() local
1179 if (!LastMI) in changeDependences()
1181 SUnit *LastSU = getSUnit(LastMI); in changeDependences()
/external/llvm/lib/CodeGen/AsmPrinter/
DDbgValueHistoryCalculator.cpp130 auto LastMI = MBB.getLastNonDebugInstr(); in getFirstEpilogueInst() local
131 if (LastMI == MBB.end() || !LastMI->isReturn()) in getFirstEpilogueInst()
135 DebugLoc LastLoc = LastMI->getDebugLoc(); in getFirstEpilogueInst()
136 auto Res = LastMI; in getFirstEpilogueInst()
137 for (MachineBasicBlock::const_reverse_iterator I(std::next(LastMI)), in getFirstEpilogueInst()
DAsmPrinterInlineAsm.cpp519 if (LastMI != MI || LastFn != getFunctionNumber()) { in PrintSpecial()
521 LastMI = MI; in PrintSpecial()
DAsmPrinter.cpp104 LastMI(nullptr), LastFn(0), Counter(~0U) { in AsmPrinter()
/external/llvm/lib/Target/AMDGPU/
DSIWholeQuadMode.cpp287 MachineInstr *LastMI = &*MBB.rbegin(); in propagateBlock() local
288 InstrInfo &LastII = Instructions[LastMI]; in propagateBlock()
291 Worklist.push_back(LastMI); in propagateBlock()
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp389 if (LastMI != MI || LastFn != getFunctionNumber()) { in PrintSpecial()
391 LastMI = MI; in PrintSpecial()
DDwarfDebug.cpp1178 MachineBasicBlock::const_iterator LastMI = in beginFunction() local
1180 if (LastMI == PrevMBB->end()) { in beginFunction()
1188 History.push_back(LastMI); in beginFunction()
1251 MachineBasicBlock::const_iterator LastMI = in beginFunction() local
1253 if (LastMI == PrevMBB->end()) in beginFunction()
1258 History.push_back(LastMI); in beginFunction()
DAsmPrinter.cpp101 LastMI(0), LastFn(0), Counter(~0U), SetCounter(0) { in AsmPrinter()
652 const MachineInstr *LastMI = 0; in EmitFunctionBody() local
659 LastMI = II; in EmitFunctionBody()
720 bool RequiresNoop = LastMI && LastMI->isPrologLabel(); in EmitFunctionBody()
/external/llvm/include/llvm/CodeGen/
DMachineInstrBundle.h30 MachineBasicBlock::instr_iterator LastMI);
DAsmPrinter.h515 mutable const MachineInstr *LastMI;
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DAsmPrinter.h442 mutable const MachineInstr *LastMI;