Searched refs:LoopSize (Results 1 - 9 of 9) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp690 unsigned LoopSize = Metrics.NumInsts; local
698 LoopSize = std::max(LoopSize, BEInsns + 1);
700 return LoopSize;
762 unsigned LoopSize,
764 assert(LoopSize >= UP.BEInsns && "LoopSize should not be less than BEInsns!");
765 return (uint64_t)(LoopSize - UP.BEInsns) * UP.Count + UP.BEInsns;
780 bool MaxOrZero, unsigned &TripMultiple, unsigned LoopSize,
791 if (UP.AllowRemainder && getUnrolledLoopSize(LoopSize, U
761 getUnrolledLoopSize( unsigned LoopSize, TargetTransformInfo::UnrollingPreferences &UP) argument
776 computeUnrollCount( Loop *L, const TargetTransformInfo &TTI, DominatorTree &DT, LoopInfo *LI, ScalarEvolution &SE, const SmallPtrSetImpl<const Value *> &EphValues, OptimizationRemarkEmitter *ORE, unsigned &TripCount, unsigned MaxTripCount, bool MaxOrZero, unsigned &TripMultiple, unsigned LoopSize, TargetTransformInfo::UnrollingPreferences &UP, TargetTransformInfo::PeelingPreferences &PP, bool &UseUpperBound) argument
1101 unsigned LoopSize = local
[all...]
H A DLoopDataPrefetch.cpp300 unsigned LoopSize = Metrics.NumInsts; local
301 if (!LoopSize)
302 LoopSize = 1;
304 unsigned ItersAhead = getPrefetchDistance() / LoopSize;
370 << " iterations ahead (loop size: " << LoopSize << ") in "
H A DLoopUnrollAndJamPass.cpp147 getUnrollAndJammedLoopSize(unsigned LoopSize, argument
149 assert(LoopSize >= UP.BEInsns && "LoopSize should not be less than BEInsns!");
150 return static_cast<uint64_t>(LoopSize - UP.BEInsns) * UP.Count + UP.BEInsns;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DUnrollLoop.h95 void computePeelCount(Loop *L, unsigned LoopSize,
121 unsigned &TripMultiple, unsigned LoopSize,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnrollPeel.cpp280 void llvm::computePeelCount(Loop *L, unsigned LoopSize,
284 assert(LoopSize > 0 && "Zero loop size is not allowed!");
325 if (2 * LoopSize <= UP.Threshold && UnrollPeelMaxCount > 0) {
345 MaxPeelCount = std::min(MaxPeelCount, UP.Threshold / LoopSize - 1);
388 (LoopSize * (*PeelCount + 1) <= UP.Threshold)) {
397 LLVM_DEBUG(dbgs() << "Peel cost: " << LoopSize * (*PeelCount + 1)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.cpp2939 int64_t LoopSize = Size; local
2943 LoopSize -= LoopSize % 32;
2949 .addImm(LoopSize)
2957 if (LoopSize < Size) {
2959 assert(Size - LoopSize == 16);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp11428 unsigned LoopSize = 0; local
11433 LoopSize += MBB->getAlignment().value() / 2;
11436 LoopSize += TII->getInstSizeInBytes(MI);
11437 if (LoopSize > 192)
11442 if (LoopSize <= 64)
11445 if (LoopSize <= 128)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp10644 unsigned LoopSize = SizeVal - BytesLeft; local
10652 for (unsigned i = 0; i < LoopSize; i+=UnitSize) {
10716 if ((LoopSize & 0xFFFF0000) != 0)
10719 .addImm(LoopSize & 0xFFFF)
10722 if ((LoopSize & 0xFFFF0000) != 0)
10725 .addImm(LoopSize >> 16)
10730 const Constant *C = ConstantInt::get(Int32Ty, LoopSize);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp15637 uint64_t LoopSize = 0; local
15640 LoopSize += TII->getInstSizeInBytes(*J);
15641 if (LoopSize > 32)
15645 if (LoopSize > 16 && LoopSize <= 32)

Completed in 319 milliseconds