mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-19 16:35:10 +00:00
Simplification transformations to normalize the code for later passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@389 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
81cd1e50ec
commit
71fc67c4b1
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…
x
Reference in New Issue
Block a user