summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-09-07 17:38:10 +0000
committerChris Lattner <sabre@nondot.org>2001-09-07 17:38:10 +0000
commit2833dd3fed0cb3ca48a7fbd77408a84418d2552e (patch)
treedf2bfee5a3e74892db83b9e68b4d7bf8b36fa249
parent23fcc08d38389bbc73b7d0ceac5bf4a6b6b79883 (diff)
downloadbcm5719-llvm-2833dd3fed0cb3ca48a7fbd77408a84418d2552e.tar.gz
bcm5719-llvm-2833dd3fed0cb3ca48a7fbd77408a84418d2552e.zip
Follow the golden rule of the coding standards guide: Make the code look
like the rest of the system. llvm-svn: 476
-rw-r--r--llvm/include/llvm/Optimizations/Normalize.h39
1 files changed, 11 insertions, 28 deletions
diff --git a/llvm/include/llvm/Optimizations/Normalize.h b/llvm/include/llvm/Optimizations/Normalize.h
index bc3ade2125e..3a55d9d79f8 100644
--- a/llvm/include/llvm/Optimizations/Normalize.h
+++ b/llvm/include/llvm/Optimizations/Normalize.h
@@ -1,36 +1,19 @@
-// $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
-//**************************************************************************/
+//===-- Normalize.h - Functions that normalize code for the BE ---*- C++ -*--=//
+//
+// This file defines a family of transformations to normalize LLVM code for the
+// code generation passes, so that the back end doesn't have to worry about
+// annoying details.
+//
+//===----------------------------------------------------------------------===//
#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);
-
-
-//**************************************************************************/
+// NormalizePhiConstantArgs - Insert loads of constants that are arguments to
+// PHI in the appropriate predecessor basic block.
+//
+void NormalizePhiConstantArgs(Method *M);
#endif LLVM_OPT_NORMALIZE_H
OpenPOWER on IntegriCloud