LLVM  4.0.0
Classes | Namespaces | Macros | Typedefs | Functions | Variables
EarlyCSE.cpp File Reference
#include "llvm/Transforms/Scalar/EarlyCSE.h"
#include "llvm/ADT/Hashing.h"
#include "llvm/ADT/ScopedHashTable.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/AssumptionCache.h"
#include "llvm/Analysis/GlobalsModRef.h"
#include "llvm/Analysis/InstructionSimplify.h"
#include "llvm/Analysis/TargetLibraryInfo.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/PatternMatch.h"
#include "llvm/Pass.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/RecyclingAllocator.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils/Local.h"
#include "llvm/Transforms/Utils/MemorySSA.h"
#include <deque>
Include dependency graph for EarlyCSE.cpp:

Go to the source code of this file.

Classes

struct  llvm::DenseMapInfo< SimpleValue >
 
struct  llvm::DenseMapInfo< CallValue >
 

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

Macros

#define DEBUG_TYPE   "early-cse"
 

Typedefs

using EarlyCSELegacyPass = EarlyCSELegacyCommonPass< false >
 

Functions

 STATISTIC (NumSimplify,"Number of instructions simplified or DCE'd")
 
 STATISTIC (NumCSE,"Number of instructions CSE'd")
 
 STATISTIC (NumCSECVP,"Number of compare instructions CVP'd")
 
 STATISTIC (NumCSELoad,"Number of load instructions CSE'd")
 
 STATISTIC (NumCSECall,"Number of call instructions CSE'd")
 
 STATISTIC (NumDSE,"Number of trivial dead stores removed")
 
 INITIALIZE_PASS_BEGIN (EarlyCSELegacyPass,"early-cse","Early CSE", false, false) using EarlyCSEMemSSALegacyPass
 
 INITIALIZE_PASS_BEGIN (EarlyCSEMemSSALegacyPass,"early-cse-memssa","Early CSE w/ MemorySSA", false, false) INITIALIZE_PASS_END(EarlyCSEMemSSALegacyPass
 

Variables

early cse memssa
 
early cse Early CSEMemorySSA
 
early cse Early CSEfalse
 

Macro Definition Documentation

#define DEBUG_TYPE   "early-cse"

Definition at line 40 of file EarlyCSE.cpp.

Typedef Documentation

using EarlyCSELegacyPass = EarlyCSELegacyCommonPass<false>

Definition at line 1031 of file EarlyCSE.cpp.

Function Documentation

INITIALIZE_PASS_BEGIN ( EarlyCSELegacyPass  ,
"early-cse ,
"Early CSE ,
false  ,
false   
)
INITIALIZE_PASS_BEGIN ( EarlyCSEMemSSALegacyPass  ,
"early-cse-memssa ,
"Early CSE w/ MemorySSA ,
false  ,
false   
)
STATISTIC ( NumSimplify  ,
"Number of instructions simplified or DCE'd"   
)
STATISTIC ( NumCSE  ,
"Number of instructions CSE'd"   
)
STATISTIC ( NumCSECVP  ,
"Number of compare instructions CVP'd"   
)
STATISTIC ( NumCSELoad  ,
"Number of load instructions CSE'd"   
)
STATISTIC ( NumCSECall  ,
"Number of call instructions CSE'd"   
)
STATISTIC ( NumDSE  ,
"Number of trivial dead stores removed"   
)

Variable Documentation

early cse Early CSE w false

Definition at line 1064 of file EarlyCSE.cpp.

early cse Early CSE w MemorySSA

Definition at line 1064 of file EarlyCSE.cpp.

Referenced by llvm::MemorySSAWrapperPass::runOnFunction().

early cse memssa

Definition at line 1064 of file EarlyCSE.cpp.