Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp652 unsigned LoopSize = Metrics.NumInsts; in ApproximateLoopSize() local
660 LoopSize = std::max(LoopSize, BEInsns + 1); in ApproximateLoopSize()
662 return LoopSize; in ApproximateLoopSize()
724 unsigned LoopSize, in getUnrolledLoopSize() argument
726 assert(LoopSize >= UP.BEInsns && "LoopSize should not be less than BEInsns!"); in getUnrolledLoopSize()
727 return (uint64_t)(LoopSize - UP.BEInsns) * UP.Count + UP.BEInsns; in getUnrolledLoopSize()
742 bool MaxOrZero, unsigned &TripMultiple, unsigned LoopSize, in computeUnrollCount() argument
752 if (UP.AllowRemainder && getUnrolledLoopSize(LoopSize, UP) < UP.Threshold) in computeUnrollCount()
764 getUnrolledLoopSize(LoopSize, UP) < PragmaUnrollThreshold) in computeUnrollCount()
770 if (getUnrolledLoopSize(LoopSize, UP) < PragmaUnrollThreshold) in computeUnrollCount()
[all …]
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()
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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUnrollPeel.cpp281 void llvm::computePeelCount(Loop *L, unsigned LoopSize, in computePeelCount() argument
284 assert(LoopSize > 0 && "Zero loop size is not allowed!"); in computePeelCount()
323 if (2 * LoopSize <= UP.Threshold && UnrollPeelMaxCount > 0) { in computePeelCount()
343 MaxPeelCount = std::min(MaxPeelCount, UP.Threshold / LoopSize - 1); in computePeelCount()
386 (LoopSize * (*PeelCount + 1) <= UP.Threshold)) { in computePeelCount()
395 LLVM_DEBUG(dbgs() << "Peel cost: " << LoopSize * (*PeelCount + 1) in computePeelCount()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DUnrollLoop.h94 void computePeelCount(Loop *L, unsigned LoopSize,
118 unsigned &TripMultiple, unsigned LoopSize,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp10816 unsigned LoopSize = 0; in getPrefLoopAlignment() local
10821 LoopSize += MBB->getAlignment().value() / 2; in getPrefLoopAlignment()
10824 LoopSize += TII->getInstSizeInBytes(MI); in getPrefLoopAlignment()
10825 if (LoopSize > 192) in getPrefLoopAlignment()
10830 if (LoopSize <= 64) in getPrefLoopAlignment()
10833 if (LoopSize <= 128) in getPrefLoopAlignment()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp10203 unsigned LoopSize = SizeVal - BytesLeft; in EmitStructByval() local
10211 for (unsigned i = 0; i < LoopSize; i+=UnitSize) { in EmitStructByval()
10275 if ((LoopSize & 0xFFFF0000) != 0) in EmitStructByval()
10278 .addImm(LoopSize & 0xFFFF) in EmitStructByval()
10281 if ((LoopSize & 0xFFFF0000) != 0) in EmitStructByval()
10284 .addImm(LoopSize >> 16) in EmitStructByval()
10289 const Constant *C = ConstantInt::get(Int32Ty, LoopSize); in EmitStructByval()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp14512 uint64_t LoopSize = 0; in getPrefLoopAlignment() local
14515 LoopSize += TII->getInstSizeInBytes(*J); in getPrefLoopAlignment()
14516 if (LoopSize > 32) in getPrefLoopAlignment()
14520 if (LoopSize > 16 && LoopSize <= 32) in getPrefLoopAlignment()