3 * File name: ir/opt/scalar_replace.h
4 * Purpose: scalar replacement of compounds
5 * Author: Beyhan Veliev
8 * Copyright: (c) 1998-2005 Universität Karlsruhe
9 * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
12 #ifndef _SCALAR_REPLACE_H_
13 #define _SCALAR_REPLACE_H_
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.
22 * @param irg the graph which should be optimized
24 void scalar_replacement_opt(ir_graph *irg);
26 #endif /* _SCALAR_REPLACE_H_ */