forked from OSchip/llvm-project
Follow the golden rule of the coding standards guide: Make the code look
like the rest of the system. llvm-svn: 476
This commit is contained in:
parent
23fcc08d38
commit
2833dd3fed
|
@ -1,36 +1,19 @@
|
||||||
// $Id$ -*-c++-*-
|
//===-- Normalize.h - Functions that normalize code for the BE ---*- C++ -*--=//
|
||||||
//***************************************************************************
|
|
||||||
// File:
|
|
||||||
// Normalize.h
|
|
||||||
//
|
//
|
||||||
// Purpose:
|
// This file defines a family of transformations to normalize LLVM code for the
|
||||||
// Transformations to normalize LLVM code to simplify later passes:
|
// code generation passes, so that the back end doesn't have to worry about
|
||||||
// -- Insert loads of constants that are arguments to PHI
|
// annoying details.
|
||||||
// in the appropriate predecessor basic block.
|
|
||||||
//
|
//
|
||||||
// History:
|
//===----------------------------------------------------------------------===//
|
||||||
// 8/25/01 - Vikram Adve - Created
|
|
||||||
//**************************************************************************/
|
|
||||||
|
|
||||||
#ifndef LLVM_OPT_NORMALIZE_H
|
#ifndef LLVM_OPT_NORMALIZE_H
|
||||||
#define LLVM_OPT_NORMALIZE_H
|
#define LLVM_OPT_NORMALIZE_H
|
||||||
|
|
||||||
//************************** System Include Files ***************************/
|
|
||||||
|
|
||||||
|
|
||||||
//*************************** User Include Files ***************************/
|
|
||||||
|
|
||||||
|
|
||||||
//************************* Forward Declarations ***************************/
|
|
||||||
|
|
||||||
class Method;
|
class Method;
|
||||||
|
|
||||||
//************************** External Functions ****************************/
|
// NormalizePhiConstantArgs - Insert loads of constants that are arguments to
|
||||||
|
// PHI in the appropriate predecessor basic block.
|
||||||
|
//
|
||||||
void NormalizePhiConstantArgs (Method* method);
|
void NormalizePhiConstantArgs(Method *M);
|
||||||
|
|
||||||
|
|
||||||
//**************************************************************************/
|
|
||||||
|
|
||||||
#endif LLVM_OPT_NORMALIZE_H
|
#endif LLVM_OPT_NORMALIZE_H
|
||||||
|
|
Loading…
Reference in New Issue