aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms/Scalar/GCSE.h
blob: f3b005f3387a7620e731f63f2da671ff1b33cc11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//===-- GCSE.h - SSA based Global Common Subexpr Elimination -----*- C++ -*--=//
//
// This pass is designed to be a very quick global transformation that
// eliminates global common subexpressions from a function.  It does this by
// examining the SSA value graph of the function, instead of doing slow
// bit-vector computations.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_TRANSFORMS_SCALAR_GCSE_H
#define LLVM_TRANSFORMS_SCALAR_GCSE_H

class Pass;
Pass *createGCSEPass();

#endif