Searched refs:N2C (Results 1 – 5 of 5) sorted by relevance
2052 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2)) { in FoldSetCC() local2053 const APInt &C2 = N2C->getAPIntValue(); in FoldSetCC()5131 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2); in getNode() local5137 if (N1C && !N2C) { in getNode()5138 std::swap(N1C, N2C); in getNode()5175 if (N2C && N2C->isNullValue()) in getNode()5177 if (N2C && N2C->isAllOnesValue()) // X & -1 -> X in getNode()5189 if (N2C && N2C->isNullValue()) in getNode()5254 if (N2C && N2C->isNullValue()) in getNode()5261 N2C && (N2C->getZExtValue() == 0 || N2C->getZExtValue() == 1) && in getNode()[all …]
20261 auto *N2C = dyn_cast<ConstantSDNode>(N2.getNode()); in foldSelectCCToShiftAnd() local20262 if (N2C && ((N2C->getAPIntValue() & (N2C->getAPIntValue() - 1)) == 0)) { in foldSelectCCToShiftAnd()20263 unsigned ShCt = XType.getSizeInBits() - N2C->getAPIntValue().logBase2() - 1; in foldSelectCCToShiftAnd()20369 auto *N2C = dyn_cast<ConstantSDNode>(N2.getNode()); in SimplifySelectCC() local20422 bool Fold = N2C && isNullConstant(N3) && N2C->getAPIntValue().isPowerOf2(); in SimplifySelectCC()20432 std::swap(N2C, N3C); in SimplifySelectCC()20437 if (NotExtCompare && N2C->isOne()) in SimplifySelectCC()20456 if (N2C->isOne()) in SimplifySelectCC()20459 unsigned ShCt = N2C->getAPIntValue().logBase2(); in SimplifySelectCC()
3361 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2); in Select() local3362 if (!N2C) in Select()3365 unsigned N2CVal = N2C->getZExtValue(); in Select()
4901 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N->getOperand(2))) in Select() local4904 N2C->getZExtValue() == 1ULL && CC == ISD::SETNE && in Select()
17811 auto *N2C = dyn_cast<ConstantSDNode>(N2); in LowerINSERT_VECTOR_ELT() local17812 if (!N2C || N2C->getAPIntValue().uge(NumElts)) in LowerINSERT_VECTOR_ELT()17814 uint64_t IdxVal = N2C->getZExtValue(); in LowerINSERT_VECTOR_ELT()