Lines Matching refs:X86
16 #include "X86.h"
30 #define DEBUG_TYPE "x86-fixup-LEAs"
43 const char *getPassName() const override { return "X86 Atom LEA Fixup"; }
104 case X86::MOV32rr:
105 case X86::MOV64rr: {
109 TII->get(MI->getOpcode() == X86::MOV32rr ? X86::LEA32r
110 : X86::LEA64r))
120 case X86::ADD64ri32:
121 case X86::ADD64ri8:
122 case X86::ADD64ri32_DB:
123 case X86::ADD64ri8_DB:
124 case X86::ADD32ri:
125 case X86::ADD32ri8:
126 case X86::ADD32ri_DB:
127 case X86::ADD32ri8_DB:
128 case X86::ADD16ri:
129 case X86::ADD16ri8:
130 case X86::ADD16ri_DB:
131 case X86::ADD16ri8_DB:
138 case X86::ADD16rr:
139 case X86::ADD16rr_DB:
236 MachineOperand &p = MI->getOperand(AddrOffset + X86::AddrBaseReg);
237 if (p.isReg() && p.getReg() != X86::ESP) {
240 MachineOperand &q = MI->getOperand(AddrOffset + X86::AddrIndexReg);
241 if (q.isReg() && q.getReg() != X86::ESP) {
270 if (opcode != X86::LEA16r && opcode != X86::LEA32r && opcode != X86::LEA64r &&
271 opcode != X86::LEA64_32r)
285 case X86::LEA16r:
286 addrr_opcode = X86::ADD16rr;
287 addri_opcode = X86::ADD16ri;
289 case X86::LEA32r:
290 addrr_opcode = X86::ADD32rr;
291 addri_opcode = X86::ADD32ri;
293 case X86::LEA64_32r:
294 case X86::LEA64r:
295 addrr_opcode = X86::ADD64rr;
296 addri_opcode = X86::ADD64ri32;