Home
last modified time | relevance | path

Searched refs:m_VPValue (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanUnroll.cpp259 if (match(&R, m_BranchOnCond(m_VPValue())) || in unrollRecipeByUF()
260 match(&R, m_BranchOnCount(m_VPValue(), m_VPValue()))) in unrollRecipeByUF()
294 m_VPValue(), m_VPValue(Op)))) { in unrollRecipeByUF()
318 m_VPValue()))) in unrollRecipeByUF()
351 if (match(&R, m_VPInstruction<VPInstruction::AnyOf>(m_VPValue(Op1))) || in unrollBlock()
353 m_VPValue(Op1))) || in unrollBlock()
355 m_VPValue(), m_VPValue(), m_VPValue(Op1))) || in unrollBlock()
357 m_VPValue(), m_VPValue(Op1))) || in unrollBlock()
359 m_VPValue(), m_VPValue(), m_VPValue(), m_VPValue(Op1)))) { in unrollBlock()
367 m_VPValue(Op0))) || in unrollBlock()
[all …]
H A DVPlanUtils.cpp64 if (match(V, m_ActiveLaneMask(m_VPValue(A), m_VPValue(B)))) in isHeaderMask()
71 return match(V, m_Binary<Instruction::ICmp>(m_VPValue(A), m_VPValue(B))) && in isHeaderMask()
96 m_VPValue()))) in isUniformAcrossVFsAndUFs()
H A DVPlanTransforms.cpp750 m_Binary<Instruction::Sub>(m_VPValue(), m_VPValue(Step))) || in getOptimizableIVOf()
778 m_VPValue(Incoming), in optimizeEarlyExitInductionUser()
780 m_VPValue(Mask))))) in optimizeEarlyExitInductionUser()
834 m_VPValue(Incoming)))) in optimizeLatchExitInductionUser()
1020 if (match(Def, m_Trunc(m_ZExtOrSExt(m_VPValue(A))))) { in simplifyRecipe()
1031 unsigned ExtOpcode = match(R.getOperand(0), m_SExt(m_VPValue())) in simplifyRecipe()
1067 m_c_BinaryOr(m_LogicalAnd(m_VPValue(X), m_VPValue(Y)), in simplifyRecipe()
1075 if (match(Def, m_c_BinaryOr(m_VPValue(X), m_AllOnes()))) { in simplifyRecipe()
1082 if (match(Def, m_Select(m_VPValue(), m_VPValue(X), m_Deferred(X)))) in simplifyRecipe()
1087 if (match(Def, m_Select(m_Not(m_VPValue(C)), m_VPValue(X), m_VPValue(Y)))) { in simplifyRecipe()
[all …]
H A DVPlanConstruction.cpp441 match(&LatchVPBB->back(), m_BranchOnCond(m_VPValue()))) in addCanonicalIVRecipes()
717 !match(&R, m_BranchOnCount(m_VPValue(), m_VPValue()))) in handleMaxMinNumReductions()
H A DVPlanRecipes.cpp307 if (match(getOperand(1), m_Select(m_VPValue(), m_VPValue(Op), m_VPValue()))) { in computeCost()
332 m_Binary<Instruction::Sub>(m_SpecificInt(0), m_VPValue(Op)))) { in computeCost()
1726 (match(this, m_LogicalAnd(m_VPValue(Op0), m_VPValue(Op1))) || in computeCost()
1727 match(this, m_LogicalOr(m_VPValue(Op0), m_VPValue(Op1))))) { in computeCost()
1737 bool IsLogicalOr = match(this, m_LogicalOr(m_VPValue(Op0), m_VPValue(Op1))); in computeCost()
H A DVPlanPatternMatch.h42 inline class_match<VPValue> m_VPValue() { return class_match<VPValue>(); } in m_VPValue() function
193 inline bind_ty<VPValue> m_VPValue(VPValue *&V) { return V; } in m_VPValue() function
H A DVPlan.cpp656 match(R, m_BranchOnCond(m_VPValue())) || in hasConditionalTerminator()
657 match(R, m_BranchOnCount(m_VPValue(), m_VPValue())); in hasConditionalTerminator()
H A DLoopVectorize.cpp7138 match(StartVPV, m_Freeze(m_VPValue(StartVPV))); in getStartValueFromReductionResult()
7152 VPlanPatternMatch::m_VPValue(Incoming))); in fixReductionScalarResumeWhenVectorizingEpilog()
8658 m_Specific(Plan->getCanonicalIV()), m_VPValue())) && in tryToBuildVPlanWithVPRecipes()
9230 m_VPValue()))) in adjustRecipesForReductions()