Home
last modified time | relevance | path

Searched refs:N2C (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp2365 const APInt &C2 = N2C->getAPIntValue(); in FoldSetCC()
5908 auto *N2C = dyn_cast<ConstantSDNode>(N2); in getNode() local
5972 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 …]
H A DDAGCombiner.cpp23915 auto *N2C = dyn_cast<ConstantSDNode>(N2.getNode()); in foldSelectCCToShiftAnd() local
23916 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() local
24168 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 …]
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp3888 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2); in Select() local
3889 if (!N2C) in Select()
3892 unsigned N2CVal = N2C->getZExtValue(); in Select()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp5577 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N->getOperand(2))) in Select() local
5579 if (N1C->isZero() && N3C->isZero() && N2C->getZExtValue() == 1ULL && in Select()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp19911 auto *N2C = dyn_cast<ConstantSDNode>(N2); in LowerINSERT_VECTOR_ELT() local
19913 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()