| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | IVDescriptors.cpp | 634 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 D | HashRecognize.cpp | 390 m_Select(m_Cmp(), m_Instruction(TV), m_Instruction(FV)))) in matchConditionalRecurrence()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | EarlyCSE.cpp | 282 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 D | JumpThreading.cpp | 596 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 | 624 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 D | SLPVectorizer.cpp | 13417 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 D | PatternMatch.h | 105 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 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 | 63 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 D | InstCombineAndOrXor.cpp | 4812 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 | 1263 m_Cmp(SrcPred, PatternMatch::m_Value(SrcLHS), in instCombineIntrinsic()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 4289 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 | 9184 m_CombineOr(m_Cmp(), m_CombineOr(m_LogicalAnd(m_Value(), m_Value()), in splitBranchCondition()
|