Lines Matching defs:LoopSize
694 LoopSize = Metrics.NumInsts;
705 if (LoopSize.isValid() && LoopSize < BEInsns + 1)
707 LoopSize = BEInsns + 1;
718 if (!LoopSize.isValid()) {
732 unsigned LS = *LoopSize.getValue();
733 assert(LS >= UP.BEInsns && "LoopSize should not be less than BEInsns!");
869 shouldPartialUnroll(const unsigned LoopSize, const unsigned TripCount,
888 (LoopSize - UP.BEInsns);
933 unsigned LoopSize = UCE.getRolledLoopSize();
1017 computePeelCount(L, LoopSize, PP, TripCount, DT, SE, AC, UP.Threshold);
1031 if (auto UnrollFactor = shouldPartialUnroll(LoopSize, TripCount, UCE, UP)) {
1238 unsigned LoopSize = UCE.getRolledLoopSize();
1239 LLVM_DEBUG(dbgs() << " Loop Size = " << LoopSize << "\n");
1241 // When optimizing for size, use LoopSize + 1 as threshold (we use < Threshold
1244 UP.Threshold = std::max(UP.Threshold, LoopSize + 1);