Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DMachineInstrBundle.cpp114 MachineBasicBlock::instr_iterator FirstMI, in finalizeBundle() argument
116 assert(FirstMI != LastMI && "Empty bundle?"); in finalizeBundle()
117 MIBundleBuilder Bundle(MBB, FirstMI, LastMI); in finalizeBundle()
124 BuildMI(MF, FirstMI->getDebugLoc(), TII->get(TargetOpcode::BUNDLE)); in finalizeBundle()
136 for (; FirstMI != LastMI; ++FirstMI) { in finalizeBundle()
137 for (unsigned i = 0, e = FirstMI->getNumOperands(); i != e; ++i) { in finalizeBundle()
138 MachineOperand &MO = FirstMI->getOperand(i); in finalizeBundle()
225 MachineBasicBlock::instr_iterator FirstMI) { in finalizeBundle() argument
227 MachineBasicBlock::instr_iterator LastMI = std::next(FirstMI); in finalizeBundle()
230 finalizeBundle(MBB, FirstMI, LastMI); in finalizeBundle()
DXRayInstrumentation.cpp62 auto &FirstMI = *FirstMBB.begin(); in runOnMachineFunction() local
64 BuildMI(FirstMBB, FirstMI, FirstMI.getDebugLoc(), in runOnMachineFunction()
/external/llvm/lib/Target/Hexagon/
DHexagonStoreWidening.cpp317 MachineInstr *FirstMI = *Begin; in selectStores() local
318 assert(!FirstMI->memoperands_empty() && "Expecting some memory operands"); in selectStores()
319 const MachineMemOperand &FirstMMO = getStoreTarget(FirstMI); in selectStores()
322 unsigned FirstOffset = getStoreOffset(FirstMI); in selectStores()
343 OG.push_back(FirstMI); in selectStores()
344 MachineInstr *S1 = FirstMI, *S2 = *(Begin+1); in selectStores()
/external/llvm/lib/Target/AArch64/
DAArch64LoadStoreOptimizer.cpp1157 static bool areCandidatesToMergeOrPair(MachineInstr &FirstMI, MachineInstr &MI, in areCandidatesToMergeOrPair() argument
1165 assert(!FirstMI.hasOrderedMemoryRef() && in areCandidatesToMergeOrPair()
1166 !TII->isLdStPairSuppressed(FirstMI) && in areCandidatesToMergeOrPair()
1169 unsigned OpcA = FirstMI.getOpcode(); in areCandidatesToMergeOrPair()
1211 MachineInstr &FirstMI = *I; in findMatchingInsn() local
1214 bool MayLoad = FirstMI.mayLoad(); in findMatchingInsn()
1215 bool IsUnscaled = TII->isUnscaledLdSt(FirstMI); in findMatchingInsn()
1216 unsigned Reg = getLdStRegOp(FirstMI).getReg(); in findMatchingInsn()
1217 unsigned BaseReg = getLdStBaseOp(FirstMI).getReg(); in findMatchingInsn()
1218 int Offset = getLdStOffsetOp(FirstMI).getImm(); in findMatchingInsn()
[all …]
/external/llvm/include/llvm/CodeGen/
DMachineInstrBundle.h29 MachineBasicBlock::instr_iterator FirstMI,
38 MachineBasicBlock::instr_iterator FirstMI);
/external/llvm/lib/Target/ARM/
DARMLoadStoreOptimizer.cpp957 const MachineInstr *FirstMI = MemOps[0].MI; in FormCandidates() local
958 unsigned Opcode = FirstMI->getOpcode(); in FormCandidates()
960 unsigned Size = getLSMultipleTransferSize(FirstMI); in FormCandidates()