| /openbsd/src/gnu/llvm/llvm/lib/Analysis/ |
| D | IVDescriptors.cpp | 637 if (match(I, m_OneUse(m_Cmp(Pred, m_Value(), m_Value())))) { in isSelectCmpPattern() 643 if (!match(I, m_Select(m_OneUse(m_Cmp(Pred, m_Value(), m_Value())), m_Value(), in isSelectCmpPattern() 678 if (match(I, m_OneUse(m_Cmp(Pred, m_Value(), m_Value())))) { in isMinMaxPattern() 685 !match(I, m_Select(m_OneUse(m_Cmp(Pred, m_Value(), m_Value())), m_Value(), in isMinMaxPattern()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| D | EarlyCSE.cpp | 270 if (!match(Cond, m_Cmp(Pred, m_Value(X), m_Value(Y)))) in getHashValueImpl() 429 if (match(CondL, m_Cmp(PredL, m_Value(X), m_Value(Y))) && in isEqualImpl() 430 match(CondR, m_Cmp(PredR, m_Specific(X), m_Specific(Y))) && in isEqualImpl()
|
| D | JumpThreading.cpp | 690 if (!PredCst && match(V, m_Cmp(Pred, m_Value(Val), m_Constant(Cst)))) { in computeValueKnownInPredecessorsImpl()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
| D | VectorCombine.cpp | 568 if (!match(&I, m_Cmp(Pred, m_Instruction(I0), m_Instruction(I1))) && in foldExtractExtract() 741 !match(&I, m_Cmp(Pred, m_Value(Ins0), m_Value(Ins1)))) in scalarizeBinopOrCmp() 873 if (!match(B0, m_OneUse(m_Cmp(P0, m_Instruction(I0), m_Constant(C0)))) || in foldExtractedCmps() 874 !match(B1, m_OneUse(m_Cmp(P1, m_Instruction(I1), m_Constant(C1)))) || in foldExtractedCmps()
|
| D | SLPVectorizer.cpp | 7199 auto MatchCmp = m_Cmp(VecPred, m_Value(), m_Value()); in getEntryCost() 7212 auto MatchCmp = m_Cmp(CurrentPred, m_Value(), m_Value()); in getEntryCost() 11862 return match(I, m_Select(m_Cmp(), m_Value(), m_Value())) && in isCmpSelMinMax() 12047 if (match(Cond, m_Cmp(Pred, m_Specific(LHS), m_Instruction(L2)))) { in getRdxKind() 12051 } else if (match(Cond, m_Cmp(Pred, m_Instruction(L1), m_Specific(RHS)))) { in getRdxKind() 12058 if (!match(Cond, m_Cmp(Pred, m_Instruction(L1), m_Instruction(L2))) || in getRdxKind()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| D | AMDGPUInstCombineIntrinsic.cpp | 786 m_Cmp(SrcPred, PatternMatch::m_Value(SrcLHS), in instCombineIntrinsic()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineVectorOps.cpp | 90 if (match(V, m_OneUse(m_Cmp(UnusedPred, m_Value(V0), m_Value(V1))))) in cheapToScalarize() 482 if (match(SrcVec, m_Cmp(Pred, m_Value(X), m_Value(Y))) && in visitExtractElementInst()
|
| D | InstCombineLoadStoreAlloca.cpp | 643 if (!match(V, m_Select(m_Cmp(Pred, m_Instruction(L1), m_Instruction(L2)), in isMinMaxWithLoads()
|
| D | InstCombineSelect.cpp | 62 if (!match(Sel.getCondition(), m_Cmp(Pred, m_Value(X), m_Constant(C)))) in foldSelectBinOpIdentity() 2141 if (!match(Cond, m_Cmp(Pred, m_Value(A), m_Value(B)))) in foldSelectCmpBitcasts()
|
| D | InstCombineCalls.cpp | 2395 match(IIOperand, m_Cmp(Pred, m_Value(A), m_Zero())) && in visitCallInst() 2416 m_Cmp(Pred, m_And(m_Value(A), m_ConstantInt(AlignMask)), in visitCallInst()
|
| D | InstCombineAndOrXor.cpp | 3951 if (match(NotOp, m_Cmp(Pred, m_Value(), m_Value())) && in foldNot()
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/IR/ |
| D | PatternMatch.h | 89 inline class_match<CmpInst> m_Cmp() { return class_match<CmpInst>(); } in m_Cmp() function 1388 m_Cmp(CmpInst::Predicate &Pred, const LHS &L, const RHS &R) { in m_Cmp() function
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/AArch64/ |
| D | AArch64TargetTransformInfo.cpp | 2439 if (match(I, m_Select(m_Cmp(CurrentPred, m_Value(), m_Value()), m_Value(), in getCmpSelInstrCost()
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/ |
| D | CodeGenPrepare.cpp | 8439 m_CombineOr(m_Cmp(), m_CombineOr(m_LogicalAnd(m_Value(), m_Value()), in splitBranchCondition()
|