Home
last modified time | relevance | path

Searched refs:m_APFloat (Results 1 – 9 of 9) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp2115 if (match(I->getOperand(1), m_APFloat(C)) && C->isNegative()) { in getNegatibleInsts()
2128 if ((match(I->getOperand(0), m_APFloat(C)) && C->isNegative()) || in getNegatibleInsts()
2129 (match(I->getOperand(1), m_APFloat(C)) && C->isNegative())) { in getNegatibleInsts()
2167 if (match(Negatible->getOperand(0), m_APFloat(C))) { in canonicalizeNegFPConstantsForOp()
2174 if (match(Negatible->getOperand(1), m_APFloat(C))) { in canonicalizeNegFPConstantsForOp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp2241 if (M->getIntrinsicID() == IID && match(Arg1, m_APFloat(C1)) && in visitCallInst()
2243 match(M->getArgOperand(1), m_APFloat(C2))) || in visitCallInst()
2245 match(M->getArgOperand(0), m_APFloat(C2))))) { in visitCallInst()
2426 if (match(Sign, m_APFloat(C)) && C->isNegative()) { in visitCallInst()
H A DInstCombineAddSub.cpp1820 if (match(XY, m_APFloat(C)) && !C->isNormal()) in factorizeFAddFSub()
1950 m_APFloat(StartC), m_Value(X)))) && in visitFAdd()
1951 match(RHS, m_APFloat(C))) { in visitFAdd()
H A DInstCombineCompares.cpp7502 if (!match(LHSI->getOperand(0), m_APFloat(C))) in foldFCmpReciprocalAndZero()
7522 if (!match(I.getOperand(1), m_APFloat(C))) in foldFabsWithFcmpZero()
7783 if (match(Op1, m_APFloat(C))) { in visitFCmpInst()
7832 if (match(Op0, m_OneUse(m_Intrinsic<Intrinsic::copysign>(m_APFloat(C), in visitFCmpInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp2056 if (!match(Arg1, m_APFloat(C))) in matchFractPat()
2116 return match(Val, m_APFloat(C)) && C->getExactLog2Abs() == 0; in isOneOrNegOne()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp4189 if ((match(LHS, m_Intrinsic<Intrinsic::minnum>(m_Value(), m_APFloat(C2))) && in simplifyFCmpInst()
4191 (match(LHS, m_Intrinsic<Intrinsic::maxnum>(m_Value(), m_APFloat(C2))) && in simplifyFCmpInst()
4751 if (HasNoSignedZeros || (match(T, m_APFloat(C)) && C->isNonZero()) || in simplifySelectWithFCmp()
4752 (match(F, m_APFloat(C)) && C->isNonZero())) { in simplifySelectWithFCmp()
6171 match(Op0, PatternMatch::m_APFloat(C)); in simplifyLdexp()
6647 if (match(Op1, m_APFloat(C)) && in simplifyBinaryIntrinsic()
H A DValueTracking.cpp3823 return match(V, m_APFloat(C)) && in cannotBeOrderedLessThanZeroImpl()
7376 if (CmpRHS != TrueVal || !match(CmpRHS, m_APFloat(FC1)) || !FC1->isFinite()) in matchFastFloatClamp()
7386 m_CombineOr(m_OrdFMin(m_Specific(CmpLHS), m_APFloat(FC2)), in matchFastFloatClamp()
7387 m_UnordFMin(m_Specific(CmpLHS), m_APFloat(FC2)))) && in matchFastFloatClamp()
7396 m_CombineOr(m_OrdFMax(m_Specific(CmpLHS), m_APFloat(FC2)), in matchFastFloatClamp()
7397 m_UnordFMax(m_Specific(CmpLHS), m_APFloat(FC2)))) && in matchFastFloatClamp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2046 if (!match(Pow->getArgOperand(0), m_APFloat(BaseF))) in replacePowWithExp()
2156 if (!match(Expo, m_APFloat(ExpoF)) || in replacePowWithSqrt()
2257 if (AllowApprox && match(Expo, m_APFloat(ExpoF)) && in optimizePow()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h295 inline apfloat_match m_APFloat(const APFloat *&Res) { in m_APFloat() function