Lines Matching refs:Op
221 virtual bool SelectInlineAsmMemoryOperand(const SDValue &Op,
1701 // Return the target constant operand for atomic-load-op and do simple
1705 // + empty, the operand is not needed any more with the new op selected.
1709 enum AtomicOpc &Op, EVT NVT,
1717 if (Op == ADD) {
1720 Op = (CNVal == 1) ? INC : DEC;
1726 Op = SUB;
1734 if (Op == ADD && Val.hasOneUse()) {
1737 Op = SUB;
1746 Op = SUB;
1773 enum AtomicOpc Op;
1778 Op = OR;
1781 Op = AND;
1784 Op = XOR;
1787 Op = ADD;
1791 Val = getAtomicLoadArithTargetConstant(CurDAG, dl, Op, NVT, Val);
1800 Opc = AtomicOpcTbl[Op][ConstantI8];
1802 Opc = AtomicOpcTbl[Op][I8];
1807 Opc = AtomicOpcTbl[Op][SextConstantI16];
1809 Opc = AtomicOpcTbl[Op][ConstantI16];
1811 Opc = AtomicOpcTbl[Op][I16];
1816 Opc = AtomicOpcTbl[Op][SextConstantI32];
1818 Opc = AtomicOpcTbl[Op][ConstantI32];
1820 Opc = AtomicOpcTbl[Op][I32];
1823 Opc = AtomicOpcTbl[Op][I64];
1826 Opc = AtomicOpcTbl[Op][SextConstantI64];
1828 Opc = AtomicOpcTbl[Op][ConstantI64];
1966 SDValue Op = Chain.getOperand(i);
1967 if (Op == Load.getValue(1)) {
1972 // Make sure using Op as part of the chain would not cause a cycle here.
1977 for (SDNode::use_iterator UI = Op.getNode()->use_begin(),
1985 ChainOps.push_back(Op);
2163 // For operations of the form (x << C1) op C2, check if we can use a smaller
2164 // encoding for C2 by transforming it into (x op (C2>>C1)) << C1.
2189 unsigned ShlOp, Op;
2213 case ISD::AND: Op = X86::AND32ri8; break;
2214 case ISD::OR: Op = X86::OR32ri8; break;
2215 case ISD::XOR: Op = X86::XOR32ri8; break;
2224 case ISD::AND: Op = CstVT==MVT::i8? X86::AND64ri8 : X86::AND64ri32; break;
2225 case ISD::OR: Op = CstVT==MVT::i8? X86::OR64ri8 : X86::OR64ri32; break;
2226 case ISD::XOR: Op = CstVT==MVT::i8? X86::XOR64ri8 : X86::XOR64ri32; break;
2231 // Emit the smaller op and the shift.
2233 Op, dl, NVT, N0->getOperand(0),NewCst);
2588 // Look for (X86cmp (and $op, $imm), 0) and see if we can convert it to
2783 SelectInlineAsmMemoryOperand(const SDValue &Op, char ConstraintCode,
2791 if (!SelectAddr(0, Op, Op0, Op1, Op2, Op3, Op4))