aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Optimizations/Normalize.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/include/llvm/Optimizations/Normalize.h b/include/llvm/Optimizations/Normalize.h
new file mode 100644
index 0000000000..bc3ade2125
--- /dev/null
+++ b/include/llvm/Optimizations/Normalize.h
@@ -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