Home
last modified time | relevance | path

Searched refs:m_SpecificICmp (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelAttributes.cpp252 if (match(ICmp, m_SpecificICmp(ICmpInst::ICMP_ULT, GroupIDIntrin, in processUse()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopIdiomVectorize.cpp323 m_Br(m_SpecificICmp(ICmpInst::ICMP_EQ, m_Specific(Index), in recognizeByteCompare()
335 m_Br(m_SpecificICmp(ICmpInst::ICMP_EQ, m_Value(LoadA), in recognizeByteCompare()
1141 m_Br(m_SpecificICmp(ICmpInst::ICMP_EQ, m_Specific(GEPNeedle), in recognizeFindFirstByte()
1156 m_Br(m_SpecificICmp(ICmpInst::ICMP_EQ, m_Specific(GEPSearch), in recognizeFindFirstByte()
H A DLoopVectorize.cpp7190 (match(Cmp, m_SpecificICmp(ICmpInst::ICMP_EQ, m_Specific(OrigResumeV), in fixReductionScalarResumeWhenVectorizingEpilog()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandMemCmp.cpp683 } else if (match(UI, m_SpecificICmp(ICmpInst::ICMP_SGT, m_Specific(CI), in getMemCmpOneBlock()
687 } else if (match(UI, m_SpecificICmp(ICmpInst::ICMP_SLT, m_Specific(CI), in getMemCmpOneBlock()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp1754 match(RHS, m_OneUse(m_ZExt(m_OneUse(m_SpecificICmp( in visitAdd()
1768 m_SpecificICmp(ICmpInst::ICMP_EQ, m_Deferred(A), m_ImmConstant(C))); in visitAdd()
1782 match(RHS, m_OneUse(m_SExt(m_OneUse(m_SpecificICmp( in visitAdd()
1803 m_ZExt(m_SpecificICmp( in visitAdd()
H A DInstCombineAndOrXor.cpp849 if (!(match(ICmp, m_SpecificICmp(ICmpInst::ICMP_ULT, in foldSignedTruncationCheck()
978 match(Cmp0, m_SpecificICmp(ICmpInst::ICMP_NE, m_Value(X), m_ZeroInt())) && in foldIsPowerOf2()
979 match(Cmp1, m_SpecificICmp(ICmpInst::ICMP_ULT, in foldIsPowerOf2()
990 match(Cmp0, m_SpecificICmp(ICmpInst::ICMP_EQ, m_Value(X), m_ZeroInt())) && in foldIsPowerOf2()
991 match(Cmp1, m_SpecificICmp(ICmpInst::ICMP_UGT, in foldIsPowerOf2()
4132 m_SpecificICmp(ICmpInst::ICMP_NE, in visitOr()
H A DInstCombineSelect.cpp1447 if (!match(XeqZ, m_SpecificICmp(ICmpInst::ICMP_EQ, m_Value(X), m_Value(Z)))) in foldSelectEqualityTest()
1836 if (!match(TrueVal, m_SpecificICmp(ICmpInst::ICMP_NE, m_Specific(B), in foldSelectWithExtremeEqCond()
2541 if (!match(Cond, m_OneUse(m_SpecificICmp(ICmpInst::ICMP_EQ, m_Specific(ShAmt), in foldSelectFunnelShift()
H A DInstCombineCalls.cpp3329 if (match(IIOperand, m_SpecificICmp(ICmpInst::ICMP_NE, m_Instruction(LHS), in visitCallInst()
3371 m_SpecificICmp(ICmpInst::ICMP_NE, m_Value(A), m_Zero())) && in visitCallInst()
3393 m_SpecificICmp(ICmpInst::ICMP_EQ, in visitCallInst()
H A DInstructionCombining.cpp1705 m_SpecificICmp(IsTrueArm ? ICmpInst::ICMP_EQ in simplifyOperationIntoSelectOperand()
1896 m_SpecificICmp(ICmpInst::ICMP_EQ, m_Specific(PN), m_Zero()))) in foldOpIntoPhi()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp139 if (!match(TermI, m_Br(m_SpecificICmp(CmpInst::ICMP_EQ, m_Specific(ShAmt), in foldGuardedFunnelShift()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp2059 if (!match(TI, m_Br(m_SpecificICmp(ICmpInst::ICMP_EQ, m_Specific(Ptr), in tryFoldIntoCalloc()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp2823 return match(Op0, m_ZExtOrSExt(m_SpecificICmp(ICmpInst::ICMP_EQ, in matchOpWithOpEqZero()
2825 match(Op1, m_ZExtOrSExt(m_SpecificICmp(ICmpInst::ICMP_EQ, in matchOpWithOpEqZero()
10218 m_ZExt(m_SpecificICmp( in stripNullTest()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h1737 m_SpecificICmp(CmpPredicate MatchPred, const LHS &L, const RHS &R) { in m_SpecificICmp() function
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp3623 match(Lhs, m_SpecificICmp(ICmpInst::ICMP_EQ, m_Value(), m_Value())) && in getJumpConditionMergingParams()
3624 match(Rhs, m_SpecificICmp(ICmpInst::ICMP_EQ, m_Value(), m_Value()))) in getJumpConditionMergingParams()
31975 m_SpecificICmp(CmpInst::ICMP_SLT, m_Value(), m_ZeroInt()))) in shouldExpandCmpArithRMWInIR()
31978 m_SpecificICmp(CmpInst::ICMP_SGT, m_Value(), m_AllOnes()))) in shouldExpandCmpArithRMWInIR()
31988 m_SpecificICmp(CmpInst::ICMP_SLT, m_Value(), m_ZeroInt()))) in shouldExpandCmpArithRMWInIR()
31991 m_SpecificICmp(CmpInst::ICMP_SGT, m_Value(), m_AllOnes()))) in shouldExpandCmpArithRMWInIR()
32004 m_SpecificICmp(CmpInst::ICMP_SGT, m_Value(), m_AllOnes()))) in shouldExpandCmpArithRMWInIR()
32013 m_SpecificICmp(CmpInst::ICMP_SLT, m_Value(), m_ZeroInt()))) in shouldExpandCmpArithRMWInIR()
32016 m_SpecificICmp(CmpInst::ICMP_SGT, m_Value(), m_AllOnes()))) in shouldExpandCmpArithRMWInIR()