From dfbaf73cf7f271e34f69d91f09abff8145c0c3e2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 7 Sep 2001 17:38:10 +0000 Subject: [PATCH] Follow the golden rule of the coding standards guide: Make the code look like the rest of the system. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@476 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Optimizations/Normalize.h | 39 ++++++++------------------ 1 file changed, 11 insertions(+), 28 deletions(-) diff --git a/include/llvm/Optimizations/Normalize.h b/include/llvm/Optimizations/Normalize.h index bc3ade2125e..3a55d9d79f8 100644 --- a/include/llvm/Optimizations/Normalize.h +++ b/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 -- 2.34.1