LLVM API Documentation

IPConstantPropagation.cpp File Reference

#include "llvm/Transforms/IPO.h"
#include "llvm/Constants.h"
#include "llvm/Instructions.h"
#include "llvm/Module.h"
#include "llvm/Pass.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/Support/CallSite.h"
#include "llvm/Support/Compiler.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/SmallVector.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")
ModulePassllvm::createIPConstantPropagationPass ()

Variables

static RegisterPass< IPCP > X ("ipconstprop","Interprocedural constant propagation")


Define Documentation

#define DEBUG_TYPE   "ipconstprop"

Definition at line 18 of file IPConstantPropagation.cpp.


Function Documentation

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

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


Variable Documentation

char ID [static]

Definition at line 38 of file IPConstantPropagation.cpp.

RegisterPass<IPCP> X("ipconstprop","Interprocedural constant propagation") [static]




This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.