Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCmpInstAnalysis.cpp137 if (LookThruTrunc && match(LHS, m_Trunc(m_Value(X)))) { in decomposeBitTestICmp()
DInstructionSimplify.cpp807 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/
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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp310 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()
DInstCombineAddSub.cpp1796 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub()
1797 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
DInstCombineSelect.cpp533 if (!match(CmpLHS, m_OneUse(m_Trunc(m_Value(V))))) in foldSelectICmpAndOr()
670 match(Count, m_Trunc(m_Value(V)))) in foldSelectCttzCtlz()
DInstCombineAndOrXor.cpp968 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()
DInstCombineCompares.cpp1617 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()
DInstCombineCalls.cpp1958 if (match(IIOperand, m_Trunc(m_BSwap(m_Value(X))))) { in visitCallInst()
/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-7.0/llvm/lib/Target/ARM/
DARMParallelDSP.cpp222 if (match(V, m_Trunc(m_Value(Val)))) { in IsNarrowSequence()
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DPatternMatch.h1136 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()