Initial checkin of simple&fast SSA based GCSE algorithm
[oota-llvm.git] / include / llvm / Transforms / Scalar / GCSE.h
1 //===-- GCSE.h - SSA based Global Common Subexpr Elimination -----*- C++ -*--=//
2 //
3 // This pass is designed to be a very quick global transformation that
4 // eliminates global common subexpressions from a function.  It does this by
5 // examining the SSA value graph of the function, instead of doing slow
6 // bit-vector computations.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef LLVM_TRANSFORMS_SCALAR_GCSE_H
11 #define LLVM_TRANSFORMS_SCALAR_GCSE_H
12
13 class Pass;
14 Pass *createGCSEPass();
15
16 #endif