LLVM API Documentation

DeadStoreElimination.cpp File Reference

#include "llvm/Transforms/Scalar.h"
#include "llvm/Constants.h"
#include "llvm/Function.h"
#include "llvm/Instructions.h"
#include "llvm/IntrinsicInst.h"
#include "llvm/Pass.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/Analysis/Dominators.h"
#include "llvm/Analysis/MemoryDependenceAnalysis.h"
#include "llvm/Target/TargetData.h"
#include "llvm/Transforms/Utils/Local.h"
#include "llvm/Support/Compiler.h"

Include dependency graph for DeadStoreElimination.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "dse"

Functions

 STATISTIC (NumFastStores,"Number of stores deleted")
 STATISTIC (NumFastOther,"Number of other instrs removed")
FunctionPassllvm::createDeadStoreEliminationPass ()

Variables

static RegisterPass< DSE > X ("dse","Dead Store Elimination")


Define Documentation

#define DEBUG_TYPE   "dse"

Definition at line 18 of file DeadStoreElimination.cpp.


Function Documentation

STATISTIC ( NumFastOther  ,
"Number of other instrs removed"   
)

STATISTIC ( NumFastStores  ,
"Number of stores deleted"   
)


Variable Documentation

char ID [static]

Definition at line 40 of file DeadStoreElimination.cpp.

RegisterPass<DSE> X("dse","Dead Store Elimination") [static]




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