Lines Matching defs:N0C

1368   ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
1384 if (N0C && N1C)
1385 return DAG.FoldConstantArithmetic(ISD::ADD, VT, N0C, N1C);
1387 if (N0C && !N1C)
1401 if (ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0.getOperand(0)))
1404 N0C->getAPIntValue(), VT),
1532 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
1543 if (N0C && !N1C)
1574 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
1578 if (N0C && !N1C)
1609 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0.getNode());
1626 if (N0C && N1C)
1627 return DAG.FoldConstantArithmetic(ISD::SUB, VT, N0C, N1C);
1633 if (N0C && N0C->isAllOnesValue())
1645 if (N1.getOpcode() == ISD::ADD && N0C && N1C1) {
1646 SDValue NewC = DAG.getConstant((N0C->getAPIntValue() - N1C1->getAPIntValue()), VT);
1697 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
1719 if (N0C && N0C->isAllOnesValue())
1742 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
1756 if (N0C && N1C)
1757 return DAG.FoldConstantArithmetic(ISD::MUL, VT, N0C, N1C);
1759 if (N0C && !N1C)
1836 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0.getNode());
1847 if (N0C && N1C && !N1C->isNullValue())
1848 return DAG.FoldConstantArithmetic(ISD::SDIV, VT, N0C, N1C);
1920 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0.getNode());
1931 if (N0C && N1C && !N1C->isNullValue())
1932 return DAG.FoldConstantArithmetic(ISD::UDIV, VT, N0C, N1C);
1972 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
1977 if (N0C && N1C && !N1C->isNullValue())
1978 return DAG.FoldConstantArithmetic(ISD::SREM, VT, N0C, N1C);
2014 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
2019 if (N0C && N1C && !N1C->isNullValue())
2020 return DAG.FoldConstantArithmetic(ISD::UREM, VT, N0C, N1C);
2409 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
2424 if (N0C && N1C)
2425 return DAG.FoldConstantArithmetic(ISD::AND, VT, N0C, N1C);
2427 if (N0C && !N1C)
3008 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
3025 if (N0C && N1C)
3026 return DAG.FoldConstantArithmetic(ISD::OR, VT, N0C, N1C);
3028 if (N0C && !N1C)
3328 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
3347 if (N0C && N1C)
3348 return DAG.FoldConstantArithmetic(ISD::XOR, VT, N0C, N1C);
3350 if (N0C && !N1C)
3518 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
3524 if (N0C && N1C)
3525 return DAG.FoldConstantArithmetic(ISD::SHL, VT, N0C, N1C);
3527 if (N0C && N0C->isNullValue())
3648 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
3654 if (N0C && N1C)
3655 return DAG.FoldConstantArithmetic(ISD::SRA, VT, N0C, N1C);
3657 if (N0C && N0C->isNullValue())
3660 if (N0C && N0C->isAllOnesValue())
3793 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
3799 if (N0C && N1C)
3800 return DAG.FoldConstantArithmetic(ISD::SRL, VT, N0C, N1C);
3802 if (N0C && N0C->isNullValue())
4037 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
4047 if (N0C && !N0C->isNullValue())
4050 if (N0C && N0C->isNullValue())
6187 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
6192 if (N0C && OpVT != MVT::ppcf128 &&
6244 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
6249 if (N0C && OpVT != MVT::ppcf128 &&