Home
last modified time | relevance | path

Searched refs:m_Select (Results 1 – 19 of 19) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelAttributes.cpp196 m_Select(m_ICmp(Pred, SubExpr, m_Specific(ZextGroupSize)), in processUse()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp138 if (match(&I, m_c_Mul(m_OneUse(m_Select(m_Value(Cond), m_One(), m_AllOnes())), in foldMulSelectToNegate()
144 if (match(&I, m_c_Mul(m_OneUse(m_Select(m_Value(Cond), m_AllOnes(), m_One())), in foldMulSelectToNegate()
150 if (match(&I, m_c_FMul(m_OneUse(m_Select(m_Value(Cond), m_SpecificFP(1.0), in foldMulSelectToNegate()
160 if (match(&I, m_c_FMul(m_OneUse(m_Select(m_Value(Cond), m_SpecificFP(-1.0), in foldMulSelectToNegate()
DInstCombineShifts.cpp885 if (match(Op0, m_Select(m_Value(Cond), m_OneUse(m_BinOp(TBO)), in FoldShiftByConstant()
904 if (match(Op0, m_Select(m_Value(Cond), m_Value(TrueVal), in FoldShiftByConstant()
DInstCombineCasts.cpp1645 if (match(Op, m_Select(m_Value(Cond), m_FPExt(m_Value(X)), m_Value(Y))) && in visitFPTrunc()
1652 if (match(Op, m_Select(m_Value(Cond), m_Value(Y), m_FPExt(m_Value(X)))) && in visitFPTrunc()
2166 m_OneUse(m_Select(m_Value(Cond), m_Value(TVal), m_Value(FVal))))) in foldBitCastSelect()
DInstCombineSelect.cpp1254 if (!match(Sel1, m_Select(m_Value(Cmp1), m_Value(ReplacementLow), in canonicalizeClampLike()
1357 match(&Sel, m_Select(m_Value(), m_Value(SelVal0), m_Value(SelVal1))); in tryToReuseConstantFromSelectInComparison()
1774 if (!match(Limit, m_Select(m_ICmp(Pred, m_Value(Op), m_APInt(C)), in foldOverflowingAddSubSelect()
DInstCombineAddSub.cpp1168 if (!match(Select, m_Select(m_ICmp(Pred, m_Specific(X), m_APInt(Thr)), in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract()
1925 if (!match(Select, m_OneUse(m_Select(m_Value(Cond), m_Value(TrueVal), in visitSub()
DInstCombineInternal.h209 if (match(V, m_Select(m_Value(), m_Not(m_Value()), m_Not(m_Value())))) in isFreeToInvert()
DInstCombineLoadStoreAlloca.cpp547 if (!match(V, m_Select(m_Cmp(Pred, m_Instruction(L1), m_Instruction(L2)), in isMinMaxWithLoads()
DInstructionCombining.cpp778 bool LHSIsSelect = match(LHS, m_Select(m_Value(A), m_Value(B), m_Value(C))); in SimplifySelectsFeedingBinaryOp()
779 bool RHSIsSelect = match(RHS, m_Select(m_Value(D), m_Value(E), m_Value(F))); in SimplifySelectsFeedingBinaryOp()
DInstCombineAndOrXor.cpp2705 match(Op0, m_Select(m_Value(X), m_Value(A), m_Value(B))) && in visitOr()
2706 match(Op1, m_Select(m_Value(Y), m_Value(C), m_Value(D))) && X == Y) { in visitOr()
DInstCombineVectorOps.cpp1683 m_OneUse(m_Select(m_Value(Cond), m_Value(X), m_Value(Y))))) in narrowVectorSelect()
DInstCombineCompares.cpp2646 if (!match(UnequalVal, m_Select(m_ICmp(PredB, m_Value(LHS2), m_Value(RHS2)), in matchThreeWayIntCompare()
5478 if (match(Op0, m_Select(m_Value(Cond), m_Value(SelectTrue), in visitICmpInst()
DInstCombineCalls.cpp2321 m_Select(m_Value(Cond), m_Constant(LHS), m_Constant(RHS)))) { in visitCallInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPatternMatch.h1245 m_Select(const Cond &C, const LHS &L, const RHS &R) { in m_Select() function
1255 return m_Select(C, m_ConstantInt<L>(), m_ConstantInt<R>()); in m_SelectCst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DVectorUtils.cpp359 if (match(V, m_Select(m_Value(X), m_Value(Y), m_Value(Z)))) in isSplatValue()
DScalarEvolution.cpp5934 !match(SU->getValue(), m_Select(m_Value(Condition), m_APInt(TrueVal), in getRangeViaFactoring()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp145 if (!match(V, m_Select(m_Value(Cond), m_Value(A), m_Value(B)))) in matchSelectWithOptionalNotCond()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp244 if (match(Size, m_Select(m_Value(), m_APInt(X), m_APInt(Y)))) { in annotateNonNullAndDereferenceable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp6032 m_OneUse(m_Select(m_Value(Cond), m_Value(TVal), m_Value(FVal))))) in optimizeShiftInst()