Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp2062 if (match(I->getOperand(1), m_APFloat(C)) && C->isNegative()) { in getNegatibleInsts()
2075 if ((match(I->getOperand(0), m_APFloat(C)) && C->isNegative()) || in getNegatibleInsts()
2076 (match(I->getOperand(1), m_APFloat(C)) && C->isNegative())) { in getNegatibleInsts()
2114 if (match(Negatible->getOperand(0), m_APFloat(C))) { in canonicalizeNegFPConstantsForOp()
2121 if (match(Negatible->getOperand(1), m_APFloat(C))) { in canonicalizeNegFPConstantsForOp()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1353 if (M->getIntrinsicID() == IID && match(Arg1, m_APFloat(C1)) && in visitCallInst()
1355 match(M->getArgOperand(1), m_APFloat(C2))) || in visitCallInst()
1357 match(M->getArgOperand(0), m_APFloat(C2))))) { in visitCallInst()
1481 if (match(Sign, m_APFloat(C)) && C->isNegative()) { in visitCallInst()
H A DInstCombineAddSub.cpp1514 if (match(XY, m_APFloat(C)) && !C->isNormal()) in factorizeFAddFSub()
1637 m_APFloat(StartC), m_Value(X)))) && in visitFAdd()
1638 match(RHS, m_APFloat(C))) { in visitFAdd()
H A DInstCombineSelect.cpp2395 if (!match(TVal, m_APFloat(TC)) || !match(FVal, m_APFloat(FC)) || in foldSelectToCopysign()
H A DInstCombineCompares.cpp6190 if (!match(LHSI->getOperand(0), m_APFloat(C))) in foldFCmpReciprocalAndZero()
6396 if (match(Op1, m_APFloat(C))) { in visitFCmpInst()
6420 if (match(Op0, m_OneUse(m_Intrinsic<Intrinsic::copysign>(m_APFloat(C), in visitFCmpInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp3748 if (match(RHS, m_APFloat(C))) { in SimplifyFCmpInst()
3816 if ((match(LHS, m_Intrinsic<Intrinsic::minnum>(m_Value(), m_APFloat(C2))) && in SimplifyFCmpInst()
3818 (match(LHS, m_Intrinsic<Intrinsic::maxnum>(m_Value(), m_APFloat(C2))) && in SimplifyFCmpInst()
4186 if (HasNoSignedZeros || (match(T, m_APFloat(C)) && C->isNonZero()) || in simplifySelectWithFCmp()
4187 (match(F, m_APFloat(C)) && C->isNonZero())) { in simplifySelectWithFCmp()
5739 if (match(Op1, m_APFloat(C)) && in simplifyBinaryIntrinsic()
H A DValueTracking.cpp3571 return match(V, m_APFloat(C)) && in cannotBeOrderedLessThanZeroImpl()
5589 if (CmpRHS != TrueVal || !match(CmpRHS, m_APFloat(FC1)) || !FC1->isFinite()) in matchFastFloatClamp()
5599 m_CombineOr(m_OrdFMin(m_Specific(CmpLHS), m_APFloat(FC2)), in matchFastFloatClamp()
5600 m_UnordFMin(m_Specific(CmpLHS), m_APFloat(FC2)))) && in matchFastFloatClamp()
5609 m_CombineOr(m_OrdFMax(m_Specific(CmpLHS), m_APFloat(FC2)), in matchFastFloatClamp()
5610 m_UnordFMax(m_Specific(CmpLHS), m_APFloat(FC2)))) && in matchFastFloatClamp()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp816 match(Op0, PatternMatch::m_APFloat(C)); in instCombineIntrinsic()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1522 if (!match(Pow->getArgOperand(0), m_APFloat(BaseF))) in replacePowWithExp()
1622 if (!match(Expo, m_APFloat(ExpoF)) || in replacePowWithSqrt()
1718 if (AllowApprox && match(Expo, m_APFloat(ExpoF)) && in optimizePow()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h287 inline apfloat_match m_APFloat(const APFloat *&Res) { in m_APFloat() function