From 71fc67c4b1718e8b71c3e4f55d4af53669b5b697 Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Tue, 28 Aug 2001 21:40:27 +0000 Subject: [PATCH] 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 --- include/llvm/Optimizations/Normalize.h | 36 ++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 include/llvm/Optimizations/Normalize.h diff --git a/include/llvm/Optimizations/Normalize.h b/include/llvm/Optimizations/Normalize.h new file mode 100644 index 00000000000..bc3ade2125e --- /dev/null +++ b/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