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

References

lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
  312   if (C.CandidateKind == Candidate::Add) {
  314     return C.Index->isOne() || C.Index->isMinusOne();
  314     return C.Index->isOne() || C.Index->isMinusOne();
  316   if (C.CandidateKind == Candidate::Mul) {
  318     return C.Index->isZero();
  320   if (C.CandidateKind == Candidate::GEP) {
  322     return ((C.Index->isOne() || C.Index->isMinusOne()) &&
  322     return ((C.Index->isOne() || C.Index->isMinusOne()) &&
  323             hasOnlyOneNonZeroIndex(cast<GetElementPtrInst>(C.Ins)));