mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-12 05:56:28 +00:00
Simplification transformations to normalize the code for later passes.
llvm-svn: 389
This commit is contained in:
parent
23d0560303
commit
3ac9f99cf5
36
include/llvm/Optimizations/Normalize.h
Normal file
36
include/llvm/Optimizations/Normalize.h
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user