LLVM API Documentation

Defines | Functions
IPConstantPropagation.cpp File Reference
#include "llvm/Transforms/IPO.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/IR/CallSite.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Module.h"
#include "llvm/Pass.h"
Include dependency graph for IPConstantPropagation.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "ipconstprop"

Functions

 STATISTIC (NumArgumentsProped,"Number of args turned into constants")
 STATISTIC (NumReturnValProped,"Number of return values turned into constants")
 INITIALIZE_PASS (IPCP,"ipconstprop","Interprocedural constant propagation", false, false) ModulePass *llvm

Define Documentation

#define DEBUG_TYPE   "ipconstprop"

Definition at line 29 of file IPConstantPropagation.cpp.


Function Documentation

INITIALIZE_PASS ( IPCP  ,
"ipconstprop"  ,
"Interprocedural constant propagation ,
false  ,
false   
)

Definition at line 51 of file IPConstantPropagation.cpp.

STATISTIC ( NumArgumentsProped  ,
"Number of args turned into constants"   
)
STATISTIC ( NumReturnValProped  ,
"Number of return values turned into constants"   
)