Lines Matching refs:Opc
200 SDNode *selectGather(SDNode *N, unsigned Opc);
1945 unsigned Opc = 0; in selectAtomicLoadArith() local
1950 Opc = AtomicOpcTbl[Op][ConstantI8]; in selectAtomicLoadArith()
1952 Opc = AtomicOpcTbl[Op][I8]; in selectAtomicLoadArith()
1957 Opc = AtomicOpcTbl[Op][SextConstantI16]; in selectAtomicLoadArith()
1959 Opc = AtomicOpcTbl[Op][ConstantI16]; in selectAtomicLoadArith()
1961 Opc = AtomicOpcTbl[Op][I16]; in selectAtomicLoadArith()
1966 Opc = AtomicOpcTbl[Op][SextConstantI32]; in selectAtomicLoadArith()
1968 Opc = AtomicOpcTbl[Op][ConstantI32]; in selectAtomicLoadArith()
1970 Opc = AtomicOpcTbl[Op][I32]; in selectAtomicLoadArith()
1975 Opc = AtomicOpcTbl[Op][SextConstantI64]; in selectAtomicLoadArith()
1977 Opc = AtomicOpcTbl[Op][ConstantI64]; in selectAtomicLoadArith()
1981 Opc = AtomicOpcTbl[Op][I64]; in selectAtomicLoadArith()
1985 assert(Opc != 0 && "Invalid arith lock transform!"); in selectAtomicLoadArith()
1991 Ret = SDValue(CurDAG->getMachineNode(Opc, dl, MVT::Other, Ops), 0); in selectAtomicLoadArith()
1994 Ret = SDValue(CurDAG->getMachineNode(Opc, dl, MVT::Other, Ops), 0); in selectAtomicLoadArith()
2075 static bool isLoadIncOrDecStore(StoreSDNode *StoreNode, unsigned Opc, in isLoadIncOrDecStore() argument
2080 if (!(Opc == X86ISD::DEC || Opc == X86ISD::INC)) return false; in isLoadIncOrDecStore()
2160 static unsigned getFusedLdStOpcode(EVT &LdVT, unsigned Opc) { in getFusedLdStOpcode() argument
2161 if (Opc == X86ISD::DEC) { in getFusedLdStOpcode()
2167 assert(Opc == X86ISD::INC && "unrecognized opcode"); in getFusedLdStOpcode()
2177 SDNode *X86DAGToDAGISel::selectGather(SDNode *Node, unsigned Opc) { in selectGather() argument
2198 SDNode *ResNode = CurDAG->getMachineNode(Opc, DL, VTs, Ops); in selectGather()
2210 unsigned Opc, MOpc; in Select() local
2267 unsigned Opc; in Select() local
2270 case Intrinsic::x86_avx2_gather_d_pd: Opc = X86::VGATHERDPDrm; break; in Select()
2271 case Intrinsic::x86_avx2_gather_d_pd_256: Opc = X86::VGATHERDPDYrm; break; in Select()
2272 case Intrinsic::x86_avx2_gather_q_pd: Opc = X86::VGATHERQPDrm; break; in Select()
2273 case Intrinsic::x86_avx2_gather_q_pd_256: Opc = X86::VGATHERQPDYrm; break; in Select()
2274 case Intrinsic::x86_avx2_gather_d_ps: Opc = X86::VGATHERDPSrm; break; in Select()
2275 case Intrinsic::x86_avx2_gather_d_ps_256: Opc = X86::VGATHERDPSYrm; break; in Select()
2276 case Intrinsic::x86_avx2_gather_q_ps: Opc = X86::VGATHERQPSrm; break; in Select()
2277 case Intrinsic::x86_avx2_gather_q_ps_256: Opc = X86::VGATHERQPSYrm; break; in Select()
2278 case Intrinsic::x86_avx2_gather_d_q: Opc = X86::VPGATHERDQrm; break; in Select()
2279 case Intrinsic::x86_avx2_gather_d_q_256: Opc = X86::VPGATHERDQYrm; break; in Select()
2280 case Intrinsic::x86_avx2_gather_q_q: Opc = X86::VPGATHERQQrm; break; in Select()
2281 case Intrinsic::x86_avx2_gather_q_q_256: Opc = X86::VPGATHERQQYrm; break; in Select()
2282 case Intrinsic::x86_avx2_gather_d_d: Opc = X86::VPGATHERDDrm; break; in Select()
2283 case Intrinsic::x86_avx2_gather_d_d_256: Opc = X86::VPGATHERDDYrm; break; in Select()
2284 case Intrinsic::x86_avx2_gather_q_d: Opc = X86::VPGATHERQDrm; break; in Select()
2285 case Intrinsic::x86_avx2_gather_q_d_256: Opc = X86::VPGATHERQDYrm; break; in Select()
2287 SDNode *RetVal = selectGather(Node, Opc); in Select()
2406 Opc = (Opcode == X86ISD::SMUL8 ? X86::IMUL8r : X86::MUL8r); in Select()
2413 SDNode *CNode = CurDAG->getMachineNode(Opc, dl, VTs, Ops); in Select()
2427 case MVT::i8: LoReg = X86::AL; Opc = X86::MUL8r; break; in Select()
2428 case MVT::i16: LoReg = X86::AX; Opc = X86::MUL16r; break; in Select()
2429 case MVT::i32: LoReg = X86::EAX; Opc = X86::MUL32r; break; in Select()
2430 case MVT::i64: LoReg = X86::RAX; Opc = X86::MUL64r; break; in Select()
2438 SDNode *CNode = CurDAG->getMachineNode(Opc, dl, VTs, Ops); in Select()
2456 case MVT::i8: Opc = X86::MUL8r; MOpc = X86::MUL8m; break; in Select()
2457 case MVT::i16: Opc = X86::MUL16r; MOpc = X86::MUL16m; break; in Select()
2458 case MVT::i32: Opc = hasBMI2 ? X86::MULX32rr : X86::MUL32r; in Select()
2460 case MVT::i64: Opc = hasBMI2 ? X86::MULX64rr : X86::MUL64r; in Select()
2466 case MVT::i8: Opc = X86::IMUL8r; MOpc = X86::IMUL8m; break; in Select()
2467 case MVT::i16: Opc = X86::IMUL16r; MOpc = X86::IMUL16m; break; in Select()
2468 case MVT::i32: Opc = X86::IMUL32r; MOpc = X86::IMUL32m; break; in Select()
2469 case MVT::i64: Opc = X86::IMUL64r; MOpc = X86::IMUL64m; break; in Select()
2474 switch (Opc) { in Select()
2535 if (Opc == X86::MULX32rr || Opc == X86::MULX64rr) { in Select()
2537 SDNode *CNode = CurDAG->getMachineNode(Opc, dl, VTs, Ops); in Select()
2543 SDNode *CNode = CurDAG->getMachineNode(Opc, dl, VTs, Ops); in Select()
2607 case MVT::i8: Opc = X86::DIV8r; MOpc = X86::DIV8m; break; in Select()
2608 case MVT::i16: Opc = X86::DIV16r; MOpc = X86::DIV16m; break; in Select()
2609 case MVT::i32: Opc = X86::DIV32r; MOpc = X86::DIV32m; break; in Select()
2610 case MVT::i64: Opc = X86::DIV64r; MOpc = X86::DIV64m; break; in Select()
2615 case MVT::i8: Opc = X86::IDIV8r; MOpc = X86::IDIV8m; break; in Select()
2616 case MVT::i16: Opc = X86::IDIV16r; MOpc = X86::IDIV16m; break; in Select()
2617 case MVT::i32: Opc = X86::IDIV32r; MOpc = X86::IDIV32m; break; in Select()
2618 case MVT::i64: Opc = X86::IDIV64r; MOpc = X86::IDIV64m; break; in Select()
2718 SDValue(CurDAG->getMachineNode(Opc, dl, MVT::Glue, N1, InFlag), 0); in Select()
2942 unsigned Opc = StoredVal->getOpcode(); in Select() local
2946 if (!isLoadIncOrDecStore(StoreNode, Opc, StoredVal, CurDAG, in Select()
2960 unsigned newOpc = getFusedLdStOpcode(LdVT, Opc); in Select()