reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/IR/PatternMatch.h
 1307   return m_CombineOr(m_Trunc(Op), Op);
lib/Analysis/CmpInstAnalysis.cpp
  136   if (LookThruTrunc && match(LHS, m_Trunc(m_Value(X)))) {
lib/Analysis/InstructionSimplify.cpp
  790   if (MaxRecurse && match(Op0, m_Trunc(m_Value(X))) &&
  791       match(Op1, m_Trunc(m_Value(Y))))
lib/Transforms/InstCombine/InstCombineAddSub.cpp
 1982   if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) &&
 1983       match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp)))))
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  994   } else if (match(X0, m_Trunc(m_Specific(X1)))) {
 1226     if (match(RHS0, m_Trunc(m_Value(V))) &&
 1230     } else if (match(LHS0, m_Trunc(m_Value(V))) &&
 1854       if (match(Op0, m_Trunc(m_And(m_Value(X), m_ConstantInt(YC))))) {
lib/Transforms/InstCombine/InstCombineCalls.cpp
 1894     if (match(IIOperand, m_Trunc(m_BSwap(m_Value(X))))) {
lib/Transforms/InstCombine/InstCombineCasts.cpp
  309   if ((match(V, m_ZExtOrSExt(m_Value(X))) || match(V, m_Trunc(m_Value(X)))) &&
 1207       match(SrcI, m_OneUse(m_And(m_Trunc(m_Value(X)), m_Constant(C)))) &&
 1214       match(And, m_OneUse(m_And(m_Trunc(m_Value(X)), m_Specific(C)))) &&
 1405   if (match(Src, m_OneUse(m_Trunc(m_Value(X)))) && X->getType() == DestTy) {
 1432   if (match(Src, m_AShr(m_Shl(m_Trunc(m_Value(A)), m_ConstantInt(BA)),
lib/Transforms/InstCombine/InstCombineCompares.cpp
 1765   if (match(And->getOperand(0), m_OneUse(m_Trunc(m_Value(W)))) &&
 4242       match(Op0, m_Trunc(m_OneUse(m_LShr(m_Value(A), m_ConstantInt(ShAmt))))) &&
lib/Transforms/InstCombine/InstCombineSelect.cpp
  623     if (!match(CmpLHS, m_OneUse(m_Trunc(m_Value(V)))))
  860       match(Count, m_Trunc(m_Value(V))))
lib/Transforms/InstCombine/InstCombineShifts.cpp
   47         m_CombineOr(m_CombineAnd(m_Trunc(m_Instruction(Sh1)), m_Value(Trunc)),