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

References

lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
  503   if (match(ArrayIdx, m_NSWMul(m_Value(LHS), m_ConstantInt(RHS)))) {
  506     allocateCandidatesAndFindBasisForGEP(Base, RHS, LHS, ElementSize, GEP);
  507   } else if (match(ArrayIdx, m_NSWShl(m_Value(LHS), m_ConstantInt(RHS)))) {
  510     APInt One(RHS->getBitWidth(), 1);
  512         ConstantInt::get(RHS->getContext(), One << RHS->getValue());
  512         ConstantInt::get(RHS->getContext(), One << RHS->getValue());