Home
last modified time | relevance | path

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

/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.cpp1673 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub()
1674 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
DInstCombineAndOrXor.cpp941 if (match(Val2, m_Trunc(m_Value(V))) && in FoldAndOfICmps()
945 } else if (match(Val, m_Trunc(m_Value(V))) && in FoldAndOfICmps()
1359 if (match(Op0, m_Trunc(m_And(m_Value(X), m_ConstantInt(YC))))) { in visitAnd()
DInstCombineSelect.cpp377 match(Count, m_Trunc(m_Value(V)))) in foldSelectCttzCtlz()
DInstCombineCalls.cpp781 if (match(IIOperand, m_Trunc(m_BSwap(m_Value(X))))) { in visitCallInst()
DInstCombineCompares.cpp3786 match(Op0, m_Trunc(m_OneUse(m_LShr(m_Value(A), in visitICmpInst()
/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.cpp745 if (MaxRecurse && match(Op0, m_Trunc(m_Value(X))) && in SimplifySubInst()
746 match(Op1, m_Trunc(m_Value(Y)))) in SimplifySubInst()