Home
last modified time | relevance | path

Searched refs:N1CFP (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp5234 ConstantFPSDNode *N1CFP = dyn_cast<ConstantFPSDNode>(N1); in visitFADD() local
5244 if (N0CFP && N1CFP && VT != MVT::ppcf128) in visitFADD()
5247 if (N0CFP && !N1CFP) in visitFADD()
5250 if (UnsafeFPMath && N1CFP && N1CFP->getValueAPF().isZero()) in visitFADD()
5262 if (UnsafeFPMath && N1CFP && N0.getOpcode() == ISD::FADD && in visitFADD()
5275 ConstantFPSDNode *N1CFP = dyn_cast<ConstantFPSDNode>(N1); in visitFSUB() local
5285 if (N0CFP && N1CFP && VT != MVT::ppcf128) in visitFSUB()
5288 if (UnsafeFPMath && N1CFP && N1CFP->getValueAPF().isZero()) in visitFSUB()
5309 ConstantFPSDNode *N1CFP = dyn_cast<ConstantFPSDNode>(N1); in visitFMUL() local
5319 if (N0CFP && N1CFP && VT != MVT::ppcf128) in visitFMUL()
[all …]
DSelectionDAG.cpp2966 ConstantFPSDNode *N1CFP = dyn_cast<ConstantFPSDNode>(N1.getNode()); in getNode() local
2968 if (N1CFP) { in getNode()
2971 std::swap(N1CFP, N2CFP); in getNode()
2974 APFloat V1 = N1CFP->getValueAPF(), V2 = N2CFP->getValueAPF(); in getNode()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp8302 bool N1CFP = isConstantFPBuildVectorOrConstantFP(N1); in visitFADD() local
8314 if (N0CFP && N1CFP) in visitFADD()
8318 if (N0CFP && !N1CFP) in visitFADD()
8345 if (N1CFP && N0.getOpcode() == ISD::FADD && N0.getNode()->hasOneUse() && in visitFADD()
8363 if (TLI.isOperationLegalOrCustom(ISD::FMUL, VT) && !N0CFP && !N1CFP) { in visitFADD()
8450 ConstantFPSDNode *N1CFP = isConstOrConstSplatFP(N1); in visitFSUB() local
8462 if (N0CFP && N1CFP) in visitFSUB()
8473 if (N1CFP && N1CFP->isZero()) in visitFSUB()
8515 ConstantFPSDNode *N1CFP = isConstOrConstSplatFP(N1); in visitFMUL() local
8529 if (N0CFP && N1CFP) in visitFMUL()
[all …]
DSelectionDAG.cpp3465 ConstantFPSDNode *N1CFP = dyn_cast<ConstantFPSDNode>(N1); in getNode() local
3473 } else if (N1CFP && !N2CFP) { in getNode()
3474 std::swap(N1CFP, N2CFP); in getNode()
3784 if (N1CFP) { in getNode()
3786 APFloat V1 = N1CFP->getValueAPF(), V2 = N2CFP->getValueAPF(); in getNode()
3826 APFloat V = N1CFP->getValueAPF(); // make copy in getNode()
3940 ConstantFPSDNode *N1CFP = dyn_cast<ConstantFPSDNode>(N1); in getNode() local
3943 if (N1CFP && N2CFP && N3CFP) { in getNode()
3944 APFloat V1 = N1CFP->getValueAPF(); in getNode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp10721 bool N1CFP = isConstantFPBuildVectorOrConstantFP(N1); in visitFADD() local
10733 if (N0CFP && N1CFP) in visitFADD()
10737 if (N0CFP && !N1CFP) in visitFADD()
10796 if (N1CFP && N0.getOpcode() == ISD::FADD && in visitFADD()
10805 if (TLI.isOperationLegalOrCustom(ISD::FMUL, VT) && !N0CFP && !N1CFP) { in visitFADD()
10891 ConstantFPSDNode *N1CFP = isConstOrConstSplatFP(N1); in visitFSUB() local
10903 if (N0CFP && N1CFP) in visitFSUB()
10910 if (N1CFP && N1CFP->isZero()) { in visitFSUB()
10911 if (!N1CFP->isNegative() || Options.UnsafeFPMath || in visitFSUB()
10967 ConstantFPSDNode *N1CFP = isConstOrConstSplatFP(N1); in visitFMUL() local
[all …]
DSelectionDAG.cpp4415 ConstantFPSDNode *N1CFP = dyn_cast<ConstantFPSDNode>(N1); in getNode() local
4423 } else if (N1CFP && !N2CFP) { in getNode()
4424 std::swap(N1CFP, N2CFP); in getNode()
4744 if (N1CFP) { in getNode()
4746 APFloat V1 = N1CFP->getValueAPF(), V2 = N2CFP->getValueAPF(); in getNode()
4786 APFloat V = N1CFP->getValueAPF(); // make copy in getNode()
4896 ConstantFPSDNode *N1CFP = dyn_cast<ConstantFPSDNode>(N1); in getNode() local
4899 if (N1CFP && N2CFP && N3CFP) { in getNode()
4900 APFloat V1 = N1CFP->getValueAPF(); in getNode()