/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | IVDescriptors.cpp | 633 if (match(I, m_OneUse(m_Cmp(Pred, m_Value(), m_Value())))) { in isAnyOfPattern() 639 m_Select(m_Cmp(Pred, m_Value(), m_Value()), m_Value(), m_Value()))) in isAnyOfPattern() 673 if (match(I, m_OneUse(m_Cmp(Pred, m_Value(), m_Value())))) { in isMinMaxPattern() 680 !match(I, m_Select(m_OneUse(m_Cmp(Pred, m_Value(), m_Value())), m_Value(), in isMinMaxPattern()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | EarlyCSE.cpp | 284 if (!match(Cond, m_Cmp(Pred, m_Value(X), m_Value(Y)))) in getHashValueImpl() 456 if (match(CondL, m_Cmp(PredL, m_Value(X), m_Value(Y))) && in isEqualImpl() 457 match(CondR, m_Cmp(PredR, m_Specific(X), m_Specific(Y))) && in isEqualImpl()
|
H A D | JumpThreading.cpp | 599 if (!PredCst && match(V, m_Cmp(Pred, m_Value(Val), m_Constant(Cst)))) in computeValueKnownInPredecessorsImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VectorCombine.cpp | 582 if (!match(&I, m_Cmp(Pred, m_Instruction(I0), m_Instruction(I1))) && in foldExtractExtract() 912 !match(&I, m_Cmp(Pred, m_Value(Ins0), m_Value(Ins1)))) in scalarizeBinopOrCmp() 1044 if (!match(B0, m_OneUse(m_Cmp(P0, m_Instruction(I0), m_Constant(C0)))) || in foldExtractedCmps() 1045 !match(B1, m_OneUse(m_Cmp(P1, m_Instruction(I1), m_Constant(C1)))) || in foldExtractedCmps()
|
H A D | SLPVectorizer.cpp | 9638 auto MatchCmp = m_Cmp(VecPred, m_Value(), m_Value()); in getEntryCost() 9651 auto MatchCmp = m_Cmp(CurrentPred, m_Value(), m_Value()); in getEntryCost() 16676 return match(I, m_Select(m_Cmp(), m_Value(), m_Value())) && in isCmpSelMinMax() 16873 if (match(Cond, m_Cmp(Pred, m_Specific(LHS), m_Instruction(L2)))) { in getRdxKind() 16877 } else if (match(Cond, m_Cmp(Pred, m_Instruction(L1), m_Specific(RHS)))) { in getRdxKind() 16884 if (!match(Cond, m_Cmp(Pred, m_Instruction(L1), m_Instruction(L2))) || in getRdxKind()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | PatternMatch.h | 105 inline class_match<CmpInst> m_Cmp() { return class_match<CmpInst>(); } in m_Cmp() function 1583 m_Cmp(CmpInst::Predicate &Pred, const LHS &L, const RHS &R) { in m_Cmp() function 1601 m_Cmp(const LHS &L, const RHS &R) { in m_Cmp() function
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineVectorOps.cpp | 90 if (match(V, m_OneUse(m_Cmp(UnusedPred, m_Value(V0), m_Value(V1))))) in cheapToScalarize() 490 if (match(SrcVec, m_Cmp(Pred, m_Value(X), m_Value(Y))) && in visitExtractElementInst()
|
H A D | InstCombineSelect.cpp | 62 if (!match(Sel.getCondition(), m_Cmp(Pred, m_Value(X), m_Constant(C)))) in foldSelectBinOpIdentity() 2326 if (!match(Cond, m_Cmp(Pred, m_Value(A), m_Value(B)))) in foldSelectCmpBitcasts()
|
H A D | InstCombineCalls.cpp | 3075 match(IIOperand, m_Cmp(Pred, m_Value(A), m_Zero())) && in visitCallInst() 3096 m_Cmp(Pred, m_And(m_Value(A), m_ConstantInt(AlignMask)), in visitCallInst()
|
H A D | InstCombineAndOrXor.cpp | 4546 if (match(NotOp, m_Cmp(Pred, m_Value(), m_Value())) && in foldNot()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUInstCombineIntrinsic.cpp | 927 m_Cmp(SrcPred, PatternMatch::m_Value(SrcLHS), in instCombineIntrinsic()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.cpp | 3250 if (match(I, m_Select(m_Cmp(CurrentPred, m_Value(), m_Value()), m_Value(), in getCmpSelInstrCost()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 8784 m_CombineOr(m_Cmp(), m_CombineOr(m_LogicalAnd(m_Value(), m_Value()), in splitBranchCondition()
|