Home
last modified time | relevance | path

Searched refs:MemMI (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64LoadStoreOptimizer.cpp182 bool isMatchingUpdateInsn(MachineInstr &MemMI, MachineInstr &MI,
1907 MachineInstr &MemMI = *I; in findMatchingUpdateInsnForward() local
1912 TII->getMemScale(MemMI); in findMatchingUpdateInsnForward()
1926 if (!isTagStore(MemMI) && MemMI.getOpcode() != AArch64::STGPi) { in findMatchingUpdateInsnForward()
1927 bool IsPairedInsn = AArch64InstrInfo::isPairedLdSt(MemMI); in findMatchingUpdateInsnForward()
1929 Register DestReg = getLdStRegOp(MemMI, i).getReg(); in findMatchingUpdateInsnForward()
1984 MachineInstr &MemMI = *I; in findMatchingUpdateInsnBackward() local
1986 MachineFunction &MF = *MemMI.getMF(); in findMatchingUpdateInsnBackward()
1997 if (!isTagStore(MemMI)) { in findMatchingUpdateInsnBackward()
1998 bool IsPairedInsn = AArch64InstrInfo::isPairedLdSt(MemMI); in findMatchingUpdateInsnBackward()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp203 MachineInstr *MemMI = nullptr; in convertToThreeAddress() local
277 MemMI = in convertToThreeAddress()
283 MemMI = BuildMI(MF, MI.getDebugLoc(), get(MemOpc)) in convertToThreeAddress()
289 NewMIs.push_back(MemMI); in convertToThreeAddress()
293 MemMI = in convertToThreeAddress()
299 MemMI = BuildMI(MF, MI.getDebugLoc(), get(MemOpc)) in convertToThreeAddress()
308 NewMIs.push_back(MemMI); in convertToThreeAddress()
319 MachineInstr *NewMI = (Reg == WBReg) ? UpdateMI : MemMI; in convertToThreeAddress()