LLVM API Documentation

ConstantMerge.cpp File Reference

#include "llvm/Transforms/IPO.h"
#include "llvm/Module.h"
#include "llvm/Pass.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Support/Compiler.h"
#include <map>

Include dependency graph for ConstantMerge.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "constmerge"

Functions

 STATISTIC (NumMerged,"Number of global constants merged")
ModulePassllvm::createConstantMergePass ()

Variables

static RegisterPass
< ConstantMerge > 
X ("constmerge","Merge Duplicate Global Constants")


Define Documentation

#define DEBUG_TYPE   "constmerge"

Definition at line 20 of file ConstantMerge.cpp.


Function Documentation

STATISTIC ( NumMerged  ,
"Number of global constants merged"   
)


Variable Documentation

char ID [static]

Definition at line 33 of file ConstantMerge.cpp.

RegisterPass<ConstantMerge> X("constmerge","Merge Duplicate Global Constants") [static]




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