diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-08-28 21:40:27 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-08-28 21:40:27 +0000 |
commit | 6b99de80dc2c1a8ad99a385603fd075dded6481d (patch) | |
tree | f1f56ac722cea2e95964ad458c3491e33aeec06c | |
parent | 7e95d47bdcd6f6533cb51b9dc4fa6f269a76edef (diff) | |
download | bcm5719-llvm-6b99de80dc2c1a8ad99a385603fd075dded6481d.tar.gz bcm5719-llvm-6b99de80dc2c1a8ad99a385603fd075dded6481d.zip |
Simplification transformations to normalize the code for later passes.
llvm-svn: 389
-rw-r--r-- | llvm/include/llvm/Optimizations/Normalize.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/llvm/include/llvm/Optimizations/Normalize.h b/llvm/include/llvm/Optimizations/Normalize.h new file mode 100644 index 00000000000..bc3ade2125e --- /dev/null +++ b/llvm/include/llvm/Optimizations/Normalize.h @@ -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 |