Lines Matching defs:N0C

1404   ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
1426 if (N0C && N1C)
1427 return DAG.FoldConstantArithmetic(ISD::ADD, VT, N0C, N1C);
1429 if (N0C && !N1C)
1443 if (ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0.getOperand(0)))
1446 N0C->getAPIntValue(), VT),
1574 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
1585 if (N0C && !N1C)
1616 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
1620 if (N0C && !N1C)
1646 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0.getNode());
1667 if (N0C && N1C)
1668 return DAG.FoldConstantArithmetic(ISD::SUB, VT, N0C, N1C);
1674 if (N0C && N0C->isAllOnesValue())
1686 if (N1.getOpcode() == ISD::ADD && N0C && N1C1) {
1687 SDValue NewC = DAG.getConstant(N0C->getAPIntValue() - N1C1->getAPIntValue(),
1739 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
1761 if (N0C && N0C->isAllOnesValue())
1920 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0.getNode());
1931 if (N0C && N1C && !N1C->isNullValue())
1932 return DAG.FoldConstantArithmetic(ISD::SDIV, VT, N0C, N1C);
2004 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0.getNode());
2015 if (N0C && N1C && !N1C->isNullValue())
2016 return DAG.FoldConstantArithmetic(ISD::UDIV, VT, N0C, N1C);
2056 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
2061 if (N0C && N1C && !N1C->isNullValue())
2062 return DAG.FoldConstantArithmetic(ISD::SREM, VT, N0C, N1C);
2098 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
2103 if (N0C && N1C && !N1C->isNullValue())
2104 return DAG.FoldConstantArithmetic(ISD::UREM, VT, N0C, N1C);
2496 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
2523 if (N0C && N1C)
2524 return DAG.FoldConstantArithmetic(ISD::AND, VT, N0C, N1C);
2526 if (N0C && !N1C)
3134 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
3163 if (N0C && N1C)
3164 return DAG.FoldConstantArithmetic(ISD::OR, VT, N0C, N1C);
3166 if (N0C && !N1C)
3428 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
3453 if (N0C && N1C)
3454 return DAG.FoldConstantArithmetic(ISD::XOR, VT, N0C, N1C);
3456 if (N0C && !N1C)
3633 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
3645 if (N0C && N1C)
3646 return DAG.FoldConstantArithmetic(ISD::SHL, VT, N0C, N1C);
3648 if (N0C && N0C->isNullValue())
3790 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
3802 if (N0C && N1C)
3803 return DAG.FoldConstantArithmetic(ISD::SRA, VT, N0C, N1C);
3805 if (N0C && N0C->isNullValue())
3808 if (N0C && N0C->isAllOnesValue())
3941 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
3953 if (N0C && N1C)
3954 return DAG.FoldConstantArithmetic(ISD::SRL, VT, N0C, N1C);
3956 if (N0C && N0C->isNullValue())
4193 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
4203 if (N0C && !N0C->isNullValue())
4206 if (N0C && N0C->isNullValue())
6534 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
6539 if (N0C &&
6591 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
6596 if (N0C &&