LLVM API Documentation

Defines | Functions | Variables
LoopRerollPass.cpp File Reference
#include "llvm/Transforms/Scalar.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/Analysis/AliasSetTracker.h"
#include "llvm/Analysis/LoopPass.h"
#include "llvm/Analysis/ScalarEvolution.h"
#include "llvm/Analysis/ScalarEvolutionExpander.h"
#include "llvm/Analysis/ScalarEvolutionExpressions.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetLibraryInfo.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "llvm/Transforms/Utils/Local.h"
#include "llvm/Transforms/Utils/LoopUtils.h"
Include dependency graph for LoopRerollPass.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "loop-reroll"

Functions

 STATISTIC (NumRerolledLoops,"Number of rerolled loops")
static bool hasUsesOutsideLoop (Instruction *I, Loop *L)
static bool isSimpleLoadStore (Instruction *I)

Variables

static cl::opt< unsignedMaxInc ("max-reroll-increment", cl::init(2048), cl::Hidden, cl::desc("The maximum increment for loop rerolling"))

Define Documentation

#define DEBUG_TYPE   "loop-reroll"

Definition at line 38 of file LoopRerollPass.cpp.


Function Documentation

static bool hasUsesOutsideLoop ( Instruction I,
Loop L 
) [static]
static bool isSimpleLoadStore ( Instruction I) [static]

Definition at line 519 of file LoopRerollPass.cpp.

References LI, and llvm::AArch64CC::MI.

STATISTIC ( NumRerolledLoops  ,
"Number of rerolled loops  
)

Variable Documentation

cl::opt<unsigned> MaxInc("max-reroll-increment", cl::init(2048), cl::Hidden, cl::desc("The maximum increment for loop rerolling")) [static]