Home | History | Annotate | Download | only in SelectionDAG

Lines Matching defs:N2C

1820   if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2.getNode())) {
1821 const APInt &C2 = N2C->getAPIntValue();
1841 if (ConstantFPSDNode *N2C = dyn_cast<ConstantFPSDNode>(N2.getNode())) {
1842 APFloat::cmpResult R = N1C->getValueAPF().compare(N2C->getValueAPF());
3070 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2.getNode());
3103 if (N2C && N2C->isNullValue())
3105 if (N2C && N2C->isAllOnesValue()) // X & -1 -> X
3117 if (N2C && N2C->isNullValue())
3205 if (N2C && N2C->isNullValue())
3274 if (N2C &&
3280 N1.getOperand(N2C->getZExtValue() / Factor),
3281 getConstant(N2C->getZExtValue() % Factor,
3287 if (N2C && N1.getOpcode() == ISD::BUILD_VECTOR) {
3288 SDValue Elt = N1.getOperand(N2C->getZExtValue());
3308 if (N1Op2C && N2C) {
3309 if (N1Op2C->getZExtValue() == N2C->getZExtValue()) {
3321 assert(N2C && (unsigned)N2C->getZExtValue() < 2 && "Bad EXTRACT_ELEMENT!");
3331 return N1.getOperand(N2C->getZExtValue());
3336 unsigned Shift = ElementSize * N2C->getZExtValue();
3372 if (N1C && !N2C && isCommutativeBinOp(Opcode)) {
3373 std::swap(N1C, N2C);