2 * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved.
4 * This file is part of libFirm.
6 * This file may be distributed and/or modified under the terms of the
7 * GNU General Public License version 2 as published by the Free Software
8 * Foundation and appearing in the file LICENSE.GPL included in the
9 * packaging of this file.
11 * Licensees holding valid libFirm Professional Edition licenses may use
12 * this file in accordance with the libFirm Commercial License.
13 * Agreement provided with the Software.
15 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
16 * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22 * File name: ir/ir/ircons_t.h
23 * Purpose: Various irnode constructors. Automatic construction
24 * of SSA representation.
25 * Author: Martin Trapp, Christian Schaefer
26 * Modified by: Michael Beck
29 * Copyright: (c) 1998-2003 Universität Karlsruhe
35 # include "irgraph_t.h"
38 * Initializes the graph construction.
40 * @param func callback that is called if a uninitialized
41 * variable is detected
43 * @see uninitialized_local_variable_func_t
45 void init_cons(uninitialized_local_variable_func_t *func);
47 /* inline functions */
49 static INLINE ir_node *
51 return current_ir_graph->anchors[anchor_bad];
54 static INLINE ir_node *
56 return current_ir_graph->anchors[anchor_no_mem];
60 #define new_d_Bad() _new_d_Bad()
61 #define new_d_NoMem() _new_d_NoMem()
63 #endif /* _IRCONS_T_H_ */