Searched refs:m_Trunc (Results 1 – 13 of 13) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 680 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub() 681 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
|
D | InstCombineCasts.cpp | 1127 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()
|
D | InstCombineAndOrXor.cpp | 782 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()
|
D | InstCombineCompares.cpp | 2536 match(Op0, m_Trunc(m_OneUse(m_LShr(m_Value(A), in visitICmpInst()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 942 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()
|
D | InstCombineAddSub.cpp | 1653 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub() 1654 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
|
D | InstCombineAndOrXor.cpp | 924 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()
|
D | InstCombineSelect.cpp | 388 match(Count, m_Trunc(m_Value(V)))) in foldSelectCttzCtlz()
|
D | InstCombineCalls.cpp | 1355 if (match(IIOperand, m_Trunc(m_BSwap(m_Value(X))))) { in visitCallInst()
|
D | InstCombineCompares.cpp | 4245 match(Op0, m_Trunc(m_OneUse(m_LShr(m_Value(A), in visitICmpInst()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | PatternMatch.h | 557 m_Trunc(const OpTy &Op) { in m_Trunc() function
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 801 inline CastClass_match<OpTy, Instruction::Trunc> m_Trunc(const OpTy &Op) { in m_Trunc() function
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 744 if (MaxRecurse && match(Op0, m_Trunc(m_Value(X))) && in SimplifySubInst() 745 match(Op1, m_Trunc(m_Value(Y)))) in SimplifySubInst()
|