Simplification transformations to normalize the code for later passes.
authorVikram S. Adve <vadve@cs.uiuc.edu>
Tue, 28 Aug 2001 21:40:27 +0000 (21:40 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Tue, 28 Aug 2001 21:40:27 +0000 (21:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@389 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Optimizations/Normalize.h [new file with mode: 0644]

diff --git a/include/llvm/Optimizations/Normalize.h b/include/llvm/Optimizations/Normalize.h
new file mode 100644 (file)
index 0000000..bc3ade2
--- /dev/null
@@ -0,0 +1,36 @@
+// $Id$ -*-c++-*-
+//***************************************************************************
+// File:
+//     Normalize.h
+// 
+// Purpose:
+//     Transformations to normalize LLVM code to simplify later passes:
+//     -- Insert loads of constants that are arguments to PHI
+//        in the appropriate predecessor basic block.
+//     
+// History:
+//     8/25/01  -  Vikram Adve  -  Created
+//**************************************************************************/
+
+#ifndef LLVM_OPT_NORMALIZE_H
+#define LLVM_OPT_NORMALIZE_H
+
+//************************** System Include Files ***************************/
+
+
+//*************************** User Include Files ***************************/
+
+
+//************************* Forward Declarations ***************************/
+
+class Method;
+
+//************************** External Functions ****************************/
+
+
+void   NormalizePhiConstantArgs        (Method* method);
+
+
+//**************************************************************************/
+
+#endif LLVM_OPT_NORMALIZE_H