LLVM API Documentation
#include "llvm/Transforms/Scalar.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/STLExtras.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/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"
Go to the source code of this file.
Macros | |
#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< unsigned > | MaxInc ("max-reroll-increment", cl::init(2048), cl::Hidden, cl::desc("The maximum increment for loop rerolling")) |
#define DEBUG_TYPE "loop-reroll" |
Definition at line 14 of file LoopRerollPass.cpp.
|
static |
Definition at line 355 of file LoopRerollPass.cpp.
References llvm::LoopBase< N, M >::contains(), llvm::Value::use_begin(), and llvm::Value::use_end().
|
static |
Definition at line 523 of file LoopRerollPass.cpp.
References LI, and llvm::A64CC::MI.
STATISTIC | ( | NumRerolledLoops | , |
"Number of rerolled loops" | |||
) |