3 * File name: ir/opt/opt_frame.c
4 * Purpose: optimize the frame type
8 * Copyright: (c) 1998-2006 Universität Karlsruhe
9 * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
17 * Optimize the frame type by removing unused type members.
20 #include "firm_types.h"
23 * Optimize the frame type of an irg by removing
24 * never touched entities.
26 * @param irg The graph whose frame type will be optimized
28 * This function did not change the graph, only it's frame type.
29 * The layout state of the frame type will be set to layout_undefined
30 * if entities were removed.
32 void opt_frame_irg(ir_graph *irg);
34 #endif /* _OPT_FRAME_H_ */