LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions | Variables
CorrelatedValuePropagation.cpp File Reference
#include "llvm/Transforms/Scalar.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/InstructionSimplify.h"
#include "llvm/Analysis/LazyValueInfo.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include "llvm/Pass.h"
#include "llvm/Support/CFG.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Transforms/Utils/Local.h"
Include dependency graph for CorrelatedValuePropagation.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "correlated-value-propagation"
 

Functions

 STATISTIC (NumPhis,"Number of phis propagated")
 
 STATISTIC (NumSelects,"Number of selects propagated")
 
 STATISTIC (NumMemAccess,"Number of memory access targets propagated")
 
 STATISTIC (NumCmps,"Number of comparisons propagated")
 
 STATISTIC (NumDeadCases,"Number of switch cases removed")
 
 INITIALIZE_PASS_BEGIN (CorrelatedValuePropagation,"correlated-propagation","Value Propagation", false, false) INITIALIZE_PASS_END(CorrelatedValuePropagation
 

Variables

correlated propagation
 
correlated Value Propagation
 
correlated Value false
 

Macro Definition Documentation

#define DEBUG_TYPE   "correlated-value-propagation"

Definition at line 14 of file CorrelatedValuePropagation.cpp.

Function Documentation

INITIALIZE_PASS_BEGIN ( CorrelatedValuePropagation  ,
"correlated-propagation ,
"Value Propagation ,
false  ,
false   
)
STATISTIC ( NumPhis  ,
"Number of phis propagated"   
)
STATISTIC ( NumSelects  ,
"Number of selects propagated"   
)
STATISTIC ( NumMemAccess  ,
"Number of memory access targets propagated"   
)
STATISTIC ( NumCmps  ,
"Number of comparisons propagated"   
)
STATISTIC ( NumDeadCases  ,
"Number of switch cases removed"   
)

Variable Documentation

correlated Value false

Definition at line 63 of file CorrelatedValuePropagation.cpp.

correlated propagation

Definition at line 63 of file CorrelatedValuePropagation.cpp.

correlated Value Propagation

Definition at line 63 of file CorrelatedValuePropagation.cpp.