Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2052 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2)) { in FoldSetCC() local
2053 const APInt &C2 = N2C->getAPIntValue(); in FoldSetCC()
5131 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2); in getNode() local
5137 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 …]
DDAGCombiner.cpp20261 auto *N2C = dyn_cast<ConstantSDNode>(N2.getNode()); in foldSelectCCToShiftAnd() local
20262 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() local
20422 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp3361 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2); in Select() local
3362 if (!N2C) in Select()
3365 unsigned N2CVal = N2C->getZExtValue(); in Select()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp4901 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N->getOperand(2))) in Select() local
4904 N2C->getZExtValue() == 1ULL && CC == ISD::SETNE && in Select()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp17811 auto *N2C = dyn_cast<ConstantSDNode>(N2); in LowerINSERT_VECTOR_ELT() local
17812 if (!N2C || N2C->getAPIntValue().uge(NumElts)) in LowerINSERT_VECTOR_ELT()
17814 uint64_t IdxVal = N2C->getZExtValue(); in LowerINSERT_VECTOR_ELT()