Simplification transformations to normalize the code for later passes.
[oota-llvm.git] / include / llvm / Optimizations / Normalize.h
1 // $Id$ -*-c++-*-
2 //***************************************************************************
3 // File:
4 //      Normalize.h
5 // 
6 // Purpose:
7 //      Transformations to normalize LLVM code to simplify later passes:
8 //      -- Insert loads of constants that are arguments to PHI
9 //         in the appropriate predecessor basic block.
10 //      
11 // History:
12 //      8/25/01  -  Vikram Adve  -  Created
13 //**************************************************************************/
14
15 #ifndef LLVM_OPT_NORMALIZE_H
16 #define LLVM_OPT_NORMALIZE_H
17
18 //************************** System Include Files ***************************/
19
20
21 //*************************** User Include Files ***************************/
22
23
24 //************************* Forward Declarations ***************************/
25
26 class Method;
27
28 //************************** External Functions ****************************/
29
30
31 void    NormalizePhiConstantArgs        (Method* method);
32
33
34 //**************************************************************************/
35
36 #endif LLVM_OPT_NORMALIZE_H