Searched refs:N1C (Results 1 – 8 of 8) sorted by relevance
1599 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in visitADD() local1600 if (N0C && N1C) in visitADD()1601 return DAG.FoldConstantArithmetic(ISD::ADD, VT, N0C, N1C); in visitADD()1607 if (N1C && N1C->isNullValue()) in visitADD()1611 if (!LegalOperations && TLI.isOffsetFoldingLegal(GA) && N1C && in visitADD()1613 return DAG.getGlobalAddress(GA->getGlobal(), SDLoc(N1C), VT, in visitADD()1615 (uint64_t)N1C->getSExtValue()); in visitADD()1617 if (N1C && N0.getOpcode() == ISD::SUB) in visitADD()1620 DAG.getConstant(N1C->getAPIntValue()+ in visitADD()1761 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in visitADDC() local[all …]
1243 if (ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.getNode())) { in SimplifySetCC() local1244 const APInt &C1 = N1C->getAPIntValue(); in SimplifySetCC()1490 } else if ((N1C->isNullValue() || N1C->getAPIntValue() == 1) && in SimplifySetCC()1495 bool TrueWhenTrue = (Cond == ISD::SETEQ) ^ (N1C->getAPIntValue() != 1); in SimplifySetCC()1535 } else if (N1C->getAPIntValue() == 1 && in SimplifySetCC()1577 unsigned OperandBitSize = N1C->getValueType(0).getSizeInBits(); in SimplifySetCC()1594 (!N1C->isOpaque() || (N1C->isOpaque() && C.getBitWidth() <= 64 && in SimplifySetCC()1609 (!N1C->isOpaque() || (N1C->isOpaque() && C.getBitWidth() <= 64 && in SimplifySetCC()
1864 if (ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.getNode())) { in FoldSetCC() local1865 const APInt &C1 = N1C->getAPIntValue(); in FoldSetCC()1882 if (ConstantFPSDNode *N1C = dyn_cast<ConstantFPSDNode>(N1.getNode())) { in FoldSetCC() local1884 APFloat::cmpResult R = N1C->getValueAPF().compare(N2C->getValueAPF()); in FoldSetCC()3176 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.getNode()); in getNode() local3365 if (N1C) { in getNode()3366 APInt Val = N1C->getAPIntValue(); in getNode()3480 if (N1C && !N2C && isCommutativeBinOp(Opcode)) { in getNode()3481 std::swap(N1C, N2C); in getNode()3648 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.getNode()); in getNode() local[all …]
1665 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in PerformDAGCombine() local1669 if (N0C && !N1C) in PerformDAGCombine()1673 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) { in PerformDAGCombine()1683 if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 1)) { in PerformDAGCombine()1702 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in PerformDAGCombine() local1706 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) { in PerformDAGCombine()1722 if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 1)) { in PerformDAGCombine()1742 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in PerformDAGCombine() local1746 if ((N0C && !N1C) || in PerformDAGCombine()1747 (N0C && N1C && N0C->getZExtValue() < N1C->getZExtValue())) in PerformDAGCombine()[all …]
2599 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in Select() local2600 if (!N1C) in Select()2607 unsigned N1CVal = N1C->getZExtValue(); in Select()
8339 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in PerformORCombine() local8340 if (N1C) { in PerformORCombine()8341 unsigned Val = N1C->getZExtValue(); in PerformORCombine()
2660 if (ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N->getOperand(1))) in Select() local2663 if (N1C->isNullValue() && N3C->isNullValue() && in Select()
13982 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(Op.getOperand(1)); in isXor1OfSetCC() local13983 if (N1C && N1C->getAPIntValue() == 1) { in isXor1OfSetCC()21853 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1); in PerformSHLCombine() local21859 N1C && N0.getOpcode() == ISD::AND && in PerformSHLCombine()21867 APInt ShAmt = N1C->getAPIntValue(); in PerformSHLCombine()