2 * Copyright (C) 1995-2008 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 * @brief Forward declarations of backend types
23 * @author Matthias Braun
24 * @version $Id: besched.h 25982 2009-05-15 22:09:38Z matze $
26 #ifndef FIRM_BE_TYPES_H
27 #define FIRM_BE_TYPES_H
29 typedef unsigned int sched_timestep_t;
30 typedef struct be_irg_t be_irg_t;
32 typedef struct arch_register_class_t arch_register_class_t;
33 typedef struct arch_register_req_t arch_register_req_t;
34 typedef struct arch_register_t arch_register_t;
35 typedef struct arch_flag_t arch_flag_t;
36 typedef struct arch_inverse_t arch_inverse_t;
37 typedef struct arch_isa_if_t arch_isa_if_t;
38 typedef struct arch_env_t arch_env_t;
39 typedef struct arch_code_generator_t arch_code_generator_t;
40 typedef struct arch_code_generator_if_t arch_code_generator_if_t;
43 * Some flags describing a node in more detail.
45 typedef enum arch_irn_flags_t {
46 arch_irn_flags_none = 0, /**< Node flags. */
47 arch_irn_flags_dont_spill = 1U << 0, /**< This must not be spilled. */
48 arch_irn_flags_rematerializable = 1U << 1, /**< This can be replicated instead of spilled/reloaded. */
49 arch_irn_flags_modify_flags = 1U << 2, /**< I modify flags. */
52 typedef struct _be_lv_t be_lv_t;
53 typedef struct _be_lv_info_t be_lv_info_t;
55 typedef struct _be_abi_call_flags_bits_t be_abi_call_flags_bits_t;
56 typedef union _be_abi_call_flags_t be_abi_call_flags_t;
57 typedef struct _be_abi_callbacks_t be_abi_callbacks_t;
58 typedef struct _be_abi_call_t be_abi_call_t;
59 typedef struct _be_abi_irg_t be_abi_irg_t;
60 typedef struct _be_stack_layout_t be_stack_layout_t;
62 typedef struct _be_dom_front_info_t be_dom_front_info_t;
64 typedef struct _list_sched_selector_t list_sched_selector_t;
66 typedef struct _ilp_sched_selector_t ilp_sched_selector_t;
67 typedef struct _ilp_sched_selector_if_t ilp_sched_selector_if_t;
69 typedef struct _be_execution_unit_type_t be_execution_unit_type_t;
70 typedef struct _be_execution_unit_t be_execution_unit_t;
71 typedef struct _be_machine_t be_machine_t;
73 typedef struct backend_info_t backend_info_t;
74 typedef struct sched_info_t sched_info_t;
75 typedef struct reg_out_info_t reg_out_info_t;