| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopDataPrefetch.cpp | 307 unsigned LoopSize = Metrics.NumInsts.getValue(); in runOnLoop() local 308 if (!LoopSize) in runOnLoop() 309 LoopSize = 1; in runOnLoop() 311 unsigned ItersAhead = getPrefetchDistance() / LoopSize; in runOnLoop() 377 << " iterations ahead (loop size: " << LoopSize << ") in " in runOnLoop()
|
| H A D | LoopUnrollPass.cpp | 693 LoopSize = Metrics.NumInsts; in UnrollCostEstimator() 704 if (LoopSize.isValid() && LoopSize < BEInsns + 1) in UnrollCostEstimator() 706 LoopSize = BEInsns + 1; in UnrollCostEstimator() 717 if (!LoopSize.isValid()) { in canUnroll() 731 unsigned LS = LoopSize.getValue(); in getUnrolledLoopSize() 868 shouldPartialUnroll(const unsigned LoopSize, const unsigned TripCount, in shouldPartialUnroll() argument 887 (LoopSize - UP.BEInsns); in shouldPartialUnroll() 932 unsigned LoopSize = UCE.getRolledLoopSize(); in computeUnrollCount() local 1016 computePeelCount(L, LoopSize, PP, TripCount, DT, SE, TTI, AC, UP.Threshold); in computeUnrollCount() 1030 if (auto UnrollFactor = shouldPartialUnroll(LoopSize, TripCount, UCE, UP)) { in computeUnrollCount() [all …]
|
| H A D | LoopUnrollAndJamPass.cpp | 142 getUnrollAndJammedLoopSize(unsigned LoopSize, in getUnrollAndJammedLoopSize() argument 144 assert(LoopSize >= UP.BEInsns && "LoopSize should not be less than BEInsns!"); in getUnrollAndJammedLoopSize() 145 return static_cast<uint64_t>(LoopSize - UP.BEInsns) * UP.Count + UP.BEInsns; in getUnrollAndJammedLoopSize()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | UnrollLoop.h | 133 InstructionCost LoopSize; variable 148 uint64_t getRolledLoopSize() const { return LoopSize.getValue(); } in getRolledLoopSize()
|
| H A D | LoopPeel.h | 44 void computePeelCount(Loop *L, unsigned LoopSize,
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LoopPeel.cpp | 604 void llvm::computePeelCount(Loop *L, unsigned LoopSize, in computePeelCount() argument 609 assert(LoopSize > 0 && "Zero loop size is not allowed!"); in computePeelCount() 639 if (2 * LoopSize > Threshold) in computePeelCount() 651 MaxPeelCount = std::min(MaxPeelCount, Threshold / LoopSize - 1); in computePeelCount() 738 LLVM_DEBUG(dbgs() << "Loop cost: " << LoopSize << "\n"); in computePeelCount() 741 << (Threshold / LoopSize - 1) << "\n"); in computePeelCount()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64FrameLowering.cpp | 4936 int64_t LoopSize = Size; in emitLoop() local 4940 LoopSize -= LoopSize % 32; in emitLoop() 4946 .addImm(LoopSize) in emitLoop() 4954 LLVM_DEBUG(dbgs() << "TagStoreEdit::emitLoop: LoopSize=" << LoopSize in emitLoop() 4960 if (LoopSize < Size) { in emitLoop() 4962 assert(Size - LoopSize == 16); in emitLoop()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUIGroupLP.cpp | 1713 unsigned LoopSize = std::min(ExpLoopCount, MFMALoopCount); in applyIGLPStrategy() local 1715 for (unsigned I = 0; I < LoopSize; I++) { in applyIGLPStrategy()
|
| H A D | SIISelLowering.cpp | 16973 unsigned LoopSize = 0; in getPrefLoopAlignment() local 16978 LoopSize += MBB->getAlignment().value() / 2; in getPrefLoopAlignment() 16981 LoopSize += TII->getInstSizeInBytes(MI); in getPrefLoopAlignment() 16982 if (LoopSize > 192) in getPrefLoopAlignment() 16987 if (LoopSize <= 64) in getPrefLoopAlignment() 16990 if (LoopSize <= 128) in getPrefLoopAlignment()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.cpp | 17595 uint64_t LoopSize = 0; in getPrefLoopAlignment() local 17598 LoopSize += TII->getInstSizeInBytes(J); in getPrefLoopAlignment() 17599 if (LoopSize > 32) in getPrefLoopAlignment() 17603 if (LoopSize > 16 && LoopSize <= 32) in getPrefLoopAlignment()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 11575 unsigned LoopSize = SizeVal - BytesLeft; in EmitStructByval() local 11583 for (unsigned i = 0; i < LoopSize; i+=UnitSize) { in EmitStructByval() 11653 .addImm(LoopSize); in EmitStructByval() 11656 BuildMI(BB, dl, TII->get(ARM::tMOVi32imm), varEnd).addImm(LoopSize); in EmitStructByval() 11660 const Constant *C = ConstantInt::get(Int32Ty, LoopSize); in EmitStructByval()
|