/external/swiftshader/third_party/llvm-7.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/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/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/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1440 if (!match(A, m_SExt(m_Value(Cond))) || in MatchSelectFromAndOr() 1445 if (match(D, m_Not(m_SExt(m_Specific(Cond))))) in MatchSelectFromAndOr() 1447 if (match(D, m_SExt(m_Not(m_Specific(Cond))))) in MatchSelectFromAndOr() 1451 if (match(B, m_Not(m_SExt(m_Specific(Cond))))) in MatchSelectFromAndOr() 1453 if (match(B, m_SExt(m_Not(m_Specific(Cond))))) in MatchSelectFromAndOr() 2045 if (match(Op0, m_SExt(m_Value(A))) && A->getType()->isIntegerTy(1)) in visitOr() 2047 if (match(Op1, m_SExt(m_Value(A))) && A->getType()->isIntegerTy(1)) in visitOr()
|
D | InstCombineSelect.cpp | 399 if (match(TrueVal, m_SExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp() 403 } else if (match(FalseVal, m_SExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1201 if (match(Cast, m_OneUse(m_SExt(m_Value(X))))) { in foldLogicCastConstant() 1628 if (match(Op0, m_OneUse(m_SExt(m_Value(A)))) && in visitAnd() 1631 if (match(Op1, m_OneUse(m_SExt(m_Value(A)))) && in visitAnd() 1717 if (match(A, m_SExt(m_Value(Cond))) && in getSelectCondition() 1721 if (match(NotB, m_SExt(m_Specific(Cond)))) in getSelectCondition() 1739 if (match(A, (m_Xor(m_SExt(m_Value(Cond)), m_Constant(AC)))) && in getSelectCondition() 1740 match(B, (m_Xor(m_SExt(m_Specific(Cond)), m_Constant(BC)))) && in getSelectCondition() 2242 if (match(Op0, m_OneUse(m_SExt(m_Value(A)))) && in visitOr() 2245 if (match(Op1, m_OneUse(m_SExt(m_Value(A)))) && in visitOr()
|
D | InstCombineMulDivRem.cpp | 968 if (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) { in visitUDiv() 1042 (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1))) in visitSDiv() 1057 if (match(Op0, m_OneUse(m_SExt(m_Value(Op0Src)))) && in visitSDiv() 1341 if (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) { in visitURem()
|
D | InstCombineShifts.cpp | 771 if (match(Op0, m_SExt(m_Value(X))) && in visitLShr() 880 if (match(Op0, m_OneUse(m_SExt(m_Value(X)))) && in visitAShr()
|
D | InstCombineAddSub.cpp | 982 if (match(Op0, m_SExt(m_Value(X))) && in foldAddWithConstant() 1635 if (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) { in visitSub() 1763 if (match(Op1, m_SExt(m_Value(Y))) && in visitSub()
|
D | InstCombineSelect.cpp | 740 if (match(TrueVal, m_SExt(m_Specific(CmpLHS))) && SextRHS == FalseVal) { in adjustMinMax() 743 } else if (match(FalseVal, m_SExt(m_Specific(CmpLHS))) && in adjustMinMax()
|
D | InstCombineCasts.cpp | 750 match(Src, m_LShr(m_SExt(m_Value(A)), m_ConstantInt(Cst)))) { in visitTrunc()
|
D | InstCombineCalls.cpp | 3576 (match(Src1, m_AllOnes()) && match(Src0, m_SExt(m_Value(ExtSrc))))) && in visitCallInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 1142 inline CastClass_match<OpTy, Instruction::SExt> m_SExt(const OpTy &Op) { in m_SExt() function 1156 return m_CombineOr(m_ZExt(Op), m_SExt(Op)); in m_ZExtOrSExt()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | PatternMatch.h | 564 m_SExt(const OpTy &Op) { in m_SExt() function
|
/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-7.0/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 1155 if (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) in SimplifySRemInst() 1223 (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1))) in SimplifyShift()
|
D | ValueTracking.cpp | 4641 m_CombineOr(m_Specific(CmpLHS), m_SExt(m_Specific(CmpLHS))); in matchSelectPattern()
|