Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp2256 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2)) { in FoldSetCC() local
2257 const APInt &C2 = N2C->getAPIntValue(); in FoldSetCC()
5486 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2); in getNode() local
5492 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 …]
H A DDAGCombiner.cpp22151 auto *N2C = dyn_cast<ConstantSDNode>(N2.getNode()); in foldSelectCCToShiftAnd() local
22152 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() local
22352 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp3684 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2); in Select() local
3685 if (!N2C) in Select()
3688 unsigned N2CVal = N2C->getZExtValue(); in Select()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp5416 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N->getOperand(2))) in Select() local
5419 N2C->getZExtValue() == 1ULL && CC == ISD::SETNE && in Select()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp18904 auto *N2C = dyn_cast<ConstantSDNode>(N2); in LowerINSERT_VECTOR_ELT() local
18906 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()