Home
last modified time | relevance | path

Searched refs:m_SExt (Results 1 – 21 of 21) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp1123 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()
DStraightLineStrengthReduce.cpp517 if (match(ArrayIdx, m_SExt(m_Value(TruncatedArrayIdx))) && in allocateCandidatesAndFindBasisForGEP()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp1172 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()
DStraightLineStrengthReduce.cpp551 if (match(ArrayIdx, m_SExt(m_Value(TruncatedArrayIdx))) && in allocateCandidatesAndFindBasisForGEP()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1286 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()
DInstCombineSelect.cpp463 if (match(TrueVal, m_SExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp()
467 } else if (match(FalseVal, m_SExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp()
DInstCombineMulDivRem.cpp1158 if (match(Op0, m_OneUse(m_SExt(m_Value(Op0Src)))) && in visitSDiv()
DInstCombineAddSub.cpp1535 if (C->isNullValue() && match(Op1, m_SExt(m_Value(X)))) in visitSub()
DInstCombineCasts.cpp551 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/
DInstCombineAndOrXor.cpp1521 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()
DInstCombineAddSub.cpp849 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()
DInstCombineMulDivRem.cpp991 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()
DInstCombineShifts.cpp369 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()
DInstCombineSelect.cpp945 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()
DInstCombineCalls.cpp3159 if (match(Mask, m_SExt(m_Value(BoolVec))) && in visitCallInst()
3856 (match(Src1, m_AllOnes()) && match(Src0, m_SExt(m_Value(ExtSrc))))) && in visitCallInst()
DInstCombineCasts.cpp788 match(Src, m_LShr(m_SExt(m_Value(A)), m_ConstantInt(Cst)))) { in visitTrunc()
DInstructionCombining.cpp1609 bool IsSext = match(Op0, m_SExt(m_Value(X))); in narrowMathIfNoOverflow()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPatternMatch.h1343 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/
DPatternMatch.h807 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/
DInstructionSimplify.cpp1182 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()
DValueTracking.cpp5062 m_CombineOr(m_Specific(CmpLHS), m_SExt(m_Specific(CmpLHS))); in matchSelectPattern()