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

References

lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp
  282   if (!L->isLoopSimplifyForm() || L->getSubLoops().size() != 1)
  282   if (!L->isLoopSimplifyForm() || L->getSubLoops().size() != 1)
  284   Loop *SubLoop = L->getSubLoops()[0];
  288   BasicBlock *Latch = L->getLoopLatch();
  289   BasicBlock *Exit = L->getExitingBlock();
  297       gatherUnrollingPreferences(L, SE, TTI, nullptr, nullptr, OptLevel, None,
  308                     << L->getHeader()->getParent()->getName() << "] Loop %"
  309                     << L->getHeader()->getName() << "\n");
  311   TransformationMode EnableMode = hasUnrollAndJamTransformation(L);
  319   if (HasAnyUnrollPragma(L, "llvm.loop.unroll.") &&
  320       !HasAnyUnrollPragma(L, "llvm.loop.unroll_and_jam.")) {
  325   if (!isSafeToUnrollAndJam(L, SE, DT, DI)) {
  335   CodeMetrics::collectEphemeralValues(L, &AC, EphValues);
  340       ApproximateLoopSize(L, NumInlineCandidates, NotDuplicatable, Convergent,
  360   MDNode *OrigOuterLoopID = L->getLoopID();
  373   unsigned OuterTripCount = SE.getSmallConstantTripCount(L, Latch);
  374   unsigned OuterTripMultiple = SE.getSmallConstantTripMultiple(L, Latch);
  379       L, SubLoop, TTI, DT, LI, SE, EphValues, &ORE, OuterTripCount,
  389       L, UP.Count, OuterTripCount, OuterTripMultiple, UP.UnrollRemainder, LI,
  414       L->setLoopID(NewOuterLoopID.getValue());
  424     L->setLoopAlreadyUnrolled();