mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
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
This commit is contained in:
parent
822b4fb896
commit
dfbaf73cf7
@ -1,36 +1,19 @@
|
|||||||
// $Id$ -*-c++-*-
|
//===-- Normalize.h - Functions that normalize code for the BE ---*- C++ -*--=//
|
||||||
//***************************************************************************
|
//
|
||||||
// File:
|
// This file defines a family of transformations to normalize LLVM code for the
|
||||||
// Normalize.h
|
// code generation passes, so that the back end doesn't have to worry about
|
||||||
//
|
// annoying details.
|
||||||
// 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
|
#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…
x
Reference in New Issue
Block a user