LLVM API Documentation
#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"
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< 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 38 of file LoopRerollPass.cpp.
static bool hasUsesOutsideLoop | ( | Instruction * | I, |
Loop * | L | ||
) | [static] |
Definition at line 357 of file LoopRerollPass.cpp.
References llvm::LoopBase< BlockT, LoopT >::contains(), and llvm::Value::users().
static bool isSimpleLoadStore | ( | Instruction * | I | ) | [static] |
Definition at line 519 of file LoopRerollPass.cpp.
References LI, and llvm::AArch64CC::MI.