Home
last modified time | relevance | path

Searched refs:LoopSize (Results 1 – 10 of 10) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp667 unsigned LoopSize = Metrics.NumInsts; in ApproximateLoopSize() local
675 LoopSize = std::max(LoopSize, BEInsns + 1); in ApproximateLoopSize()
677 return LoopSize; in ApproximateLoopSize()
742 const unsigned LoopSize; member in UnrollCostEstimator
745 UnrollCostEstimator(Loop &L, unsigned LoopSize) : LoopSize(LoopSize) {} in UnrollCostEstimator() argument
750 assert(LoopSize >= UP.BEInsns && in getUnrolledLoopSize()
772 UnrollCostEstimator UCE(*L, LoopSize); in computeUnrollCount()
904 (LoopSize - UP.BEInsns); in computeUnrollCount()
1097 unsigned LoopSize = in tryToUnrollLoop() local
1110 UP.Threshold = std::max(UP.Threshold, LoopSize + 1); in tryToUnrollLoop()
[all …]
H A DLoopDataPrefetch.cpp302 unsigned LoopSize = Metrics.NumInsts; in runOnLoop() local
303 if (!LoopSize) in runOnLoop()
304 LoopSize = 1; in runOnLoop()
306 unsigned ItersAhead = getPrefetchDistance() / LoopSize; in runOnLoop()
372 << " iterations ahead (loop size: " << LoopSize << ") in " in runOnLoop()
H A DLoopUnrollAndJamPass.cpp150 getUnrollAndJammedLoopSize(unsigned LoopSize, in getUnrollAndJammedLoopSize() argument
152 assert(LoopSize >= UP.BEInsns && "LoopSize should not be less than BEInsns!"); in getUnrollAndJammedLoopSize()
153 return static_cast<uint64_t>(LoopSize - UP.BEInsns) * UP.Count + UP.BEInsns; in getUnrollAndJammedLoopSize()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp293 void llvm::computePeelCount(Loop *L, unsigned LoopSize, in computePeelCount() argument
297 assert(LoopSize > 0 && "Zero loop size is not allowed!"); in computePeelCount()
338 if (2 * LoopSize <= Threshold && UnrollPeelMaxCount > 0) { in computePeelCount()
358 MaxPeelCount = std::min(MaxPeelCount, Threshold / LoopSize - 1); in computePeelCount()
401 (LoopSize * (*PeelCount + 1) <= Threshold)) { in computePeelCount()
410 LLVM_DEBUG(dbgs() << "Peel cost: " << LoopSize * (*PeelCount + 1) in computePeelCount()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DLoopPeel.h33 void computePeelCount(Loop *L, unsigned LoopSize,
H A DUnrollLoop.h106 unsigned TripMultiple, unsigned LoopSize,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.cpp3220 int64_t LoopSize = Size; in emitLoop() local
3224 LoopSize -= LoopSize % 32; in emitLoop()
3230 .addImm(LoopSize) in emitLoop()
3238 if (LoopSize < Size) { in emitLoop()
3240 assert(Size - LoopSize == 16); in emitLoop()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp11908 unsigned LoopSize = 0; in getPrefLoopAlignment() local
11913 LoopSize += MBB->getAlignment().value() / 2; in getPrefLoopAlignment()
11916 LoopSize += TII->getInstSizeInBytes(MI); in getPrefLoopAlignment()
11917 if (LoopSize > 192) in getPrefLoopAlignment()
11922 if (LoopSize <= 64) in getPrefLoopAlignment()
11925 if (LoopSize <= 128) in getPrefLoopAlignment()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp11061 unsigned LoopSize = SizeVal - BytesLeft; in EmitStructByval() local
11069 for (unsigned i = 0; i < LoopSize; i+=UnitSize) { in EmitStructByval()
11133 if ((LoopSize & 0xFFFF0000) != 0) in EmitStructByval()
11136 .addImm(LoopSize & 0xFFFF) in EmitStructByval()
11139 if ((LoopSize & 0xFFFF0000) != 0) in EmitStructByval()
11142 .addImm(LoopSize >> 16) in EmitStructByval()
11147 const Constant *C = ConstantInt::get(Int32Ty, LoopSize); in EmitStructByval()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp15583 uint64_t LoopSize = 0; in getPrefLoopAlignment() local
15586 LoopSize += TII->getInstSizeInBytes(*J); in getPrefLoopAlignment()
15587 if (LoopSize > 32) in getPrefLoopAlignment()
15591 if (LoopSize > 16 && LoopSize <= 32) in getPrefLoopAlignment()