LLVM API Documentation

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 ()

Variables

Statistic NumInstRemoved ("gcse","Number of instructions removed")
Statistic NumLoadRemoved ("gcse","Number of loads removed")
Statistic NumCallRemoved ("gcse","Number of calls removed")
Statistic NumNonInsts ("gcse","Number of instructions removed due ""to non-instruction values")
Statistic NumArgsRepl ("gcse","Number of function arguments replaced ""with constant values")
RegisterOpt< GCSE > X ("gcse","Global Common Subexpression Elimination")


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]