Lines Matching refs:SelectOpcode
2380 auto SelectOpcode = [&](unsigned Opc64, unsigned Opc32, unsigned Opc16,
2402 ? SelectOpcode(X86::INC64m, X86::INC32m, X86::INC16m, X86::INC8m)
2403 : SelectOpcode(X86::DEC64m, X86::DEC32m, X86::DEC16m, X86::DEC8m);
2416 auto SelectRegOpcode = [SelectOpcode](unsigned Opc) {
2419 return SelectOpcode(X86::ADD64mr, X86::ADD32mr, X86::ADD16mr,
2422 return SelectOpcode(X86::ADC64mr, X86::ADC32mr, X86::ADC16mr,
2425 return SelectOpcode(X86::SUB64mr, X86::SUB32mr, X86::SUB16mr,
2428 return SelectOpcode(X86::SBB64mr, X86::SBB32mr, X86::SBB16mr,
2431 return SelectOpcode(X86::AND64mr, X86::AND32mr, X86::AND16mr,
2434 return SelectOpcode(X86::OR64mr, X86::OR32mr, X86::OR16mr, X86::OR8mr);
2436 return SelectOpcode(X86::XOR64mr, X86::XOR32mr, X86::XOR16mr,
2442 auto SelectImm8Opcode = [SelectOpcode](unsigned Opc) {
2445 return SelectOpcode(X86::ADD64mi8, X86::ADD32mi8, X86::ADD16mi8, 0);
2447 return SelectOpcode(X86::ADC64mi8, X86::ADC32mi8, X86::ADC16mi8, 0);
2449 return SelectOpcode(X86::SUB64mi8, X86::SUB32mi8, X86::SUB16mi8, 0);
2451 return SelectOpcode(X86::SBB64mi8, X86::SBB32mi8, X86::SBB16mi8, 0);
2453 return SelectOpcode(X86::AND64mi8, X86::AND32mi8, X86::AND16mi8, 0);
2455 return SelectOpcode(X86::OR64mi8, X86::OR32mi8, X86::OR16mi8, 0);
2457 return SelectOpcode(X86::XOR64mi8, X86::XOR32mi8, X86::XOR16mi8, 0);
2462 auto SelectImmOpcode = [SelectOpcode](unsigned Opc) {
2465 return SelectOpcode(X86::ADD64mi32, X86::ADD32mi, X86::ADD16mi,
2468 return SelectOpcode(X86::ADC64mi32, X86::ADC32mi, X86::ADC16mi,
2471 return SelectOpcode(X86::SUB64mi32, X86::SUB32mi, X86::SUB16mi,
2474 return SelectOpcode(X86::SBB64mi32, X86::SBB32mi, X86::SBB16mi,
2477 return SelectOpcode(X86::AND64mi32, X86::AND32mi, X86::AND16mi,
2480 return SelectOpcode(X86::OR64mi32, X86::OR32mi, X86::OR16mi,
2483 return SelectOpcode(X86::XOR64mi32, X86::XOR32mi, X86::XOR16mi,