Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:N0C

1377   ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
1399 if (N0C && N1C)
1400 return DAG.FoldConstantArithmetic(ISD::ADD, VT, N0C, N1C);
1402 if (N0C && !N1C)
1416 if (ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0.getOperand(0)))
1419 N0C->getAPIntValue(), VT),
1547 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
1558 if (N0C && !N1C)
1589 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
1593 if (N0C && !N1C)
1624 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0.getNode());
1645 if (N0C && N1C)
1646 return DAG.FoldConstantArithmetic(ISD::SUB, VT, N0C, N1C);
1652 if (N0C && N0C->isAllOnesValue())
1664 if (N1.getOpcode() == ISD::ADD && N0C && N1C1) {
1665 SDValue NewC = DAG.getConstant(N0C->getAPIntValue() - N1C1->getAPIntValue(),
1717 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
1739 if (N0C && N0C->isAllOnesValue())
1762 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
1776 if (N0C && N1C)
1777 return DAG.FoldConstantArithmetic(ISD::MUL, VT, N0C, N1C);
1779 if (N0C && !N1C)
1856 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0.getNode());
1867 if (N0C && N1C && !N1C->isNullValue())
1868 return DAG.FoldConstantArithmetic(ISD::SDIV, VT, N0C, N1C);
1940 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0.getNode());
1951 if (N0C && N1C && !N1C->isNullValue())
1952 return DAG.FoldConstantArithmetic(ISD::UDIV, VT, N0C, N1C);
1992 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
1997 if (N0C && N1C && !N1C->isNullValue())
1998 return DAG.FoldConstantArithmetic(ISD::SREM, VT, N0C, N1C);
2034 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
2039 if (N0C && N1C && !N1C->isNullValue())
2040 return DAG.FoldConstantArithmetic(ISD::UREM, VT, N0C, N1C);
2432 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
2459 if (N0C && N1C)
2460 return DAG.FoldConstantArithmetic(ISD::AND, VT, N0C, N1C);
2462 if (N0C && !N1C)
3046 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
3075 if (N0C && N1C)
3076 return DAG.FoldConstantArithmetic(ISD::OR, VT, N0C, N1C);
3078 if (N0C && !N1C)
3370 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
3395 if (N0C && N1C)
3396 return DAG.FoldConstantArithmetic(ISD::XOR, VT, N0C, N1C);
3398 if (N0C && !N1C)
3567 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
3573 if (N0C && N1C)
3574 return DAG.FoldConstantArithmetic(ISD::SHL, VT, N0C, N1C);
3576 if (N0C && N0C->isNullValue())
3697 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
3703 if (N0C && N1C)
3704 return DAG.FoldConstantArithmetic(ISD::SRA, VT, N0C, N1C);
3706 if (N0C && N0C->isNullValue())
3709 if (N0C && N0C->isAllOnesValue())
3842 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
3848 if (N0C && N1C)
3849 return DAG.FoldConstantArithmetic(ISD::SRL, VT, N0C, N1C);
3851 if (N0C && N0C->isNullValue())
4086 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
4096 if (N0C && !N0C->isNullValue())
4099 if (N0C && N0C->isNullValue())
6356 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
6361 if (N0C &&
6413 ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0);
6418 if (N0C &&