Home
last modified time | relevance | path

Searched refs:m_Instruction (Results 1 – 17 of 17) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
DVectorCombine.cpp459 if (!match(&I, m_Cmp(Pred, m_Instruction(I0), m_Instruction(I1))) && in foldExtractExtract()
460 !match(&I, m_BinOp(m_Instruction(I0), m_Instruction(I1)))) in foldExtractExtract()
695 if (!match(B0, m_OneUse(m_Cmp(P0, m_Instruction(I0), m_Constant(C0)))) || in foldExtractedCmps()
696 !match(B1, m_OneUse(m_Cmp(P1, m_Instruction(I1), m_Constant(C1)))) || in foldExtractedCmps()
824 m_InsertElt(m_Instruction(Source), m_Value(NewElement), in foldSingleElementStore()
DSLPVectorizer.cpp7525 if (match(Cond, m_Cmp(Pred, m_Specific(LHS), m_Instruction(L2)))) { in getRdxKind()
7529 } else if (match(Cond, m_Cmp(Pred, m_Instruction(L1), m_Specific(RHS)))) { in getRdxKind()
7536 if (!match(Cond, m_Cmp(Pred, m_Instruction(L1), m_Instruction(L2))) || in getRdxKind()
DLoopVectorize.cpp7249 match(RedOp, m_Mul(m_Instruction(Op0), m_Instruction(Op1)))) { in getReductionPatternCost()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp66 m_Shift(m_Instruction(Sh0Op0), m_ZExtOrSelf(m_Value(ShAmt0))))) in reassociateShiftAmtsOfTwoSameDirectionShifts()
75 m_CombineOr(m_CombineAnd(m_Trunc(m_Instruction(Sh1)), m_Value(Trunc)), in reassociateShiftAmtsOfTwoSameDirectionShifts()
76 m_Instruction(Sh1))); in reassociateShiftAmtsOfTwoSameDirectionShifts()
1215 m_AShr(m_Shl(m_Instruction(MaybeTrunc), in foldVariableSignZeroExtensionOfVariableHighBitExtract()
1225 match(MaybeTrunc, m_TruncOrSelf(m_Instruction(HighBitExtract))); in foldVariableSignZeroExtensionOfVariableHighBitExtract()
DInstCombineSelect.cpp1919 if (!match(Sel.getTrueValue(), m_Instruction(ExtInst)) && in foldSelectExtConst()
1920 !match(Sel.getFalseValue(), m_Instruction(ExtInst))) in foldSelectExtConst()
2194 if (match(&MinMax1, m_SMin(m_Instruction(MinMax2), m_APInt(MaxValue)))) { in matchSAddSubSat()
2198 m_SMax(m_Instruction(MinMax2), m_APInt(MinValue)))) { in matchSAddSubSat()
2873 match(TrueVal, m_Instruction(FSub)) && FSub->hasNoNaNs() && in visitSelectInst()
2881 match(FalseVal, m_Instruction(FSub)) && FSub->hasNoNaNs() && in visitSelectInst()
2892 match(TrueVal, m_Instruction(FNeg)) && FNeg->hasNoNaNs() && in visitSelectInst()
2904 match(FalseVal, m_Instruction(FNeg)) && FNeg->hasNoNaNs() && in visitSelectInst()
DInstCombineLoadStoreAlloca.cpp561 if (!match(V, m_Select(m_Cmp(Pred, m_Instruction(L1), m_Instruction(L2)), in isMinMaxWithLoads()
DInstCombineAddSub.cpp1162 m_LShr(m_Value(X), m_Instruction(LowBitsToSkip)), in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract()
1163 m_Instruction(Extract))), in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract()
2153 if (!match(&I, m_FNeg(m_OneUse(m_Instruction(FNegOp))))) in foldFNegIntoConstant()
DInstCombineCompares.cpp1351 if (!I.isEquality() || !match(&I, m_ICmp(Pred, m_Instruction(Val), m_Zero()))) in foldSignBitTest()
3599 m_c_And(m_CombineAnd(m_AnyLogicalShift, m_Instruction(XShift)), in foldShiftIntoShiftInAnotherHandOfAndInICmp()
3601 m_AnyLogicalShift, m_Instruction(YShift))), in foldShiftIntoShiftInAnotherHandOfAndInICmp()
3602 m_Instruction(MaybeTruncation))))) in foldShiftIntoShiftInAnotherHandOfAndInICmp()
3781 m_Instruction(Mul)), in foldUnsignedMultiplicationOverflowCheck()
5846 m_Instruction(AddI))) && in visitICmpInst()
6347 if (match(Op0, m_Instruction(LHSI)) && match(Op1, m_Constant(RHSC))) { in visitFCmpInst()
DInstCombineCalls.cpp1749 if (match(IIOperand, m_ICmp(Pred, m_Instruction(LHS), m_Zero())) && in visitCallInst()
DInstructionCombining.cpp1876 if (!match(GEP.getPointerOperand(), m_Instruction(Sel)) || in foldSelectGEP()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DDivRemPairs.cpp63 m_Instruction(Div)), in matchExpandedRem()
DLoopIdiomRecognize.cpp2508 m_Br(m_Instruction(ValShiftedIsZero), m_BasicBlock(TrueBB), in detectShiftUntilZeroIdiom()
2511 m_ICmp(Pred, m_Instruction(ValShifted), m_Zero())) || in detectShiftUntilZeroIdiom()
2520 m_Instruction(NBits)))) { in detectShiftUntilZeroIdiom()
2529 if (match(NBits, m_c_Add(m_Instruction(IV), in detectShiftUntilZeroIdiom()
2534 m_Sub(m_Instruction(IV), in detectShiftUntilZeroIdiom()
DReassociate.cpp2050 if (!match(V, m_OneUse(m_Instruction(I)))) in getNegatibleInsts()
2158 if (match(I, m_FAdd(m_Value(X), m_OneUse(m_Instruction(Op))))) in canonicalizeNegFPConstants()
2161 if (match(I, m_FAdd(m_OneUse(m_Instruction(Op)), m_Value(X)))) in canonicalizeNegFPConstants()
2164 if (match(I, m_FSub(m_Value(X), m_OneUse(m_Instruction(Op))))) in canonicalizeNegFPConstants()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DIVDescriptors.cpp102 if (match(J, m_c_And(m_Instruction(I), m_APInt(M)))) { in lookThroughAnd()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
DCodeGenPrepare.cpp1313 if (match(IVInc, m_Add(m_Instruction(LHS), m_Constant(Step))) || in matchIncrement()
1315 m_Instruction(LHS), m_Constant(Step))))) in matchIncrement()
1317 if (match(IVInc, m_Sub(m_Instruction(LHS), m_Constant(Step))) || in matchIncrement()
1319 m_Instruction(LHS), m_Constant(Step))))) { in matchIncrement()
8155 m_Br(m_OneUse(m_Instruction(LogicOp)), TBB, FBB))) in splitBranchCondition()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
DScalarEvolutionExpander.cpp2215 m_Br(m_ICmp(Pred, m_Instruction(LHS), m_Instruction(RHS)), in getRelatedExistingExpansion()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
DPatternMatch.h748 inline bind_ty<Instruction> m_Instruction(Instruction *&I) { return I; } in m_Instruction() function