Searched refs:N2C (Results 1 – 10 of 10) sorted by relevance
1921 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2)) { in FoldSetCC() local1922 const APInt &C2 = N2C->getAPIntValue(); in FoldSetCC()1942 if (ConstantFPSDNode *N2C = dyn_cast<ConstantFPSDNode>(N2)) { in FoldSetCC() local1943 APFloat::cmpResult R = N1C->getValueAPF().compare(N2C->getValueAPF()); in FoldSetCC()3464 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2); in getNode() local3470 if (N1C && !N2C) { in getNode()3471 std::swap(N1C, N2C); in getNode()3502 if (N2C && N2C->isNullValue()) in getNode()3504 if (N2C && N2C->isAllOnesValue()) // X & -1 -> X in getNode()3516 if (N2C && N2C->isNullValue()) in getNode()[all …]
14168 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2.getNode()); in SimplifySelectCC() local14264 if (N2C && ((N2C->getAPIntValue() & (N2C->getAPIntValue() - 1)) == 0)) { in SimplifySelectCC()14265 unsigned ShCtV = N2C->getAPIntValue().logBase2(); in SimplifySelectCC()14327 if (N2C && isNullConstant(N3) && N2C->getAPIntValue().isPowerOf2() && in SimplifySelectCC()14333 if (NotExtCompare && N2C->isOne()) in SimplifySelectCC()14360 if (N2C->isOne()) in SimplifySelectCC()14366 DAG.getConstant(N2C->getAPIntValue().logBase2(), SDLoc(Temp), in SimplifySelectCC()
1506 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2.getNode())) { in FoldSetCC() local1507 const APInt &C2 = N2C->getAPIntValue(); in FoldSetCC()1527 if (ConstantFPSDNode *N2C = dyn_cast<ConstantFPSDNode>(N2.getNode())) { in FoldSetCC() local1532 APFloat::cmpResult R = N1C->getValueAPF().compare(N2C->getValueAPF()); in FoldSetCC()2678 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2.getNode()); in getNode() local2706 if (N2C && N2C->isNullValue()) in getNode()2708 if (N2C && N2C->isAllOnesValue()) // X & -1 -> X in getNode()2720 if (N2C && N2C->isNullValue()) in getNode()2788 if (N2C && N2C->isNullValue()) in getNode()2857 if (N2C && in getNode()[all …]
3742 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2); in visitSELECT() local3763 N1C && N2C && N1C->isNullValue() && N2C->getAPIntValue() == 1) { in visitSELECT()3782 if (VT == VT0 && VT == MVT::i1 && N2C && N2C->getAPIntValue() == 1) { in visitSELECT()3788 if (VT == MVT::i1 && N2C && N2C->isNullValue()) in visitSELECT()3796 if (VT == MVT::i1 && (N0 == N2 || (N2C && N2C->getAPIntValue() == 0))) in visitSELECT()7431 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2.getNode()); in SimplifySelectCC() local7529 if (N2C && ((N2C->getAPIntValue() & (N2C->getAPIntValue()-1)) == 0)) { in SimplifySelectCC()7530 unsigned ShCtV = N2C->getAPIntValue().logBase2(); in SimplifySelectCC()7570 N2C && N2C->isNullValue()) { in SimplifySelectCC()7593 if (N2C && N3C && N3C->isNullValue() && N2C->getAPIntValue().isPowerOf2() && in SimplifySelectCC()[all …]
1011 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N->getOperand(2))) in Select() local1014 N2C->getZExtValue() == 1ULL && CC == ISD::SETNE && in Select()
2538 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2); in Select() local2539 if (!N2C) in Select()2542 unsigned N2CVal = N2C->getZExtValue(); in Select()
2875 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2); in Select() local2876 if (!N2C) in Select()2879 unsigned N2CVal = N2C->getZExtValue(); in Select()
2777 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N->getOperand(2))) in Select() local2780 N2C->getZExtValue() == 1ULL && CC == ISD::SETNE && in Select()
8666 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(Op2); in LowerSELECT() local8667 if (N2C == 0 || !N2C->isNullValue()) in LowerSELECT()
12570 auto *N2C = cast<ConstantSDNode>(N2); in LowerINSERT_VECTOR_ELT() local12571 unsigned IdxVal = N2C->getZExtValue(); in LowerINSERT_VECTOR_ELT()