Searched refs:m_APFloat (Results 1 – 8 of 8) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 1964 if (match(I->getOperand(1), m_APFloat(C)) && C->isNegative()) { in getNegatibleInsts() 1977 if ((match(I->getOperand(0), m_APFloat(C)) && C->isNegative()) || in getNegatibleInsts() 1978 (match(I->getOperand(1), m_APFloat(C)) && C->isNegative())) { in getNegatibleInsts() 2016 if (match(Negatible->getOperand(0), m_APFloat(C))) { in canonicalizeNegFPConstantsForOp() 2023 if (match(Negatible->getOperand(1), m_APFloat(C))) { in canonicalizeNegFPConstantsForOp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 3571 if (match(RHS, m_APFloat(C))) { in SimplifyFCmpInst() 3624 if ((match(LHS, m_Intrinsic<Intrinsic::minnum>(m_Value(), m_APFloat(C2))) && in SimplifyFCmpInst() 3626 (match(LHS, m_Intrinsic<Intrinsic::maxnum>(m_Value(), m_APFloat(C2))) && in SimplifyFCmpInst() 3960 if (HasNoSignedZeros || (match(T, m_APFloat(C)) && C->isNonZero()) || in simplifySelectWithFCmp() 3961 (match(F, m_APFloat(C)) && C->isNonZero())) { in simplifySelectWithFCmp() 5208 if ((match(Op0, m_APFloat(C)) && C->isInfinity() && in simplifyBinaryIntrinsic() 5210 (match(Op1, m_APFloat(C)) && C->isInfinity() && in simplifyBinaryIntrinsic()
|
D | ValueTracking.cpp | 4680 if (CmpRHS != TrueVal || !match(CmpRHS, m_APFloat(FC1)) || !FC1->isFinite()) in matchFastFloatClamp() 4690 m_CombineOr(m_OrdFMin(m_Specific(CmpLHS), m_APFloat(FC2)), in matchFastFloatClamp() 4691 m_UnordFMin(m_Specific(CmpLHS), m_APFloat(FC2)))) && in matchFastFloatClamp() 4700 m_CombineOr(m_OrdFMax(m_Specific(CmpLHS), m_APFloat(FC2)), in matchFastFloatClamp() 4701 m_UnordFMax(m_Specific(CmpLHS), m_APFloat(FC2)))) && in matchFastFloatClamp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 2200 if (M->getIntrinsicID() == IID && match(Arg1, m_APFloat(C1)) && in visitCallInst() 2202 match(M->getArgOperand(1), m_APFloat(C2))) || in visitCallInst() 2204 match(M->getArgOperand(0), m_APFloat(C2))))) { in visitCallInst() 2298 if (match(II->getArgOperand(1), m_APFloat(C)) && C->isNegative()) { in visitCallInst()
|
D | InstCombineAddSub.cpp | 1466 if (match(XY, m_APFloat(C)) && !C->isNormal()) in factorizeFAddFSub()
|
D | InstCombineCompares.cpp | 5956 if (!match(LHSI->getOperand(0), m_APFloat(C))) in foldFCmpReciprocalAndZero() 6168 if (match(Op1, m_APFloat(C))) { in visitFCmpInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 1548 if (!match(Pow->getArgOperand(0), m_APFloat(BaseF))) in replacePowWithExp() 1643 if (!match(Expo, m_APFloat(ExpoF)) || in replacePowWithSqrt() 1742 if (AllowApprox && match(Expo, m_APFloat(ExpoF))) { in optimizePow()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 199 inline apfloat_match m_APFloat(const APFloat *&Res) { return Res; } in m_APFloat() function
|