Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:N2C

1506   if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2.getNode())) {
1507 const APInt &C2 = N2C->getAPIntValue();
1527 if (ConstantFPSDNode *N2C = dyn_cast<ConstantFPSDNode>(N2.getNode())) {
1532 APFloat::cmpResult R = N1C->getValueAPF().compare(N2C->getValueAPF());
2678 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2.getNode());
2706 if (N2C && N2C->isNullValue())
2708 if (N2C && N2C->isAllOnesValue()) // X & -1 -> X
2720 if (N2C && N2C->isNullValue())
2788 if (N2C && N2C->isNullValue())
2857 if (N2C &&
2863 N1.getOperand(N2C->getZExtValue() / Factor),
2864 getConstant(N2C->getZExtValue() % Factor,
2870 if (N2C && N1.getOpcode() == ISD::BUILD_VECTOR) {
2871 SDValue Elt = N1.getOperand(N2C->getZExtValue());
2895 if (N1Op2C && N2C) {
2896 if (N1Op2C->getZExtValue() == N2C->getZExtValue()) {
2908 assert(N2C && (unsigned)N2C->getZExtValue() < 2 && "Bad EXTRACT_ELEMENT!");
2918 return N1.getOperand(N2C->getZExtValue());
2923 unsigned Shift = ElementSize * N2C->getZExtValue();
2954 if (N2C) {
2955 SDValue SV = FoldConstantArithmetic(Opcode, VT, N1C, N2C);
2959 std::swap(N1C, N2C);