LLVM  4.0.0
Macros | Functions | Variables
LoopInstSimplify.cpp File Reference
#include "llvm/Transforms/Scalar/LoopInstSimplify.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/AssumptionCache.h"
#include "llvm/Analysis/InstructionSimplify.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/LoopPass.h"
#include "llvm/Analysis/ScalarEvolution.h"
#include "llvm/Analysis/TargetLibraryInfo.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Instructions.h"
#include "llvm/Support/Debug.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Scalar/LoopPassManager.h"
#include "llvm/Transforms/Utils/Local.h"
#include "llvm/Transforms/Utils/LoopUtils.h"
Include dependency graph for LoopInstSimplify.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "loop-instsimplify"
 

Functions

 STATISTIC (NumSimplified,"Number of redundant instructions simplified")
 
static bool SimplifyLoopInst (Loop *L, DominatorTree *DT, LoopInfo *LI, AssumptionCache *AC, const TargetLibraryInfo *TLI)
 
 INITIALIZE_PASS_BEGIN (LoopInstSimplifyLegacyPass,"loop-instsimplify","Simplify instructions in loops", false, false) INITIALIZE_PASS_END(LoopInstSimplifyLegacyPass
 

Variables

loop instsimplify
 
loop Simplify instructions in loops
 
loop Simplify instructions in false
 

Macro Definition Documentation

#define DEBUG_TYPE   "loop-instsimplify"

Definition at line 33 of file LoopInstSimplify.cpp.

Function Documentation

INITIALIZE_PASS_BEGIN ( LoopInstSimplifyLegacyPass  ,
"loop-instsimplify ,
"Simplify instructions in loops ,
false  ,
false   
)
static bool SimplifyLoopInst ( Loop L,
DominatorTree DT,
LoopInfo LI,
AssumptionCache AC,
const TargetLibraryInfo TLI 
)
static
STATISTIC ( NumSimplified  ,
"Number of redundant instructions simplified"   
)

Variable Documentation

loop Simplify instructions in false

Definition at line 201 of file LoopInstSimplify.cpp.

loop instsimplify

Definition at line 201 of file LoopInstSimplify.cpp.

loop Simplify instructions in loops

Definition at line 201 of file LoopInstSimplify.cpp.