Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1318 if (M->getIntrinsicID() == IID && match(Arg1, m_APFloat(C1)) && in visitCallInst()
1320 match(M->getArgOperand(1), m_APFloat(C2))) || in visitCallInst()
1322 match(M->getArgOperand(0), m_APFloat(C2))))) { in visitCallInst()
1440 if (match(Sign, m_APFloat(C)) && C->isNegative()) { in visitCallInst()
H A DInstCombineSelect.cpp2395 if (!match(TVal, m_APFloat(TC)) || !match(FVal, m_APFloat(FC)) || in foldSelectToCopysign()
H A DInstCombineCompares.cpp6081 if (!match(LHSI->getOperand(0), m_APFloat(C))) in foldFCmpReciprocalAndZero()
6287 if (match(Op1, m_APFloat(C))) { in visitFCmpInst()
6311 if (match(Op0, m_OneUse(m_Intrinsic<Intrinsic::copysign>(m_APFloat(C), in visitFCmpInst()
H A DInstCombineAddSub.cpp1514 if (match(XY, m_APFloat(C)) && !C->isNormal()) in factorizeFAddFSub()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DValueTracking.cpp3529 return match(V, m_APFloat(C)) && in cannotBeOrderedLessThanZeroImpl()
5531 if (CmpRHS != TrueVal || !match(CmpRHS, m_APFloat(FC1)) || !FC1->isFinite()) in matchFastFloatClamp()
5541 m_CombineOr(m_OrdFMin(m_Specific(CmpLHS), m_APFloat(FC2)), in matchFastFloatClamp()
5542 m_UnordFMin(m_Specific(CmpLHS), m_APFloat(FC2)))) && in matchFastFloatClamp()
5551 m_CombineOr(m_OrdFMax(m_Specific(CmpLHS), m_APFloat(FC2)), in matchFastFloatClamp()
5552 m_UnordFMax(m_Specific(CmpLHS), m_APFloat(FC2)))) && in matchFastFloatClamp()
H A DInstructionSimplify.cpp3703 if (match(RHS, m_APFloat(C))) { in SimplifyFCmpInst()
3771 if ((match(LHS, m_Intrinsic<Intrinsic::minnum>(m_Value(), m_APFloat(C2))) && in SimplifyFCmpInst()
3773 (match(LHS, m_Intrinsic<Intrinsic::maxnum>(m_Value(), m_APFloat(C2))) && in SimplifyFCmpInst()
4123 if (HasNoSignedZeros || (match(T, m_APFloat(C)) && C->isNonZero()) || in simplifySelectWithFCmp()
4124 (match(F, m_APFloat(C)) && C->isNonZero())) { in simplifySelectWithFCmp()
5598 if (match(Op1, m_APFloat(C)) && in simplifyBinaryIntrinsic()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp816 match(Op0, PatternMatch::m_APFloat(C)); in instCombineIntrinsic()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1520 if (!match(Pow->getArgOperand(0), m_APFloat(BaseF))) in replacePowWithExp()
1620 if (!match(Expo, m_APFloat(ExpoF)) || in replacePowWithSqrt()
1715 if (AllowApprox && match(Expo, m_APFloat(ExpoF)) && in optimizePow()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DPatternMatch.h287 inline apfloat_match m_APFloat(const APFloat *&Res) { in m_APFloat() function