LLVM  12.0.0git
Public Attributes | List of all members
llvm::TargetTransformInfo::PeelingPreferences Struct Reference

#include "llvm/Analysis/TargetTransformInfo.h"

Collaboration diagram for llvm::TargetTransformInfo::PeelingPreferences:
Collaboration graph
[legend]

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). More...
 
bool AllowPeeling
 Allow peeling off loop iterations. More...
 
bool AllowLoopNestsPeeling
 Allow peeling off loop iterations for loop nests. More...
 
bool PeelProfiledIterations
 Allow peeling basing on profile. More...
 

Detailed Description

Definition at line 524 of file TargetTransformInfo.h.

Member Data Documentation

◆ AllowLoopNestsPeeling

bool llvm::TargetTransformInfo::PeelingPreferences::AllowLoopNestsPeeling

Allow peeling off loop iterations for loop nests.

Definition at line 532 of file TargetTransformInfo.h.

Referenced by llvm::computePeelCount(), llvm::gatherPeelingPreferences(), and llvm::BasicTTIImplBase< AMDGPUTTIImpl >::getPeelingPreferences().

◆ AllowPeeling

bool llvm::TargetTransformInfo::PeelingPreferences::AllowPeeling

◆ PeelCount

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 528 of file TargetTransformInfo.h.

Referenced by llvm::computePeelCount(), llvm::computeUnrollCount(), llvm::gatherPeelingPreferences(), llvm::HexagonTTIImpl::getPeelingPreferences(), llvm::BasicTTIImplBase< AMDGPUTTIImpl >::getPeelingPreferences(), and tryToUnrollLoop().

◆ PeelProfiledIterations

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 537 of file TargetTransformInfo.h.

Referenced by llvm::computePeelCount(), llvm::gatherPeelingPreferences(), llvm::BasicTTIImplBase< AMDGPUTTIImpl >::getPeelingPreferences(), and tryToUnrollLoop().


The documentation for this struct was generated from the following file: