Home
last modified time | relevance | path

Searched refs:m_AShr (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonGenExtract.cpp114 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()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1811 if (match(Op0, m_OneUse(m_SExt(m_AShr(m_Value(X), m_APInt(ShiftC))))) && in visitAnd()
1824 if (match(Op0, m_AShr(m_Value(X), m_APInt(ShiftC))) && ShiftC->ult(Width) && in visitAnd()
2161 if (match(&I, m_c_And(m_OneUse(m_AShr(m_Value(X), m_SpecificInt(FullShift))), in visitAnd()
2169 m_AShr(m_Value(X), m_SpecificInt(FullShift)))), in visitAnd()
3034 if (match(&I, m_c_Or(m_OneUse(m_AShr( in visitOr()
3378 if (match(Op1, m_AShr(m_Value(A), m_APInt(ShAmt))) && in canonicalizeAbs()
3501 if (match(NotVal, m_AShr(m_Not(m_Value(X)), m_Value(Y)))) in foldNot()
3511 if (match(NotVal, m_AShr(m_Constant(C), m_Value(Y))) && in foldNot()
3693 m_AShr(m_Value(X), m_APIntAllowUndef(CA))))) && in visitXor()
H A DInstCombineShifts.cpp305 if (match(Masked, m_AShr(m_Value(), m_Value()))) in dropRedundantMaskingOfLeftShiftInput()
1318 m_AShr(m_Shl(m_Instruction(MaybeTrunc), in foldVariableSignZeroExtensionOfVariableHighBitExtract()
1415 if (match(Op0, m_AShr(m_Value(X), m_APInt(ShOp1))) && in visitAShr()
H A DInstCombineMulDivRem.cpp375 if (match(Op0, m_OneUse(m_AShr(m_Value(X), m_APInt(C)))) && in visitMul()
401 if (match(&I, m_c_BinOp(m_Or(m_AShr(m_Value(X), in visitMul()
H A DInstCombineAddSub.cpp965 if (match(Op0, m_AShr(m_Shl(m_Value(X), m_APInt(C2)), m_APInt(C3))) && in foldAddWithConstant()
2168 if (match(Op1, m_AShr(m_Value(A), m_APInt(ShAmt))) && in visitSub()
H A DInstCombineCasts.cpp1585 if (match(Src, m_AShr(m_Shl(m_Trunc(m_Value(A)), m_Constant(BA)), in visitSExt()
1603 if (match(Src, m_OneUse(m_AShr(m_Trunc(m_Value(X)), in visitSExt()
H A DInstCombineSimplifyDemanded.cpp1055 m_AShr(m_Shl(m_Value(X), m_APInt(ShiftLC)), m_APInt(ShiftRC))) && in SimplifyMultipleUseDemandedBits()
H A DInstCombineCompares.cpp3742 m_OneUse(m_AShr(m_Shl(m_Value(X), m_APInt(C0)), in foldICmpWithTruncSignExtendedVal()
4693 (match(Op0, m_OneUse(m_AShr(m_Value(A), m_APIntAllowUndef(AP1)))) && in foldICmpEquality()
4694 match(Op1, m_OneUse(m_AShr(m_Value(B), m_APIntAllowUndef(AP2)))))) { in foldICmpEquality()
4778 if (match(Op0, m_AShr(m_Trunc(m_Value(A)), m_SpecificInt(BitWidth - 1))) && in foldICmpEquality()
H A DInstCombineSelect.cpp576 match(FalseVal, m_AShr(m_Specific(X), m_Specific(Y))) && in foldSelectICmpLshrAshr()
H A DInstructionCombining.cpp2462 m_AShr(m_Value(V), m_ConstantInt(C)))) { in visitGetElementPtrInst()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DPatternMatch.h1123 inline BinaryOp_match<LHS, RHS, Instruction::AShr> m_AShr(const LHS &L, in m_AShr() function
2390 auto LHS = m_AShr(m_Value(OpL), m_SpecificInt(ShiftWidth));
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp797 m_AShr(m_Shl(m_Value(), m_Specific(IVOperand)), m_APInt(C))) || in strengthenRightShift()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DInstructionSimplify.cpp4602 if (match(Indices[0], m_AShr(m_Sub(m_PtrToInt(m_Value(P)), in simplifyGEPInst()
5780 if (match(Op0, m_AShr(m_Negative(), m_Value()))) in simplifyBinaryIntrinsic()
H A DScalarEvolution.cpp9041 else if (match(V, m_AShr(m_Value(OutLHS), m_ConstantInt(ShiftAmt)))) in computeShiftCompareExitLimit()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp34047 match(Op.get(), m_AShr(m_Shl(m_Value(), m_SpecificInt(32)), in shouldSinkOperands()