LLVM  4.0.0
Macros | Functions | Variables
LoopDistribute.cpp File Reference
#include "llvm/Transforms/Scalar/LoopDistribute.h"
#include "llvm/ADT/DepthFirstIterator.h"
#include "llvm/ADT/EquivalenceClasses.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/BlockFrequencyInfo.h"
#include "llvm/Analysis/GlobalsModRef.h"
#include "llvm/Analysis/LoopAccessAnalysis.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/OptimizationDiagnosticInfo.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/IR/Dominators.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Transforms/Scalar/LoopPassManager.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "llvm/Transforms/Utils/Cloning.h"
#include "llvm/Transforms/Utils/LoopUtils.h"
#include "llvm/Transforms/Utils/LoopVersioning.h"
#include <list>
Include dependency graph for LoopDistribute.cpp:

Go to the source code of this file.

Macros

#define LDIST_NAME   "loop-distribute"
 
#define DEBUG_TYPE   LDIST_NAME
 

Functions

 STATISTIC (NumLoopsDistributed,"Number of loops distributed")
 
 INITIALIZE_PASS_BEGIN (LoopDistributeLegacy, LDIST_NAME, ldist_name, false, false) namespace llvm
 

Variables

static cl::opt< boolLDistVerify ("loop-distribute-verify", cl::Hidden, cl::desc("Turn on DominatorTree and LoopInfo verification ""after Loop Distribution"), cl::init(false))
 
static cl::opt< boolDistributeNonIfConvertible ("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< unsignedDistributeSCEVCheckThreshold ("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< unsignedPragmaDistributeSCEVCheckThreshold ("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 loop distribute(enable)"))
 
static cl::opt< boolEnableLoopDistribute ("enable-loop-distribute", cl::Hidden, cl::desc("Enable the new, experimental LoopDistribution Pass"), cl::init(false))
 
static const char ldist_name [] = "Loop Distribution"
 

Macro Definition Documentation

#define DEBUG_TYPE   LDIST_NAME

Definition at line 48 of file LoopDistribute.cpp.

#define LDIST_NAME   "loop-distribute"

Definition at line 47 of file LoopDistribute.cpp.

Function Documentation

INITIALIZE_PASS_BEGIN ( LoopDistributeLegacy  ,
LDIST_NAME  ,
ldist_name  ,
false  ,
false   
)

Definition at line 976 of file LoopDistribute.cpp.

References llvm::createLoopDistributePass().

STATISTIC ( NumLoopsDistributed  ,
"Number of loops distributed"   
)

Variable Documentation

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<bool> EnableLoopDistribute("enable-loop-distribute", cl::Hidden, cl::desc("Enable the new, experimental LoopDistribution Pass"), cl::init(false))
static
const char ldist_name[] = "Loop Distribution"
static

Definition at line 974 of file LoopDistribute.cpp.

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<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 loop distribute(enable)"))
static