/external/llvm/lib/Transforms/Scalar/ |
D | SeparateConstOffsetFromGEP.cpp | 1123 if (match(I, m_Add(m_SExt(m_Value(LHS)), m_SExt(m_Value(RHS)))) || in reuniteExts() 1124 match(I, m_Sub(m_SExt(m_Value(LHS)), m_SExt(m_Value(RHS))))) { in reuniteExts()
|
D | StraightLineStrengthReduce.cpp | 517 if (match(ArrayIdx, m_SExt(m_Value(TruncatedArrayIdx))) && in allocateCandidatesAndFindBasisForGEP()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SeparateConstOffsetFromGEP.cpp | 1172 if (match(I, m_Add(m_SExt(m_Value(LHS)), m_SExt(m_Value(RHS)))) || in reuniteExts() 1173 match(I, m_Sub(m_SExt(m_Value(LHS)), m_SExt(m_Value(RHS))))) { in reuniteExts()
|
D | StraightLineStrengthReduce.cpp | 551 if (match(ArrayIdx, m_SExt(m_Value(TruncatedArrayIdx))) && in allocateCandidatesAndFindBasisForGEP()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1286 if (match(Op1, m_SExt(m_Value())) || match(Op1, m_Not(m_Value()))) { in foldBoolSextMaskToSelect() 1292 if (match(Op0, m_SExt(m_Value(X))) && in foldBoolSextMaskToSelect() 1299 if (match(Op0, m_Not(m_SExt(m_Value(X)))) && in foldBoolSextMaskToSelect() 1622 if (match(A, m_SExt(m_Value(Cond))) && in getSelectCondition() 1624 match(B, m_CombineOr(m_Not(m_SExt(m_Specific(Cond))), in getSelectCondition() 1625 m_SExt(m_Not(m_Specific(Cond)))))) in getSelectCondition() 1641 if (match(A, (m_Xor(m_SExt(m_Value(Cond)), m_Constant(AC)))) && in getSelectCondition() 1642 match(B, (m_Xor(m_SExt(m_Specific(Cond)), m_Constant(BC)))) && in getSelectCondition() 2439 if (match(Op0, m_OneUse(m_SExt(m_Value(A)))) && in visitOr() 2442 if (match(Op1, m_OneUse(m_SExt(m_Value(A)))) && in visitOr()
|
D | InstCombineSelect.cpp | 463 if (match(TrueVal, m_SExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp() 467 } else if (match(FalseVal, m_SExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp()
|
D | InstCombineMulDivRem.cpp | 1158 if (match(Op0, m_OneUse(m_SExt(m_Value(Op0Src)))) && in visitSDiv()
|
D | InstCombineAddSub.cpp | 1535 if (C->isNullValue() && match(Op1, m_SExt(m_Value(X)))) in visitSub()
|
D | InstCombineCasts.cpp | 551 match(Src, m_LShr(m_SExt(m_Value(A)), m_ConstantInt(Cst))) && in visitTrunc()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1521 if (match(Cast, m_OneUse(m_SExt(m_Value(X))))) { in foldLogicCastConstant() 1955 if (match(Op0, m_OneUse(m_SExt(m_Value(A)))) && in visitAnd() 1958 if (match(Op1, m_OneUse(m_SExt(m_Value(A)))) && in visitAnd() 2138 if (match(A, m_SExt(m_Value(Cond))) && in getSelectCondition() 2142 if (match(NotB, m_SExt(m_Specific(Cond)))) in getSelectCondition() 2154 if (match(A, (m_Xor(m_SExt(m_Value(Cond)), m_Constant(AConst)))) && in getSelectCondition() 2155 match(B, (m_Xor(m_SExt(m_Specific(Cond)), m_Constant(BConst)))) && in getSelectCondition() 2679 if (match(Op0, m_OneUse(m_SExt(m_Value(A)))) && in visitOr() 2682 if (match(Op1, m_OneUse(m_SExt(m_Value(A)))) && in visitOr()
|
D | InstCombineAddSub.cpp | 849 if (match(Op0, m_OneUse(m_SExt(m_NSWAdd(m_Value(X), m_Constant(NarrowC)))))) { in foldNoWrapAdd() 894 if (match(Op0, m_SExt(m_Value(X))) && in foldAddWithConstant() 935 if (match(Op0, m_SExt(m_Value(X))) && in foldAddWithConstant() 1746 if (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) { in visitSub() 1994 if (match(Op1, m_SExt(m_Value(Y))) && in visitSub()
|
D | InstCombineMulDivRem.cpp | 991 if (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) { in visitUDiv() 1065 (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1))) in visitSDiv() 1084 if (match(Op0, m_OneUse(m_SExt(m_Value(Op0Src)))) && in visitSDiv() 1396 if (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) { in visitURem()
|
D | InstCombineShifts.cpp | 369 if (match(Op1, m_OneUse(m_SExt(m_Value(Y))))) { in commonShiftTransforms() 1124 if (match(Op0, m_SExt(m_Value(X))) && in visitLShr() 1302 if (match(Op0, m_OneUse(m_SExt(m_Value(X)))) && in visitAShr()
|
D | InstCombineSelect.cpp | 945 if (match(TrueVal, m_SExt(m_Specific(CmpLHS))) && SextRHS == FalseVal) { in adjustMinMax() 948 } else if (match(FalseVal, m_SExt(m_Specific(CmpLHS))) && in adjustMinMax() 2190 if(!match(AddSub, m_BinOp(m_SExt(m_Value(A)), m_SExt(m_Value(B))))) in matchSAddSubSat()
|
D | InstCombineCalls.cpp | 3159 if (match(Mask, m_SExt(m_Value(BoolVec))) && in visitCallInst() 3856 (match(Src1, m_AllOnes()) && match(Src0, m_SExt(m_Value(ExtSrc))))) && in visitCallInst()
|
D | InstCombineCasts.cpp | 788 match(Src, m_LShr(m_SExt(m_Value(A)), m_ConstantInt(Cst)))) { in visitTrunc()
|
D | InstructionCombining.cpp | 1609 bool IsSext = match(Op0, m_SExt(m_Value(X))); in narrowMathIfNoOverflow()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 1343 inline CastClass_match<OpTy, Instruction::SExt> m_SExt(const OpTy &Op) { in m_SExt() function 1362 return m_CombineOr(m_SExt(Op), Op); in m_SExtOrSelf() 1369 return m_CombineOr(m_ZExt(Op), m_SExt(Op)); in m_ZExtOrSExt()
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 807 inline CastClass_match<OpTy, Instruction::SExt> m_SExt(const OpTy &Op) { in m_SExt() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 1182 if (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) in SimplifySRemInst() 1250 (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1))) in SimplifyShift()
|
D | ValueTracking.cpp | 5062 m_CombineOr(m_Specific(CmpLHS), m_SExt(m_Specific(CmpLHS))); in matchSelectPattern()
|