Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1921 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2)) { in FoldSetCC() local
1922 const APInt &C2 = N2C->getAPIntValue(); in FoldSetCC()
1942 if (ConstantFPSDNode *N2C = dyn_cast<ConstantFPSDNode>(N2)) { in FoldSetCC() local
1943 APFloat::cmpResult R = N1C->getValueAPF().compare(N2C->getValueAPF()); in FoldSetCC()
3464 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2); in getNode() local
3470 if (N1C && !N2C) { in getNode()
3471 std::swap(N1C, N2C); in getNode()
3502 if (N2C && N2C->isNullValue()) in getNode()
3504 if (N2C && N2C->isAllOnesValue()) // X & -1 -> X in getNode()
3516 if (N2C && N2C->isNullValue()) in getNode()
[all …]
DDAGCombiner.cpp14168 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2.getNode()); in SimplifySelectCC() local
14264 if (N2C && ((N2C->getAPIntValue() & (N2C->getAPIntValue() - 1)) == 0)) { in SimplifySelectCC()
14265 unsigned ShCtV = N2C->getAPIntValue().logBase2(); in SimplifySelectCC()
14327 if (N2C && isNullConstant(N3) && N2C->getAPIntValue().isPowerOf2() && in SimplifySelectCC()
14333 if (NotExtCompare && N2C->isOne()) in SimplifySelectCC()
14360 if (N2C->isOne()) in SimplifySelectCC()
14366 DAG.getConstant(N2C->getAPIntValue().logBase2(), SDLoc(Temp), in SimplifySelectCC()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1506 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2.getNode())) { in FoldSetCC() local
1507 const APInt &C2 = N2C->getAPIntValue(); in FoldSetCC()
1527 if (ConstantFPSDNode *N2C = dyn_cast<ConstantFPSDNode>(N2.getNode())) { in FoldSetCC() local
1532 APFloat::cmpResult R = N1C->getValueAPF().compare(N2C->getValueAPF()); in FoldSetCC()
2678 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2.getNode()); in getNode() local
2706 if (N2C && N2C->isNullValue()) in getNode()
2708 if (N2C && N2C->isAllOnesValue()) // X & -1 -> X in getNode()
2720 if (N2C && N2C->isNullValue()) in getNode()
2788 if (N2C && N2C->isNullValue()) in getNode()
2857 if (N2C && in getNode()
[all …]
DDAGCombiner.cpp3742 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2); in visitSELECT() local
3763 N1C && N2C && N1C->isNullValue() && N2C->getAPIntValue() == 1) { in visitSELECT()
3782 if (VT == VT0 && VT == MVT::i1 && N2C && N2C->getAPIntValue() == 1) { in visitSELECT()
3788 if (VT == MVT::i1 && N2C && N2C->isNullValue()) in visitSELECT()
3796 if (VT == MVT::i1 && (N0 == N2 || (N2C && N2C->getAPIntValue() == 0))) in visitSELECT()
7431 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2.getNode()); in SimplifySelectCC() local
7529 if (N2C && ((N2C->getAPIntValue() & (N2C->getAPIntValue()-1)) == 0)) { in SimplifySelectCC()
7530 unsigned ShCtV = N2C->getAPIntValue().logBase2(); in SimplifySelectCC()
7570 N2C && N2C->isNullValue()) { in SimplifySelectCC()
7593 if (N2C && N3C && N3C->isNullValue() && N2C->getAPIntValue().isPowerOf2() && in SimplifySelectCC()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp1011 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N->getOperand(2))) in Select() local
1014 N2C->getZExtValue() == 1ULL && CC == ISD::SETNE && in Select()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMISelDAGToDAG.cpp2538 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2); in Select() local
2539 if (!N2C) in Select()
2542 unsigned N2CVal = N2C->getZExtValue(); in Select()
/external/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp2875 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2); in Select() local
2876 if (!N2C) in Select()
2879 unsigned N2CVal = N2C->getZExtValue(); in Select()
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp2777 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N->getOperand(2))) in Select() local
2780 N2C->getZExtValue() == 1ULL && CC == ISD::SETNE && in Select()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp8666 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(Op2); in LowerSELECT() local
8667 if (N2C == 0 || !N2C->isNullValue()) in LowerSELECT()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp12570 auto *N2C = cast<ConstantSDNode>(N2); in LowerINSERT_VECTOR_ELT() local
12571 unsigned IdxVal = N2C->getZExtValue(); in LowerINSERT_VECTOR_ELT()