Home
last modified time | relevance | path

Searched refs:m_SExt (Results 1 – 11 of 11) 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/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()
DInstCombineAddSub.cpp1535 if (C->isNullValue() && match(Op1, m_SExt(m_Value(X)))) in visitSub()
DInstCombineMulDivRem.cpp1158 if (match(Op0, m_OneUse(m_SExt(m_Value(Op0Src)))) && in visitSDiv()
DInstCombineCasts.cpp551 match(Src, m_LShr(m_SExt(m_Value(A)), m_ConstantInt(Cst))) && in visitTrunc()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1440 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()
DInstCombineSelect.cpp399 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/include/llvm/Support/
DPatternMatch.h564 m_SExt(const OpTy &Op) { in m_SExt() function
/external/llvm/include/llvm/IR/
DPatternMatch.h807 inline CastClass_match<OpTy, Instruction::SExt> m_SExt(const OpTy &Op) { in m_SExt() function