Lines Matching refs:Opc
107 unsigned Opc = MBBI->getOpcode(); in findDeadCallerSavedReg() local
108 switch (Opc) { in findDeadCallerSavedReg()
152 unsigned Opc; in emitSPUpdate() local
154 Opc = getLEArOpcode(IsLP64); in emitSPUpdate()
156 Opc = isSub in emitSPUpdate()
171 Opc = isSub in emitSPUpdate()
174 MachineInstr *MI = BuildMI(MBB, MBBI, DL, TII.get(Opc)) in emitSPUpdate()
186 MI = addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(Opc), StackPtr), in emitSPUpdate()
189 MI = BuildMI(MBB, MBBI, DL, TII.get(Opc), StackPtr) in emitSPUpdate()
209 unsigned Opc = PI->getOpcode(); in mergeSPUpdatesUp() local
210 if ((Opc == X86::ADD64ri32 || Opc == X86::ADD64ri8 || in mergeSPUpdatesUp()
211 Opc == X86::ADD32ri || Opc == X86::ADD32ri8 || in mergeSPUpdatesUp()
212 Opc == X86::LEA32r || Opc == X86::LEA64_32r) && in mergeSPUpdatesUp()
217 } else if ((Opc == X86::SUB64ri32 || Opc == X86::SUB64ri8 || in mergeSPUpdatesUp()
218 Opc == X86::SUB32ri || Opc == X86::SUB32ri8) && in mergeSPUpdatesUp()
239 unsigned Opc = NI->getOpcode(); in mergeSPUpdatesDown() local
240 if ((Opc == X86::ADD64ri32 || Opc == X86::ADD64ri8 || in mergeSPUpdatesDown()
241 Opc == X86::ADD32ri || Opc == X86::ADD32ri8) && in mergeSPUpdatesDown()
247 } else if ((Opc == X86::SUB64ri32 || Opc == X86::SUB64ri8 || in mergeSPUpdatesDown()
248 Opc == X86::SUB32ri || Opc == X86::SUB32ri8) && in mergeSPUpdatesDown()
271 unsigned Opc = PI->getOpcode(); in mergeSPUpdates() local
274 if ((Opc == X86::ADD64ri32 || Opc == X86::ADD64ri8 || in mergeSPUpdates()
275 Opc == X86::ADD32ri || Opc == X86::ADD32ri8 || in mergeSPUpdates()
276 Opc == X86::LEA32r || Opc == X86::LEA64_32r) && in mergeSPUpdates()
281 } else if ((Opc == X86::SUB64ri32 || Opc == X86::SUB64ri8 || in mergeSPUpdates()
282 Opc == X86::SUB32ri || Opc == X86::SUB32ri8) && in mergeSPUpdates()
526 unsigned Opc = MI.getOpcode(); in getCompactUnwindEncoding() local
527 if (Opc == X86::PROLOG_LABEL) continue; in getCompactUnwindEncoding()
533 if (Opc == PushInstr) { in getCompactUnwindEncoding()
540 } else if (Opc == MoveInstr) { in getCompactUnwindEncoding()
551 } else if (Opc == X86::SUB64ri32 || Opc == X86::SUB64ri8 || in getCompactUnwindEncoding()
552 Opc == X86::SUB32ri || Opc == X86::SUB32ri8) { in getCompactUnwindEncoding()
952 unsigned Opc = Is64Bit ? X86::MOV64rr : X86::MOV32rr; in emitPrologue() local
953 BuildMI(MBB, MBBI, DL, TII.get(Opc), BasePtr) in emitPrologue()
1062 unsigned Opc = PI->getOpcode(); in emitEpilogue() local
1064 if (Opc != X86::POP32r && Opc != X86::POP64r && Opc != X86::DBG_VALUE && in emitEpilogue()
1086 unsigned Opc = getLEArOpcode(IsLP64); in emitEpilogue() local
1087 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(Opc), StackPtr), in emitEpilogue()
1090 unsigned Opc = (Is64Bit ? X86::MOV64rr : X86::MOV32rr); in emitEpilogue() local
1091 BuildMI(MBB, MBBI, DL, TII.get(Opc), StackPtr) in emitEpilogue()
1258 unsigned Opc = STI.is64Bit() ? X86::PUSH64r : X86::PUSH32r; in spillCalleeSavedRegisters() local
1270 BuildMI(MBB, MI, DL, TII.get(Opc)).addReg(Reg, RegState::Kill) in spillCalleeSavedRegisters()
1319 unsigned Opc = STI.is64Bit() ? X86::POP64r : X86::POP32r; in restoreCalleeSavedRegisters() local
1328 BuildMI(MBB, MI, DL, TII.get(Opc), Reg); in restoreCalleeSavedRegisters()
1800 unsigned Opc = getADDriOpcode(IsLP64, Amount); in eliminateCallFramePseudoInstr() local
1801 New = BuildMI(MF, DL, TII.get(Opc), StackPtr) in eliminateCallFramePseudoInstr()
1821 unsigned Opc = getSUBriOpcode(IsLP64, CalleeAmt); in eliminateCallFramePseudoInstr() local
1822 MachineInstr *New = BuildMI(MF, DL, TII.get(Opc), StackPtr) in eliminateCallFramePseudoInstr()