renamed new_type_pointer_mode() into new_type_pointer()
[libfirm] / ir / opt / scalar_replace.h
1 /*
2  * Project:     libFIRM
3  * File name:   ir/opt/scalar_replace.h
4  * Purpose:     scalar replacement of compounds
5  * Author:      Beyhan Veliev
6  * Created:
7  * CVS-ID:      $Id$
8  * Copyright:   (c) 1998-2005 Universität Karlsruhe
9  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
10  */
11
12 #ifndef _SCALAR_REPLACE_H_
13 #define _SCALAR_REPLACE_H_
14
15 #include "irgraph.h"
16
17 /**
18  * Do the scalar replacement optimization.
19  * Replace local compound entities (like structures and arrays)
20  * with atomic values if possible. Does not handle classes yet.
21  *
22  * @param irg  the graph which should be optimized
23  */
24 void scalar_replacement_opt(ir_graph *irg);
25
26 #endif /* _SCALAR_REPLACE_H_ */