| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAndOrXor.cpp | 2276 if (match(Op0, m_OneUse(m_SExt(m_AShr(m_Value(X), m_APInt(ShiftC))))) && in visitAnd() 2289 if (match(Op0, m_AShr(m_Value(X), m_APInt(ShiftC))) && ShiftC->ult(Width) && in visitAnd() 2670 m_AShr(m_Value(X), m_APIntAllowUndef(C)))), in visitAnd() 2679 m_Not(m_AShr(m_Value(X), m_APIntAllowUndef(C))))), in visitAnd() 3727 if (match(&I, m_c_Or(m_OneUse(m_AShr( in visitOr() 4189 if (match(Op1, m_AShr(m_Value(A), m_APInt(ShAmt))) && in canonicalizeAbs() 4363 if (match(NotVal, m_AShr(m_Not(m_Value(X)), m_Value(Y)))) in foldNot() 4375 if (match(NotVal, m_OneUse(m_AShr(m_Value(X), m_SpecificInt(FullShift))))) { in foldNot() 4387 if (match(NotVal, m_AShr(m_Constant(C), m_Value(Y))) && in foldNot() 4590 m_AShr(m_Value(X), m_APIntAllowUndef(CA))))) && in visitXor()
|
| H A D | InstCombineShifts.cpp | 320 if (match(Masked, m_AShr(m_Value(), m_Value()))) in dropRedundantMaskingOfLeftShiftInput() 1515 m_AShr(m_Shl(m_Instruction(MaybeTrunc), in foldVariableSignZeroExtensionOfVariableHighBitExtract() 1612 if (match(Op0, m_AShr(m_Value(X), m_APInt(ShOp1))) && in visitAShr()
|
| H A D | InstCombineAddSub.cpp | 896 if (match(Op0, m_OneUse(m_AShr(m_Value(X), in foldAddWithConstant() 977 if (match(Op0, m_AShr(m_Shl(m_Value(X), m_APInt(C2)), m_APInt(C3))) && in foldAddWithConstant() 1657 if (match(LHS, m_AShr(m_Value(A), m_SpecificIntAllowUndef(BitWidth - 1))) && in visitAdd() 2557 if (match(Op1, m_AShr(m_Value(A), m_APInt(ShAmt))) && in visitSub()
|
| H A D | InstCombineMulDivRem.cpp | 461 if (match(Op0, m_OneUse(m_AShr(m_Value(X), m_APInt(C)))) && in visitMul() 487 if (match(&I, m_c_BinOp(m_Or(m_AShr(m_Value(X), in visitMul()
|
| H A D | InstCombineCasts.cpp | 1479 if (match(Src, m_AShr(m_Shl(m_Trunc(m_Value(A)), m_Constant(BA)), in visitSExt() 1499 if (match(Src, m_OneUse(m_AShr(m_Trunc(m_Value(X)), in visitSExt()
|
| H A D | InstCombineCompares.cpp | 1627 m_AShr(m_Deferred(X), m_APInt(ShiftC)))))) in foldICmpXorShiftConst() 4132 m_OneUse(m_AShr(m_Shl(m_Value(X), m_APInt(C0)), in foldICmpWithTruncSignExtendedVal() 5354 (match(Op0, m_OneUse(m_AShr(m_Value(A), m_APIntAllowUndef(AP1)))) && in foldICmpEquality() 5355 match(Op1, m_OneUse(m_AShr(m_Value(B), m_APIntAllowUndef(AP2)))))) { in foldICmpEquality() 5416 if (match(Op0, m_AShr(m_Trunc(m_Value(A)), m_SpecificInt(BitWidth - 1))) && in foldICmpEquality()
|
| H A D | InstCombineSimplifyDemanded.cpp | 1221 m_AShr(m_Shl(m_Value(X), m_APInt(ShiftLC)), m_APInt(ShiftRC))) && in SimplifyMultipleUseDemandedBits()
|
| H A D | InstCombineSelect.cpp | 680 match(FalseVal, m_AShr(m_Specific(X), m_Specific(Y))) && in foldSelectICmpLshrAshr()
|
| H A D | InstructionCombining.cpp | 2346 if (match(V, m_AShr(m_Value(A), m_Value(B)))) { in getFreelyInvertedImpl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetTransformInfo.cpp | 973 match(V, m_AShr(m_Intrinsic<Intrinsic::amdgcn_workitem_id_x>(), in isAlwaysUniform()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | PatternMatch.h | 1126 inline BinaryOp_match<LHS, RHS, Instruction::AShr> m_AShr(const LHS &L, in m_AShr() function 2551 auto LHS = m_AShr(m_Value(OpL), m_SpecificInt(ShiftWidth));
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LazyValueInfo.cpp | 1221 match(LHS, m_AShr(m_Specific(Val), m_APInt(ShAmtC))) && in getValueFromICmpCondition()
|
| H A D | InstructionSimplify.cpp | 5025 if (match(Indices[0], m_AShr(m_Sub(m_PtrToInt(m_Value(P)), in simplifyGEPInst() 6411 if (match(Op0, m_AShr(m_Negative(), m_Value()))) in simplifyBinaryIntrinsic()
|
| H A D | ScalarEvolution.cpp | 9288 else if (match(V, m_AShr(m_Value(OutLHS), m_ConstantInt(ShiftAmt)))) in computeShiftCompareExitLimit()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyIndVar.cpp | 810 m_AShr(m_Shl(m_Value(), m_Specific(IVOperand)), m_APInt(C))) || in strengthenRightShift()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 33750 match(Op.get(), m_AShr(m_Shl(m_Value(), m_SpecificInt(32)), in shouldSinkOperands()
|