Searched refs:N2C (Results 1 – 5 of 5) sorted by relevance
2256 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2)) { in FoldSetCC() local2257 const APInt &C2 = N2C->getAPIntValue(); in FoldSetCC()5486 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2); in getNode() local5492 if (N1C && !N2C) { in getNode()5493 std::swap(N1C, N2C); in getNode()5530 if (N2C && N2C->isNullValue()) in getNode()5532 if (N2C && N2C->isAllOnesValue()) // X & -1 -> X in getNode()5544 if (N2C && N2C->isNullValue()) in getNode()5556 if (N2C && (N1.getOpcode() == ISD::VSCALE) && Flags.hasNoSignedWrap()) { in getNode()5558 const APInt &N2CImm = N2C->getAPIntValue(); in getNode()[all …]
22151 auto *N2C = dyn_cast<ConstantSDNode>(N2.getNode()); in foldSelectCCToShiftAnd() local22152 if (N2C && ((N2C->getAPIntValue() & (N2C->getAPIntValue() - 1)) == 0)) { in foldSelectCCToShiftAnd()22153 unsigned ShCt = XType.getSizeInBits() - N2C->getAPIntValue().logBase2() - 1; in foldSelectCCToShiftAnd()22299 auto *N2C = dyn_cast<ConstantSDNode>(N2.getNode()); in SimplifySelectCC() local22352 bool Fold = N2C && isNullConstant(N3) && N2C->getAPIntValue().isPowerOf2(); in SimplifySelectCC()22362 std::swap(N2C, N3C); in SimplifySelectCC()22367 if (NotExtCompare && N2C->isOne()) in SimplifySelectCC()22386 if (N2C->isOne()) in SimplifySelectCC()22389 unsigned ShCt = N2C->getAPIntValue().logBase2(); in SimplifySelectCC()
3684 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2); in Select() local3685 if (!N2C) in Select()3688 unsigned N2CVal = N2C->getZExtValue(); in Select()
5416 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N->getOperand(2))) in Select() local5419 N2C->getZExtValue() == 1ULL && CC == ISD::SETNE && in Select()
18904 auto *N2C = dyn_cast<ConstantSDNode>(N2); in LowerINSERT_VECTOR_ELT() local18906 if (!N2C) { in LowerINSERT_VECTOR_ELT()18931 if (N2C->getAPIntValue().uge(NumElts)) in LowerINSERT_VECTOR_ELT()18933 uint64_t IdxVal = N2C->getZExtValue(); in LowerINSERT_VECTOR_ELT()