LLVM: lib/Transforms/Scalar/LoopDistribute.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define LDIST_NAME "loop-distribute"
#define DEBUG_TYPE LDIST_NAME
Variables
static cl::opt< bool > LDistVerify ("loop-distribute-verify", cl::Hidden, cl::desc("Turn on DominatorTree and LoopInfo verification " "after Loop Distribution"), cl::init(false))
static cl::opt< bool > DistributeNonIfConvertible ("loop-distribute-non-if-convertible", cl::Hidden, cl::desc("Whether to distribute into a loop that may not be " "if-convertible by the loop vectorizer"), cl::init(false))
static cl::opt< unsigned > DistributeSCEVCheckThreshold ("loop-distribute-scev-check-threshold", cl::init(8), cl::Hidden, cl::desc("The maximum number of SCEV checks allowed for Loop " "Distribution"))
static cl::opt< unsigned > PragmaDistributeSCEVCheckThreshold ("loop-distribute-scev-check-threshold-with-pragma", cl::init(128), cl::Hidden, cl::desc("The maximum number of SCEV checks allowed for Loop " "Distribution for loop marked with #pragma clang loop " "distribute(enable)"))
static cl::opt< bool > EnableLoopDistribute ("enable-loop-distribute", cl::Hidden, cl::desc("Enable the new, experimental LoopDistribution Pass"), cl::init(false))
static const char * DistributedMetaData = "llvm.loop.isdistributed"
static const char *const LLVMLoopDistributeFollowupAll
static const char *const LLVMLoopDistributeFollowupCoincident
static const char *const LLVMLoopDistributeFollowupSequential
static const char *const LLVMLoopDistributeFollowupFallback

DEBUG_TYPE

#define DEBUG_TYPE LDIST_NAME

LDIST_NAME

#define LDIST_NAME "loop-distribute"

runImpl()

STATISTIC()

STATISTIC ( NumLoopsDistributed ,
"Number of loops distributed" )

References I.

DistributedMetaData

const char* DistributedMetaData = "llvm.loop.isdistributed" static

DistributeNonIfConvertible

cl::opt< bool > DistributeNonIfConvertible("loop-distribute-non-if-convertible", cl::Hidden, cl::desc("Whether to distribute into a loop that may not be " "if-convertible by the loop vectorizer"), cl::init(false)) ( "loop-distribute-non-if-convertible" , cl::Hidden , cl::desc("Whether to distribute into a loop that may not be " "if-convertible by the loop vectorizer") , cl::init(false) ) static

DistributeSCEVCheckThreshold

EnableLoopDistribute

cl::opt< bool > EnableLoopDistribute("enable-loop-distribute", cl::Hidden, cl::desc("Enable the new, experimental LoopDistribution Pass"), cl::init(false)) ( "enable-loop-distribute" , cl::Hidden , cl::desc("Enable the new, experimental LoopDistribution Pass") , cl::init(false) ) static

LDistVerify

LLVMLoopDistributeFollowupAll

LLVMLoopDistributeFollowupCoincident

Initial value:

=

"llvm.loop.distribute.followup_coincident"

Definition at line 78 of file LoopDistribute.cpp.

LLVMLoopDistributeFollowupFallback

Initial value:

=

"llvm.loop.distribute.followup_fallback"

Definition at line 82 of file LoopDistribute.cpp.

LLVMLoopDistributeFollowupSequential

Initial value:

=

"llvm.loop.distribute.followup_sequential"

Definition at line 80 of file LoopDistribute.cpp.

PragmaDistributeSCEVCheckThreshold

cl::opt< unsigned > PragmaDistributeSCEVCheckThreshold("loop-distribute-scev-check-threshold-with-pragma", cl::init(128), cl::Hidden, cl::desc("The maximum number of SCEV checks allowed for Loop " "Distribution for loop marked with #pragma clang loop " "distribute(enable)")) ( "loop-distribute-scev-check-threshold-with-pragma" , cl::init(128) , cl::Hidden , cl::desc("The maximum number of SCEV checks allowed for Loop " "Distribution for loop marked with #pragma clang loop " "distribute(enable)") ) static