Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp665 unsigned LoopSize = Metrics.NumInsts; in ApproximateLoopSize() local
673 LoopSize = std::max(LoopSize, BEInsns + 1); in ApproximateLoopSize()
675 return LoopSize; in ApproximateLoopSize()
740 const unsigned LoopSize; member in UnrollCostEstimator
743 UnrollCostEstimator(Loop &L, unsigned LoopSize) : LoopSize(LoopSize) {} in UnrollCostEstimator() argument
748 assert(LoopSize >= UP.BEInsns && in getUnrolledLoopSize()
750 return (uint64_t)(LoopSize - UP.BEInsns) * UP.Count + UP.BEInsns; in getUnrolledLoopSize()
766 bool MaxOrZero, unsigned &TripMultiple, unsigned LoopSize, in computeUnrollCount() argument
770 UnrollCostEstimator UCE(*L, LoopSize); in computeUnrollCount()
872 computePeelCount(L, LoopSize, PP, TripCount, SE, UP.Threshold); in computeUnrollCount()
[all …]
H A DLoopDataPrefetch.cpp300 unsigned LoopSize = Metrics.NumInsts; in runOnLoop() local
301 if (!LoopSize) in runOnLoop()
302 LoopSize = 1; in runOnLoop()
304 unsigned ItersAhead = getPrefetchDistance() / LoopSize; in runOnLoop()
370 << " iterations ahead (loop size: " << LoopSize << ") in " in runOnLoop()
H A DLoopUnrollAndJamPass.cpp149 getUnrollAndJammedLoopSize(unsigned LoopSize, in getUnrollAndJammedLoopSize() argument
151 assert(LoopSize >= UP.BEInsns && "LoopSize should not be less than BEInsns!"); in getUnrollAndJammedLoopSize()
152 return static_cast<uint64_t>(LoopSize - UP.BEInsns) * UP.Count + UP.BEInsns; in getUnrollAndJammedLoopSize()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
H A DLoopPeel.h33 void computePeelCount(Loop *L, unsigned LoopSize,
H A DUnrollLoop.h112 unsigned &TripMultiple, unsigned LoopSize,
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/
H A DStabs.cc883 size_t LoopSize = (size_t) data->d_size, len; in check_Loop() local
889 while ((LoopSize > 0) && !get_src && in check_Loop()
899 LoopSize -= len; in check_Loop()
904 LoopSize -= len; in check_Loop()
911 LoopSize -= len; in check_Loop()
943 LoopSize -= len; in check_Loop()
974 LoopSize -= len; in check_Loop()
994 LoopSize -= 24; in check_Loop()
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A DStabs.cc882 size_t LoopSize = (size_t) data->d_size, len; in check_Loop() local
888 while ((LoopSize > 0) && !get_src && in check_Loop()
898 LoopSize -= len; in check_Loop()
903 LoopSize -= len; in check_Loop()
910 LoopSize -= len; in check_Loop()
942 LoopSize -= len; in check_Loop()
973 LoopSize -= len; in check_Loop()
993 LoopSize -= 24; in check_Loop()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.cpp3213 int64_t LoopSize = Size; in emitLoop() local
3217 LoopSize -= LoopSize % 32; in emitLoop()
3223 .addImm(LoopSize) in emitLoop()
3231 if (LoopSize < Size) { in emitLoop()
3233 assert(Size - LoopSize == 16); in emitLoop()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp11930 unsigned LoopSize = 0; in getPrefLoopAlignment() local
11935 LoopSize += MBB->getAlignment().value() / 2; in getPrefLoopAlignment()
11938 LoopSize += TII->getInstSizeInBytes(MI); in getPrefLoopAlignment()
11939 if (LoopSize > 192) in getPrefLoopAlignment()
11944 if (LoopSize <= 64) in getPrefLoopAlignment()
11947 if (LoopSize <= 128) in getPrefLoopAlignment()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp10771 unsigned LoopSize = SizeVal - BytesLeft; in EmitStructByval() local
10779 for (unsigned i = 0; i < LoopSize; i+=UnitSize) { in EmitStructByval()
10843 if ((LoopSize & 0xFFFF0000) != 0) in EmitStructByval()
10846 .addImm(LoopSize & 0xFFFF) in EmitStructByval()
10849 if ((LoopSize & 0xFFFF0000) != 0) in EmitStructByval()
10852 .addImm(LoopSize >> 16) in EmitStructByval()
10857 const Constant *C = ConstantInt::get(Int32Ty, LoopSize); in EmitStructByval()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp15494 uint64_t LoopSize = 0; in getPrefLoopAlignment() local
15497 LoopSize += TII->getInstSizeInBytes(*J); in getPrefLoopAlignment()
15498 if (LoopSize > 32) in getPrefLoopAlignment()
15502 if (LoopSize > 16 && LoopSize <= 32) in getPrefLoopAlignment()