LLVM 20.0.0git
|
#include "llvm/Analysis/TargetTransformInfo.h"
Public Attributes | |
unsigned | PeelCount |
A forced peeling factor (the number of bodied of the original loop that should be peeled off before the loop body). | |
bool | AllowPeeling |
Allow peeling off loop iterations. | |
bool | AllowLoopNestsPeeling |
Allow peeling off loop iterations for loop nests. | |
bool | PeelProfiledIterations |
Allow peeling basing on profile. | |
Definition at line 652 of file TargetTransformInfo.h.
bool llvm::TargetTransformInfo::PeelingPreferences::AllowLoopNestsPeeling |
Allow peeling off loop iterations for loop nests.
Definition at line 660 of file TargetTransformInfo.h.
Referenced by llvm::computePeelCount(), llvm::gatherPeelingPreferences(), and llvm::BasicTTIImplBase< T >::getPeelingPreferences().
bool llvm::TargetTransformInfo::PeelingPreferences::AllowPeeling |
Allow peeling off loop iterations.
Definition at line 658 of file TargetTransformInfo.h.
Referenced by llvm::computePeelCount(), llvm::gatherPeelingPreferences(), and llvm::BasicTTIImplBase< T >::getPeelingPreferences().
unsigned llvm::TargetTransformInfo::PeelingPreferences::PeelCount |
A forced peeling factor (the number of bodied of the original loop that should be peeled off before the loop body).
When set to 0, the a peeling factor based on profile information and other factors.
Definition at line 656 of file TargetTransformInfo.h.
Referenced by llvm::computePeelCount(), llvm::computeUnrollCount(), llvm::gatherPeelingPreferences(), llvm::BasicTTIImplBase< T >::getPeelingPreferences(), llvm::HexagonTTIImpl::getPeelingPreferences(), and tryToUnrollLoop().
bool llvm::TargetTransformInfo::PeelingPreferences::PeelProfiledIterations |
Allow peeling basing on profile.
Uses to enable peeling off all iterations basing on provided profile. If the value is true the peeling cost model can decide to peel only some iterations and in this case it will set this to false.
Definition at line 665 of file TargetTransformInfo.h.
Referenced by llvm::computePeelCount(), llvm::gatherPeelingPreferences(), llvm::BasicTTIImplBase< T >::getPeelingPreferences(), and tryToUnrollLoop().