/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonGenExtract.cpp | 114 Match = match(In, m_And(m_Shl(m_AShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY() 138 Match = match(In, m_And(m_AShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY() 152 Match = match(In, m_Shl(m_AShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY()
|
H A D | HexagonVectorCombine.cpp | 1676 return m_CombineOr(m_LShr(V, S), m_AShr(V, S)); in matchFxpMul()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAndOrXor.cpp | 2401 if (match(Op0, m_OneUse(m_SExt(m_AShr(m_Value(X), m_APInt(ShiftC))))) && in visitAnd() 2414 if (match(Op0, m_AShr(m_Value(X), m_APInt(ShiftC))) && ShiftC->ult(Width) && in visitAnd() 2780 m_AShr(m_Value(X), m_APIntAllowPoison(C)))), in visitAnd() 2789 m_Not(m_AShr(m_Value(X), m_APIntAllowPoison(C))))), in visitAnd() 3846 if (match(&I, m_c_Or(m_OneUse(m_AShr( in visitOr() 4320 if (match(Op1, m_AShr(m_Value(A), m_APInt(ShAmt))) && in canonicalizeAbs() 4495 if (match(NotVal, m_AShr(m_Not(m_Value(X)), m_Value(Y)))) in foldNot() 4507 if (match(NotVal, m_OneUse(m_AShr(m_Value(X), m_SpecificInt(FullShift))))) { in foldNot() 4519 if (match(NotVal, m_AShr(m_Constant(C), m_Value(Y))) && in foldNot() 4716 m_AShr(m_Value(X), m_APIntAllowPoison(CA))))) && in visitXor()
|
H A D | InstCombineShifts.cpp | 323 if (match(Masked, m_AShr(m_Value(), m_Value()))) in dropRedundantMaskingOfLeftShiftInput() 1618 m_AShr(m_Shl(m_Instruction(MaybeTrunc), in foldVariableSignZeroExtensionOfVariableHighBitExtract() 1715 if (match(Op0, m_AShr(m_Value(X), m_APInt(ShOp1))) && in visitAShr()
|
H A D | InstCombineAddSub.cpp | 903 if (match(Op0, m_OneUse(m_AShr(m_Value(X), in foldAddWithConstant() 990 if (match(Op0, m_AShr(m_Shl(m_Value(X), m_APInt(C2)), m_APInt(C3))) && in foldAddWithConstant() 1699 if (match(LHS, m_AShr(m_Value(A), m_SpecificIntAllowPoison(BitWidth - 1))) && in visitAdd() 2567 if (match(Op1, m_AShr(m_Value(A), m_APInt(ShAmt))) && in visitSub()
|
H A D | InstCombineCompares.cpp | 1644 m_AShr(m_Deferred(X), m_APInt(ShiftC)))))) in foldICmpXorShiftConst() 4426 m_OneUse(m_AShr(m_Shl(m_Value(X), m_APInt(C0)), in foldICmpWithTruncSignExtendedVal() 5683 (match(Op0, m_OneUse(m_AShr(m_Value(A), m_APIntAllowPoison(AP1)))) && in foldICmpEquality() 5684 match(Op1, m_OneUse(m_AShr(m_Value(B), m_APIntAllowPoison(AP2)))))) { in foldICmpEquality() 5745 if (match(Op0, m_AShr(m_Trunc(m_Value(A)), m_SpecificInt(BitWidth - 1))) && in foldICmpEquality() 7290 match(Op0, m_AShr(m_Specific(Op1), m_CheckedInt(CheckNE0)))) { in foldICmpCommutative()
|
H A D | InstCombineMulDivRem.cpp | 491 if (match(Op0, m_OneUse(m_AShr(m_Value(X), m_APInt(C)))) && in visitMul() 517 if (match(&I, m_c_BinOp(m_Or(m_AShr(m_Value(X), in visitMul()
|
H A D | InstCombineCasts.cpp | 1517 if (match(Src, m_AShr(m_Shl(m_Trunc(m_Value(A)), m_Constant(BA)), in visitSExt() 1537 if (match(Src, m_OneUse(m_AShr(m_Trunc(m_Value(X)), in visitSExt()
|
H A D | InstCombineSimplifyDemanded.cpp | 1277 m_AShr(m_Shl(m_Value(X), m_APInt(ShiftLC)), m_APInt(ShiftRC))) && in SimplifyMultipleUseDemandedBits()
|
H A D | InstCombineSelect.cpp | 696 match(FalseVal, m_AShr(m_Specific(X), m_Specific(Y))) && in foldSelectICmpLshrAshr()
|
H A D | InstructionCombining.cpp | 2588 if (match(V, m_AShr(m_Value(A), m_Value(B)))) { in getFreelyInvertedImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUTargetTransformInfo.cpp | 970 match(V, m_AShr(m_Intrinsic<Intrinsic::amdgcn_workitem_id_x>(), in isAlwaysUniform()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | PatternMatch.h | 1236 inline BinaryOp_match<LHS, RHS, Instruction::AShr> m_AShr(const LHS &L, in m_AShr() function 2826 auto LHS = m_AShr(m_Value(OpL), m_SpecificInt(ShiftWidth));
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | LazyValueInfo.cpp | 1229 match(LHS, m_AShr(m_Specific(Val), m_APInt(ShAmtC))) && in getValueFromICmpCondition()
|
H A D | InstructionSimplify.cpp | 5051 if (match(Indices[0], m_AShr(m_Sub(m_PtrToInt(m_Value(P)), in simplifyGEPInst() 6453 if (match(Op0, m_AShr(m_Negative(), m_Value()))) in simplifyBinaryIntrinsic()
|
H A D | ScalarEvolution.cpp | 9349 else if (match(V, m_AShr(m_Value(OutLHS), m_ConstantInt(ShiftAmt)))) in computeShiftCompareExitLimit()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyIndVar.cpp | 835 m_AShr(m_Shl(m_Value(), m_Specific(IVOperand)), m_APInt(C))) || in strengthenRightShift()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 34281 match(Op.get(), m_AShr(m_Shl(m_Value(), m_SpecificInt(32)), in shouldSinkOperands()
|