Home
last modified time | relevance | path

Searched refs:m_Mul (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelAttributes.cpp285 m_Mul(GroupIDIntrin, m_Specific(ZextGroupSize))), in processUse()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanPatternMatch.h273 m_Mul(const Op0_t &Op0, const Op1_t &Op1) {
H A DLoopVectorize.cpp5760 if (match(RetI, m_OneUse(m_Mul(m_Value(), m_Value()))) && in getReductionPatternCost()
5814 m_ZExtOrSExt(m_Mul(m_Instruction(Op0), m_Instruction(Op1)))) && in getReductionPatternCost()
5859 match(RedOp, m_Mul(m_Instruction(Op0), m_Instruction(Op1)))) { in getReductionPatternCost()
H A DSLPVectorizer.cpp16815 if (match(I, m_Mul(m_Value(), m_Value()))) in getRdxKind()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp1078 if (match(E, m_Mul(m_Value(Op), m_APInt(AI)))) { in MatchMul()
1462 m_OneUse(m_Mul(m_Value(YLo), m_Value(XLo)))))) in foldBoxMultiply()
1678 m_c_Add(m_OneUse(m_Not(m_OneUse(m_Mul(m_Value(A), m_APInt(C1))))), in visitAdd()
1688 if (match(&I, m_c_Add(m_OneUse(m_Mul(m_Value(A), m_NegatedPower2(NegPow2C))), in visitAdd()
2637 if (match(Op0, m_OneUse(m_Mul(m_Value(X), m_Deferred(X)))) && in visitSub()
2638 match(Op1, m_OneUse(m_Mul(m_Value(Y), m_Deferred(Y))))) { in visitSub()
H A DInstCombineMulDivRem.cpp230 if (match(&I, m_Mul(m_Shl(m_Value(NewOp), m_ImmConstant(C2)), in visitMul()
246 if (match(&I, m_Mul(m_Value(NewOp), m_Constant(C1)))) { in visitMul()
1361 if (match(Op0, m_Mul(m_Value(X), m_Value(Y)))) { in commonIDivTransforms()
2016 if ((!V && match(Op, m_Mul(m_Value(V), m_APInt(Tmp)))) || in simplifyIRemMulShl()
2017 (V && match(Op, m_Mul(m_Specific(V), m_APInt(Tmp))))) in simplifyIRemMulShl()
H A DInstCombineShifts.cpp1228 if (match(Op0, m_Mul(m_Value(X), m_ImmConstant(C2)))) in visitShl()
H A DInstCombineCompares.cpp1236 if (match(Cmp.getOperand(0), m_Mul(m_Value(X), m_Value(Y))) && in foldICmpWithZero()
5202 ((match(Op0, m_Mul(m_Value(X), m_Value(Z))) && in foldICmpBinOp()
5204 (match(Op0, m_Mul(m_Value(Z), m_Value(X))) && in foldICmpBinOp()
H A DInstCombineAndOrXor.cpp1919 !match(Op0, m_OneUse(m_Mul(m_Specific(Op1), m_Constant(C)))) && in narrowMaskedBinOp()
3580 if (match(&I, m_c_DisjointOr(m_OneUse(m_Mul(m_Value(X), m_Value(Y))), in visitOr()
H A DInstructionCombining.cpp2798 m_OneUse(m_CombineOr(m_Mul(m_Value(), m_ConstantInt()), in visitGetElementPtrInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp317 if ((match(Op0, m_Mul(m_Value(MulOp0), m_SpecificInt(Mask01)))) && in tryToRecognizePopCount()
570 m_LShr(m_Mul(m_c_And(m_Neg(m_Value(X1)), m_Deferred(X1)), in tryToRecognizeTableBasedCttz()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp533 return match(V, m_Mul(m_Value(Op1), m_Value(Op2))); in matchTernaryOp()
H A DStraightLineStrengthReduce.cpp410 if (match(RHS, m_Mul(m_Value(S), m_ConstantInt(Idx)))) { in allocateCandidatesAndFindBasisForAdd()
H A DLowerMatrixIntrinsics.cpp124 return m_CombineOr(m_Mul(L, R), m_FMul(L, R)); in m_AnyMul()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIntrinsicInst.cpp640 if (match(VLParam, m_Mul(m_VScale(), m_ConstantInt(VScaleFactor)))) in canIgnoreVectorLengthParam()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSDPatternMatch.h553 inline BinaryOpc_match<LHS, RHS, true> m_Mul(const LHS &L, const RHS &R) {
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp754 (m_Mul(m_Value(Op1), m_Value(Op2)).match(I1)))) in isConditionalRdxPattern()
H A DInstructionSimplify.cpp3205 if ((match(LBO, m_UDiv(m_Mul(m_Specific(RHS), m_APInt(C1)), m_APInt(C2))) && in simplifyICmpWithBinOpOnLHS()
3207 (match(LBO, m_LShr(m_Mul(m_Specific(RHS), m_APInt(C1)), m_APInt(C2))) && in simplifyICmpWithBinOpOnLHS()
H A DValueTracking.cpp3468 return match(OBO, m_Mul(m_Specific(V1), m_APInt(C))) && in isNonEqualMul()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h1158 inline BinaryOp_match<LHS, RHS, Instruction::Mul> m_Mul(const LHS &L, in m_Mul() function
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp1702 if (match(Exp, m_Mul(m_Value(Op.X.Val), m_Value(Op.Y.Val)))) { in matchFxpMul()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp2864 if (sd_match(N0, m_OneUse(m_Mul(m_Add(m_Value(A), m_ConstInt(CA)), in visitADDLike()
2888 m_OneUse(m_Mul(m_Add(m_Value(A), m_ConstInt(CA)), in visitADDLike()
3951 if (sd_match(N1, m_OneUse(m_Mul(m_Neg(m_Value(B)), m_Value(C))))) in visitSUB()
4516 m_Mul(m_Or(m_Sra(m_Value(X), m_SpecificInt(BitWidth - 1)), m_One()), in visitMUL()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp16001 match(Op, m_Mul(m_VScale(), m_ConstantInt()))) { in shouldSinkVScale()
16006 match(Op, m_Mul(m_ZExt(m_VScale()), m_ConstantInt()))) { in shouldSinkVScale()