Home
last modified time | relevance | path

Searched refs:m_Trunc (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp680 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub()
681 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
DInstCombineCasts.cpp1127 if (match(Src, m_AShr(m_Shl(m_Trunc(m_Value(A)), m_ConstantInt(BA)), in visitSExt()
1606 if (match(Src, m_Trunc(m_BitCast(m_Value(VecInput)))) && in OptimizeIntToFloatBitCast()
1626 if (match(Src, m_Trunc(m_LShr(m_BitCast(m_Value(VecInput)), in OptimizeIntToFloatBitCast()
DInstCombineAndOrXor.cpp782 if (match(Val2, m_Trunc(m_Value(V))) && in FoldAndOfICmps()
788 else if (match(Val, m_Trunc(m_Value(V))) && in FoldAndOfICmps()
1132 if (match(Op0, m_Trunc(m_And(m_Value(X), m_ConstantInt(YC))))) { in visitAnd()
DInstCombineCompares.cpp2536 match(Op0, m_Trunc(m_OneUse(m_LShr(m_Value(A), in visitICmpInst()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp942 match(SrcI, m_OneUse(m_And(m_Trunc(m_Value(X)), m_Constant(C)))) && in visitZExt()
949 match(And, m_OneUse(m_And(m_Trunc(m_Value(X)), m_Specific(C)))) && in visitZExt()
1201 if (match(Src, m_AShr(m_Shl(m_Trunc(m_Value(A)), m_ConstantInt(BA)), in visitSExt()
DInstCombineAddSub.cpp1653 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub()
1654 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
DInstCombineAndOrXor.cpp924 if (match(Val2, m_Trunc(m_Value(V))) && in FoldAndOfICmps()
928 } else if (match(Val, m_Trunc(m_Value(V))) && in FoldAndOfICmps()
1417 if (match(Op0, m_Trunc(m_And(m_Value(X), m_ConstantInt(YC))))) { in visitAnd()
DInstCombineSelect.cpp388 match(Count, m_Trunc(m_Value(V)))) in foldSelectCttzCtlz()
DInstCombineCalls.cpp1355 if (match(IIOperand, m_Trunc(m_BSwap(m_Value(X))))) { in visitCallInst()
DInstCombineCompares.cpp4245 match(Op0, m_Trunc(m_OneUse(m_LShr(m_Value(A), in visitICmpInst()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DPatternMatch.h557 m_Trunc(const OpTy &Op) { in m_Trunc() function
/external/llvm/include/llvm/IR/
DPatternMatch.h801 inline CastClass_match<OpTy, Instruction::Trunc> m_Trunc(const OpTy &Op) { in m_Trunc() function
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp744 if (MaxRecurse && match(Op0, m_Trunc(m_Value(X))) && in SimplifySubInst()
745 match(Op1, m_Trunc(m_Value(Y)))) in SimplifySubInst()