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

References

lib/Transforms/InstCombine/InstCombineShifts.cpp
  944     if (match(Op0, m_OneUse(m_Shl(m_Constant(C2), m_Value(X)))))
  945       return BinaryOperator::CreateShl(ConstantExpr::getShl(C2, C1), X);
  948     if (match(Op0, m_Mul(m_Value(X), m_Constant(C2))))
  949       return BinaryOperator::CreateMul(X, ConstantExpr::getShl(C2, C1));
  952     if (match(Op0, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) {
  952     if (match(Op0, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) {
  954       return SelectInst::Create(X, NewC, ConstantInt::getNullValue(Ty));