Home
last modified time | relevance | path

Searched refs:FirstMI (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/CodeGen/
DMachineInstrBundle.cpp102 MachineBasicBlock::instr_iterator FirstMI, in finalizeBundle() argument
104 assert(FirstMI != LastMI && "Empty bundle?"); in finalizeBundle()
105 MIBundleBuilder Bundle(MBB, FirstMI, LastMI); in finalizeBundle()
112 BuildMI(MF, FirstMI->getDebugLoc(), TII->get(TargetOpcode::BUNDLE)); in finalizeBundle()
124 for (; FirstMI != LastMI; ++FirstMI) { in finalizeBundle()
125 for (unsigned i = 0, e = FirstMI->getNumOperands(); i != e; ++i) { in finalizeBundle()
126 MachineOperand &MO = FirstMI->getOperand(i); in finalizeBundle()
213 MachineBasicBlock::instr_iterator FirstMI) { in finalizeBundle() argument
215 MachineBasicBlock::instr_iterator LastMI = std::next(FirstMI); in finalizeBundle()
218 finalizeBundle(MBB, FirstMI, LastMI); in finalizeBundle()
/external/llvm/lib/Target/AArch64/
DAArch64LoadStoreOptimizer.cpp494 MachineInstr *FirstMI = I; in findMatchingInsn() local
497 int Opc = FirstMI->getOpcode(); in findMatchingInsn()
498 bool MayLoad = FirstMI->mayLoad(); in findMatchingInsn()
500 unsigned Reg = FirstMI->getOperand(0).getReg(); in findMatchingInsn()
501 unsigned BaseReg = FirstMI->getOperand(1).getReg(); in findMatchingInsn()
502 int Offset = FirstMI->getOperand(2).getImm(); in findMatchingInsn()
509 if (FirstMI->modifiesRegister(BaseReg, TRI)) in findMatchingInsn()
512 IsUnscaled && EnableAArch64UnscaledMemOp ? getMemSize(FirstMI) : 1; in findMatchingInsn()
598 if (!ModifiedRegs[FirstMI->getOperand(0).getReg()] && in findMatchingInsn()
599 !UsedRegs[FirstMI->getOperand(0).getReg()]) { in findMatchingInsn()
[all …]
/external/llvm/include/llvm/CodeGen/
DMachineInstrBundle.h29 MachineBasicBlock::instr_iterator FirstMI,
38 MachineBasicBlock::instr_iterator FirstMI);