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/ |
D | LoopUnrollPass.cpp | 652 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 …]
|
D | LoopDataPrefetch.cpp | 236 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()
|
D | LoopUnrollAndJamPass.cpp | 146 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/ |
D | LoopUnrollPeel.cpp | 281 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/ |
D | UnrollLoop.h | 94 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/ |
D | SIISelLowering.cpp | 10816 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/ |
D | ARMISelLowering.cpp | 10203 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/ |
D | PPCISelLowering.cpp | 14512 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()
|