/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | CmpInstAnalysis.cpp | 137 if (LookThruTrunc && match(LHS, m_Trunc(m_Value(X)))) { in decomposeBitTestICmp()
|
D | InstructionSimplify.cpp | 807 if (MaxRecurse && match(Op0, m_Trunc(m_Value(X))) && in SimplifySubInst() 808 match(Op1, m_Trunc(m_Value(Y)))) in SimplifySubInst()
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 310 if ((match(V, m_ZExtOrSExt(m_Value(X))) || match(V, m_Trunc(m_Value(X)))) && in canAlwaysEvaluateInType() 1173 match(SrcI, m_OneUse(m_And(m_Trunc(m_Value(X)), m_Constant(C)))) && in visitZExt() 1180 match(And, m_OneUse(m_And(m_Trunc(m_Value(X)), m_Specific(C)))) && in visitZExt() 1377 if (match(Src, m_OneUse(m_Trunc(m_Value(X)))) && X->getType() == DestTy) { in visitSExt() 1404 if (match(Src, m_AShr(m_Shl(m_Trunc(m_Value(A)), m_ConstantInt(BA)), in visitSExt()
|
D | InstCombineAddSub.cpp | 1796 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub() 1797 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
|
D | InstCombineSelect.cpp | 533 if (!match(CmpLHS, m_OneUse(m_Trunc(m_Value(V))))) in foldSelectICmpAndOr() 670 match(Count, m_Trunc(m_Value(V)))) in foldSelectCttzCtlz()
|
D | InstCombineAndOrXor.cpp | 968 if (match(RHS0, m_Trunc(m_Value(V))) && in foldAndOfICmps() 972 } else if (match(LHS0, m_Trunc(m_Value(V))) && in foldAndOfICmps() 1530 if (match(Op0, m_Trunc(m_And(m_Value(X), m_ConstantInt(YC))))) { in visitAnd()
|
D | InstCombineCompares.cpp | 1617 if (match(And->getOperand(0), m_OneUse(m_Trunc(m_Value(W)))) && in foldICmpAndConstConst() 3585 match(Op0, m_Trunc(m_OneUse(m_LShr(m_Value(A), m_ConstantInt(ShAmt))))) && in foldICmpEquality()
|
D | InstCombineCalls.cpp | 1958 if (match(IIOperand, m_Trunc(m_BSwap(m_Value(X))))) { in visitCallInst()
|
/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-7.0/llvm/lib/Target/ARM/ |
D | ARMParallelDSP.cpp | 222 if (match(V, m_Trunc(m_Value(Val)))) { in IsNarrowSequence()
|
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 1136 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()
|