Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopDataPrefetch.cpp307 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 DLoopUnrollPass.cpp693 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 DLoopUnrollAndJamPass.cpp142 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 DUnrollLoop.h133 InstructionCost LoopSize; variable
148 uint64_t getRolledLoopSize() const { return LoopSize.getValue(); } in getRolledLoopSize()
H A DLoopPeel.h44 void computePeelCount(Loop *L, unsigned LoopSize,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp604 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 DAArch64FrameLowering.cpp4936 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 DAMDGPUIGroupLP.cpp1713 unsigned LoopSize = std::min(ExpLoopCount, MFMALoopCount); in applyIGLPStrategy() local
1715 for (unsigned I = 0; I < LoopSize; I++) { in applyIGLPStrategy()
H A DSIISelLowering.cpp16973 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 DPPCISelLowering.cpp17595 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 DARMISelLowering.cpp11575 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()