Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp631 unsigned LoopSize = Metrics.NumInsts; in ApproximateLoopSize() local
639 LoopSize = std::max(LoopSize, BEInsns + 1); in ApproximateLoopSize()
641 return LoopSize; in ApproximateLoopSize()
703 unsigned LoopSize, in getUnrolledLoopSize() argument
721 unsigned &TripMultiple, unsigned LoopSize, in computeUnrollCount() argument
782 if (getUnrolledLoopSize(LoopSize, UP) < UP.Threshold) { in computeUnrollCount()
807 computePeelCount(L, LoopSize, UP, TripCount, SE); in computeUnrollCount()
831 (LoopSize - UP.BEInsns); in computeUnrollCount()
1003 unsigned LoopSize = in tryToUnrollLoop() local
1006 LLVM_DEBUG(dbgs() << " Loop Size = " << LoopSize << "\n"); in tryToUnrollLoop()
[all …]
H A DLoopDataPrefetch.cpp236 unsigned LoopSize = Metrics.NumInsts; in runOnLoop() local
237 if (!LoopSize) in runOnLoop()
238 LoopSize = 1; in runOnLoop()
240 unsigned ItersAhead = getPrefetchDistance() / LoopSize; in runOnLoop()
248 << " iterations ahead (loop size: " << LoopSize << ") in " in runOnLoop()
H A DLoopUnrollAndJamPass.cpp146 getUnrollAndJammedLoopSize(unsigned LoopSize, in getUnrollAndJammedLoopSize() argument
148 assert(LoopSize >= UP.BEInsns && "LoopSize should not be less than BEInsns!"); in getUnrollAndJammedLoopSize()
149 return static_cast<uint64_t>(LoopSize - UP.BEInsns) * UP.Count + UP.BEInsns; in getUnrollAndJammedLoopSize()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DLoopUnrollPeel.cpp238 void llvm::computePeelCount(Loop *L, unsigned LoopSize, in computePeelCount() argument
241 assert(LoopSize > 0 && "Zero loop size is not allowed!"); in computePeelCount()
272 if (2 * LoopSize <= UP.Threshold && UnrollPeelMaxCount > 0) { in computePeelCount()
292 MaxPeelCount = std::min(MaxPeelCount, UP.Threshold / LoopSize - 1); in computePeelCount()
329 (LoopSize * (*PeelCount + 1) <= UP.Threshold)) { in computePeelCount()
337 LLVM_DEBUG(dbgs() << "Peel cost: " << LoopSize * (*PeelCount + 1) in computePeelCount()
/freebsd-12.1/contrib/llvm/include/llvm/Transforms/Utils/
H A DUnrollLoop.h84 void computePeelCount(Loop *L, unsigned LoopSize,
108 unsigned LoopSize,
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp8891 unsigned LoopSize = SizeVal - BytesLeft; in EmitStructByval() local
8899 for (unsigned i = 0; i < LoopSize; i+=UnitSize) { in EmitStructByval()
8963 if ((LoopSize & 0xFFFF0000) != 0) in EmitStructByval()
8966 .addImm(LoopSize & 0xFFFF) in EmitStructByval()
8969 if ((LoopSize & 0xFFFF0000) != 0) in EmitStructByval()
8972 .addImm(LoopSize >> 16) in EmitStructByval()
8977 const Constant *C = ConstantInt::get(Int32Ty, LoopSize); in EmitStructByval()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp13460 uint64_t LoopSize = 0; in getPrefLoopAlignment() local
13463 LoopSize += TII->getInstSizeInBytes(*J); in getPrefLoopAlignment()
13464 if (LoopSize > 32) in getPrefLoopAlignment()
13468 if (LoopSize > 16 && LoopSize <= 32) in getPrefLoopAlignment()