Searched refs:m_APFloat (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | Reassociate.cpp | 2032 if (match(I->getOperand(1), m_APFloat(C)) && C->isNegative()) { in getNegatibleInsts() 2045 if ((match(I->getOperand(0), m_APFloat(C)) && C->isNegative()) || in getNegatibleInsts() 2046 (match(I->getOperand(1), m_APFloat(C)) && C->isNegative())) { in getNegatibleInsts() 2084 if (match(Negatible->getOperand(0), m_APFloat(C))) { in canonicalizeNegFPConstantsForOp() 2091 if (match(Negatible->getOperand(1), m_APFloat(C))) { in canonicalizeNegFPConstantsForOp()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUCodeGenPrepare.cpp | 2140 if (!match(Arg1, m_APFloat(C))) in matchFractPat() 2201 return match(Val, m_APFloat(C)) && C->getExactLog2Abs() == 0; in isOneOrNegOne()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAddSub.cpp | 1880 if (match(XY, m_APFloat(C)) && !C->isNormal()) in factorizeFAddFSub() 1956 m_APFloat(StartC), m_Value(X)))) && in visitFAdd() 1957 match(RHS, m_APFloat(C))) { in visitFAdd()
|
H A D | InstCombineCalls.cpp | 2348 if (M->getIntrinsicID() == IID && match(Arg1, m_APFloat(C1)) && in visitCallInst() 2350 match(M->getArgOperand(1), m_APFloat(C2))) || in visitCallInst() 2352 match(M->getArgOperand(0), m_APFloat(C2))))) { in visitCallInst() 2547 if (match(Mag, m_APFloat(MagC)) && MagC->isNegative()) { in visitCallInst()
|
H A D | InstCombineCompares.cpp | 7607 if (!match(RHSC, m_APFloat(RHS))) in foldFCmpIntToFPConst() 7872 if (!match(LHSI->getOperand(0), m_APFloat(C))) in foldFCmpReciprocalAndZero() 7892 if (!match(I.getOperand(1), m_APFloat(C))) in foldFabsWithFcmpZero() 8161 if (match(Op1, m_APFloat(C)) && C->isInfinity()) { in visitFCmpInst() 8275 if (match(Op1, m_APFloat(C))) { in visitFCmpInst() 8323 if (match(Op0, m_OneUse(m_Intrinsic<Intrinsic::copysign>(m_APFloat(C), in visitFCmpInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 4202 if ((match(LHS, m_Intrinsic<Intrinsic::minnum>(m_Value(), m_APFloat(C2))) && in simplifyFCmpInst() 4204 (match(LHS, m_Intrinsic<Intrinsic::maxnum>(m_Value(), m_APFloat(C2))) && in simplifyFCmpInst() 4777 if (HasNoSignedZeros || (match(T, m_APFloat(C)) && C->isNonZero()) || in simplifySelectWithFCmp() 4778 (match(F, m_APFloat(C)) && C->isNonZero())) { in simplifySelectWithFCmp() 6214 match(Op0, PatternMatch::m_APFloat(C)); in simplifyLdexp() 6708 if (match(Op1, m_APFloat(C)) && in simplifyBinaryIntrinsic()
|
H A D | ValueTracking.cpp | 4774 if (match(Cond, m_FCmp(Pred, m_Value(LHS), m_APFloat(CRHS)))) { in computeKnownFPClassFromCond() 8099 if (CmpRHS != TrueVal || !match(CmpRHS, m_APFloat(FC1)) || !FC1->isFinite()) in matchFastFloatClamp() 8109 m_CombineOr(m_OrdFMin(m_Specific(CmpLHS), m_APFloat(FC2)), in matchFastFloatClamp() 8110 m_UnordFMin(m_Specific(CmpLHS), m_APFloat(FC2)))) && in matchFastFloatClamp() 8119 m_CombineOr(m_OrdFMax(m_Specific(CmpLHS), m_APFloat(FC2)), in matchFastFloatClamp() 8120 m_UnordFMax(m_Specific(CmpLHS), m_APFloat(FC2)))) && in matchFastFloatClamp()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 2114 if (!match(Base, m_APFloat(BaseF))) in replacePowWithExp() 2239 if (!match(Expo, m_APFloat(ExpoF)) || in replacePowWithSqrt() 2338 if (AllowApprox && match(Expo, m_APFloat(ExpoF)) && in optimizePow()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | PatternMatch.h | 316 inline apfloat_match m_APFloat(const APFloat *&Res) { in m_APFloat() function
|