Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp677 InstructionCost LoopSize = Metrics.NumInsts; in ApproximateLoopSize() local
685 if (LoopSize.isValid() && LoopSize < BEInsns + 1) in ApproximateLoopSize()
687 LoopSize = BEInsns + 1; in ApproximateLoopSize()
689 return LoopSize; in ApproximateLoopSize()
754 const unsigned LoopSize; member in UnrollCostEstimator
757 UnrollCostEstimator(Loop &L, unsigned LoopSize) : LoopSize(LoopSize) {} in UnrollCostEstimator() argument
764 assert(LoopSize >= UP.BEInsns && in getUnrolledLoopSize()
853 (LoopSize - UP.BEInsns); in shouldPartialUnroll()
898 UnrollCostEstimator UCE(*L, LoopSize); in computeUnrollCount()
1208 unsigned LoopSize = *LoopSizeIC.getValue(); in tryToUnrollLoop() local
[all …]
H A DLoopDataPrefetch.cpp308 unsigned LoopSize = *Metrics.NumInsts.getValue(); in runOnLoop() local
309 if (!LoopSize) in runOnLoop()
310 LoopSize = 1; in runOnLoop()
312 unsigned ItersAhead = getPrefetchDistance() / LoopSize; in runOnLoop()
378 << " iterations ahead (loop size: " << LoopSize << ") in " in runOnLoop()
H A DLoopUnrollAndJamPass.cpp147 getUnrollAndJammedLoopSize(unsigned LoopSize, in getUnrollAndJammedLoopSize() argument
149 assert(LoopSize >= UP.BEInsns && "LoopSize should not be less than BEInsns!"); in getUnrollAndJammedLoopSize()
150 return static_cast<uint64_t>(LoopSize - UP.BEInsns) * UP.Count + UP.BEInsns; in getUnrollAndJammedLoopSize()
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp472 void llvm::computePeelCount(Loop *L, unsigned LoopSize, in computePeelCount() argument
477 assert(LoopSize > 0 && "Zero loop size is not allowed!"); in computePeelCount()
506 if (2 * LoopSize > Threshold) in computePeelCount()
518 MaxPeelCount = std::min(MaxPeelCount, Threshold / LoopSize - 1); in computePeelCount()
588 LLVM_DEBUG(dbgs() << "Loop cost: " << LoopSize << "\n"); in computePeelCount()
591 << (Threshold / LoopSize - 1) << "\n"); in computePeelCount()
/openbsd/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DLoopPeel.h37 void computePeelCount(Loop *L, unsigned LoopSize,
H A DUnrollLoop.h108 unsigned TripMultiple, unsigned LoopSize,
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.cpp3480 int64_t LoopSize = Size; in emitLoop() local
3484 LoopSize -= LoopSize % 32; in emitLoop()
3490 .addImm(LoopSize) in emitLoop()
3498 if (LoopSize < Size) { in emitLoop()
3500 assert(Size - LoopSize == 16); in emitLoop()
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp12699 unsigned LoopSize = 0; in getPrefLoopAlignment() local
12704 LoopSize += MBB->getAlignment().value() / 2; in getPrefLoopAlignment()
12707 LoopSize += TII->getInstSizeInBytes(MI); in getPrefLoopAlignment()
12708 if (LoopSize > 192) in getPrefLoopAlignment()
12713 if (LoopSize <= 64) in getPrefLoopAlignment()
12716 if (LoopSize <= 128) in getPrefLoopAlignment()
/openbsd/gnu/llvm/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp3307 unsigned LoopSize = *LoopSizeIC.getValue(); in computeHeuristicUnrollFactor() local
3318 MaxTripCount, MaxOrZero, TripMultiple, LoopSize, UP, PP, in computeHeuristicUnrollFactor()
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp11350 unsigned LoopSize = SizeVal - BytesLeft; in EmitStructByval() local
11358 for (unsigned i = 0; i < LoopSize; i+=UnitSize) { in EmitStructByval()
11422 if ((LoopSize & 0xFFFF0000) != 0) in EmitStructByval()
11425 .addImm(LoopSize & 0xFFFF) in EmitStructByval()
11428 if ((LoopSize & 0xFFFF0000) != 0) in EmitStructByval()
11431 .addImm(LoopSize >> 16) in EmitStructByval()
11436 const Constant *C = ConstantInt::get(Int32Ty, LoopSize); in EmitStructByval()
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp16139 uint64_t LoopSize = 0; in getPrefLoopAlignment() local
16142 LoopSize += TII->getInstSizeInBytes(J); in getPrefLoopAlignment()
16143 if (LoopSize > 32) in getPrefLoopAlignment()
16147 if (LoopSize > 16 && LoopSize <= 32) in getPrefLoopAlignment()