Searched refs:N2C (Results 1 – 5 of 5) sorted by relevance
2365 const APInt &C2 = N2C->getAPIntValue(); in FoldSetCC()5908 auto *N2C = dyn_cast<ConstantSDNode>(N2); in getNode() local5972 const APInt &N2CImm = N2C->getAPIntValue(); in getNode()6034 const APInt &ShiftImm = N2C->getAPIntValue(); in getNode()6071 N2C && (N2C->getZExtValue() == 0 || N2C->getZExtValue() == 1) && in getNode()6159 if (N2C && N1.getValueType().isFixedLengthVector() && in getNode()6178 if (N2C && (N1.getOpcode() == ISD::BUILD_VECTOR || in getNode()6205 if (N1Op2C && N2C) { in getNode()6235 assert(N2C && (unsigned)N2C->getZExtValue() < 2 && "Bad EXTRACT_ELEMENT!"); in getNode()6245 return N1.getOperand(N2C->getZExtValue()); in getNode()[all …]
23915 auto *N2C = dyn_cast<ConstantSDNode>(N2.getNode()); in foldSelectCCToShiftAnd() local23916 if (N2C && ((N2C->getAPIntValue() & (N2C->getAPIntValue() - 1)) == 0)) { in foldSelectCCToShiftAnd()23917 unsigned ShCt = XType.getSizeInBits() - N2C->getAPIntValue().logBase2() - 1; in foldSelectCCToShiftAnd()24115 auto *N2C = dyn_cast<ConstantSDNode>(N2.getNode()); in SimplifySelectCC() local24168 bool Fold = N2C && isNullConstant(N3) && N2C->getAPIntValue().isPowerOf2(); in SimplifySelectCC()24178 std::swap(N2C, N3C); in SimplifySelectCC()24183 if (NotExtCompare && N2C->isOne()) in SimplifySelectCC()24202 if (N2C->isOne()) in SimplifySelectCC()24205 unsigned ShCt = N2C->getAPIntValue().logBase2(); in SimplifySelectCC()24252 if (!NotExtCompare && N1C && N2C && N3C && in SimplifySelectCC()[all …]
3888 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2); in Select() local3889 if (!N2C) in Select()3892 unsigned N2CVal = N2C->getZExtValue(); in Select()
5577 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N->getOperand(2))) in Select() local5579 if (N1C->isZero() && N3C->isZero() && N2C->getZExtValue() == 1ULL && in Select()
19911 auto *N2C = dyn_cast<ConstantSDNode>(N2); in LowerINSERT_VECTOR_ELT() local19913 if (!N2C) { in LowerINSERT_VECTOR_ELT()19941 if (N2C->getAPIntValue().uge(NumElts)) in LowerINSERT_VECTOR_ELT()19943 uint64_t IdxVal = N2C->getZExtValue(); in LowerINSERT_VECTOR_ELT()