Home
last modified time | relevance | path

Searched refs:m_Cmp (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp634 if (match(I, m_OneUse(m_Cmp()))) { in isAnyOfPattern()
639 if (!match(I, m_Select(m_Cmp(), m_Value(), m_Value()))) in isAnyOfPattern()
707 if (!match(I, m_CombineOr(m_Select(m_OneUse(m_Cmp()), m_Value(NonRdxPhi), in isFindIVPattern()
709 m_Select(m_OneUse(m_Cmp()), m_Specific(OrigPhi), in isFindIVPattern()
800 if (match(I, m_OneUse(m_Cmp()))) { in isMinMaxPattern()
807 !match(I, m_Select(m_OneUse(m_Cmp()), m_Value(), m_Value()))) in isMinMaxPattern()
H A DHashRecognize.cpp390 m_Select(m_Cmp(), m_Instruction(TV), m_Instruction(FV)))) in matchConditionalRecurrence()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp282 if (!match(Cond, m_Cmp(Pred, m_Value(X), m_Value(Y)))) in getHashValueImpl()
455 if (match(CondL, m_Cmp(PredL, m_Value(X), m_Value(Y))) && in isEqualImpl()
456 match(CondR, m_Cmp(PredR, m_Specific(X), m_Specific(Y))) && in isEqualImpl()
H A DJumpThreading.cpp596 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 DVectorCombine.cpp624 if (!match(&I, m_Cmp(Pred, m_Instruction(I0), m_Instruction(I1))) && in foldExtractExtract()
1275 if (!match(B0, m_Cmp(P0, m_Instruction(I0), m_Constant(C0))) || in foldExtractedCmps()
1276 !match(B1, m_Cmp(P1, m_Instruction(I1), m_Constant(C1)))) in foldExtractedCmps()
2100 } else if (match(LHS, m_Cmp(PredLHS, m_Value(X), m_Value(Y))) && in foldShuffleOfBinops()
2101 match(RHS, m_Cmp(PredRHS, m_Value(Z), m_Value(W))) && in foldShuffleOfBinops()
H A DSLPVectorizer.cpp13417 auto MatchCmp = m_Cmp(VecPred, m_Value(), m_Value()); in getEntryCost()
13433 auto MatchCmp = m_Cmp(CurrentPred, m_Value(), m_Value()); in getEntryCost()
21766 return match(I, m_Select(m_Cmp(), m_Value(), m_Value())) && in isCmpSelMinMax()
21964 if (match(Cond, m_Cmp(Pred, m_Specific(LHS), m_Instruction(L2)))) { in getRdxKind()
21968 } else if (match(Cond, m_Cmp(Pred, m_Instruction(L1), m_Specific(RHS)))) { in getRdxKind()
21975 if (!match(Cond, m_Cmp(Pred, m_Instruction(L1), m_Instruction(L2))) || in getRdxKind()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h105 inline class_match<CmpInst> m_Cmp() { return class_match<CmpInst>(); } in m_Cmp() function
1668 inline CmpClass_match<LHS, RHS, CmpInst> m_Cmp(CmpPredicate &Pred, const LHS &L, in m_Cmp() function
1686 inline CmpClass_match<LHS, RHS, CmpInst> m_Cmp(const LHS &L, const RHS &R) { in m_Cmp() function
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp90 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 DInstCombineSelect.cpp63 if (!match(Sel.getCondition(), m_Cmp(Pred, m_Value(X), m_Constant(C)))) in foldSelectBinOpIdentity()
2380 if (!match(Cond, m_Cmp(Pred, m_Value(A), m_Value(B)))) in foldSelectCmpBitcasts()
H A DInstCombineAndOrXor.cpp4812 if (match(NotOp, m_Cmp(Pred, m_Value(), m_Value())) && in foldNot()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp1263 m_Cmp(SrcPred, PatternMatch::m_Value(SrcLHS), in instCombineIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp4289 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 DCodeGenPrepare.cpp9184 m_CombineOr(m_Cmp(), m_CombineOr(m_LogicalAnd(m_Value(), m_Value()), in splitBranchCondition()