LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

GCSE.cpp File Reference

#include "llvm/Transforms/Scalar.h"
#include "llvm/BasicBlock.h"
#include "llvm/Constant.h"
#include "llvm/Instructions.h"
#include "llvm/Type.h"
#include "llvm/Analysis/Dominators.h"
#include "llvm/Analysis/ValueNumbering.h"
#include "llvm/Transforms/Utils/Local.h"
#include "llvm/ADT/DepthFirstIterator.h"
#include "llvm/ADT/Statistic.h"
#include <algorithm>

Include dependency graph for GCSE.cpp:

Go to the source code of this file.

Functions

FunctionPassllvm::createGCSEPass ()


Variable Documentation

Statistic NumArgsRepl("gcse","Number of function arguments replaced ""with constant values") [static]
 

Statistic NumCallRemoved("gcse","Number of calls removed") [static]
 

Statistic NumInstRemoved("gcse","Number of instructions removed") [static]
 

Statistic NumLoadRemoved("gcse","Number of loads removed") [static]
 

Statistic NumNonInsts("gcse","Number of instructions removed due ""to non-instruction values") [static]
 

RegisterOpt<GCSE> X("gcse","Global Common Subexpression Elimination") [static]