Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
d2c1b019
Commit
d2c1b019
authored
Aug 05, 2009
by
Matthias Braun
Browse files
reorganize backend headers (kill some _t variants in favor of a be_types.h)
[r26317]
parent
f0c26317
Changes
117
Show whitespace changes
Inline
Side-by-side
ir/be/TEMPLATE/TEMPLATE_emitter.h
View file @
d2c1b019
...
...
@@ -29,7 +29,7 @@
#include "irnode.h"
#include "debug.h"
#include "../bearch
_t
.h"
#include "../bearch.h"
#include "../beemitter.h"
#include "bearch_TEMPLATE_t.h"
...
...
ir/be/TEMPLATE/TEMPLATE_map_regs.h
View file @
d2c1b019
...
...
@@ -28,7 +28,7 @@
#include "irnode.h"
#include "set.h"
#include "../bearch
_t
.h"
#include "../bearch.h"
#include "TEMPLATE_nodes_attr.h"
int
TEMPLATE_cmp_irn_reg_assoc
(
const
void
*
a
,
const
void
*
b
,
size_t
len
);
...
...
ir/be/TEMPLATE/TEMPLATE_new_nodes.c
View file @
d2c1b019
...
...
@@ -39,7 +39,7 @@
#include "irprintf.h"
#include "xmalloc.h"
#include "../bearch
_t
.h"
#include "../bearch.h"
#include "TEMPLATE_nodes_attr.h"
#include "TEMPLATE_new_nodes.h"
...
...
ir/be/TEMPLATE/TEMPLATE_nodes_attr.h
View file @
d2c1b019
...
...
@@ -25,7 +25,7 @@
#ifndef FIRM_BE_TEMPLATE_TEMPLATE_NODES_ATTR_H
#define FIRM_BE_TEMPLATE_TEMPLATE_NODES_ATTR_H
#include "../bearch
_t
.h"
#include "../bearch.h"
typedef
struct
TEMPLATE_attr_t
TEMPLATE_attr_t
;
...
...
ir/be/TEMPLATE/bearch_TEMPLATE.c
View file @
d2c1b019
...
...
@@ -34,14 +34,15 @@
#include "bitset.h"
#include "debug.h"
#include "../bearch_t.h"
#include "be.h"
#include "../bearch.h"
#include "../benode_t.h"
#include "../belower.h"
#include "../besched_t.h"
#include "be.h"
#include "../besched.h"
#include "../beabi.h"
#include "../bemodule.h"
#include "../begnuas.h"
#include "../belistsched.h"
#include "bearch_TEMPLATE_t.h"
...
...
ir/be/TEMPLATE/bearch_TEMPLATE.h
View file @
d2c1b019
...
...
@@ -25,7 +25,7 @@
#ifndef FIRM_BE_TEMPLATE_BEARCH_TEMPLATE_H
#define FIRM_BE_TEMPLATE_BEARCH_TEMPLATE_H
#include "../bearch
_t
.h"
#include "../bearch.h"
extern
const
arch_isa_if_t
TEMPLATE_isa_if
;
...
...
ir/be/arm/arm_emitter.c
View file @
d2c1b019
...
...
@@ -45,7 +45,7 @@
#include "../besched.h"
#include "../beblocksched.h"
#include "../beirg
_t
.h"
#include "../beirg.h"
#include "../begnuas.h"
#include "../be_dbgout.h"
...
...
ir/be/arm/arm_emitter.h
View file @
d2c1b019
...
...
@@ -31,7 +31,7 @@
#include "irargs_t.h"
#include "debug.h"
#include "../bearch
_t
.h"
#include "../bearch.h"
#include "bearch_arm_t.h"
...
...
ir/be/arm/arm_map_regs.h
View file @
d2c1b019
...
...
@@ -29,7 +29,7 @@
#include "irnode.h"
#include "set.h"
#include "../bearch
_t
.h"
#include "../bearch.h"
#include "arm_nodes_attr.h"
const
arch_register_t
*
arm_get_RegParam_reg
(
int
n
);
...
...
ir/be/arm/arm_new_nodes.c
View file @
d2c1b019
...
...
@@ -40,7 +40,7 @@
#include "irprintf.h"
#include "xmalloc.h"
#include "../bearch
_t
.h"
#include "../bearch.h"
#include "arm_nodes_attr.h"
#include "arm_new_nodes.h"
...
...
ir/be/arm/arm_nodes_attr.h
View file @
d2c1b019
...
...
@@ -28,7 +28,7 @@
#include "firm_types.h"
#include "irnode_t.h"
#include "../bearch
_t
.h"
#include "../bearch.h"
/**
* Possible ARM register shift types.
...
...
ir/be/arm/arm_transform.c
View file @
d2c1b019
...
...
@@ -39,7 +39,7 @@
#include "error.h"
#include "../benode_t.h"
#include "../beirg
_t
.h"
#include "../beirg.h"
#include "../beutil.h"
#include "../betranshlp.h"
#include "bearch_arm_t.h"
...
...
ir/be/arm/bearch_arm.c
View file @
d2c1b019
...
...
@@ -44,18 +44,19 @@
#include "array_t.h"
#include "irtools.h"
#include "../bearch
_t
.h"
/* the general register allocator interface */
#include "../bearch.h"
/* the general register allocator interface */
#include "../benode_t.h"
#include "../belower.h"
#include "../besched
_t
.h"
#include "../besched.h"
#include "be.h"
#include "../beabi.h"
#include "../bemachine.h"
#include "../beilpsched.h"
#include "../bemodule.h"
#include "../beirg
_t
.h"
#include "../beirg.h"
#include "../bespillslots.h"
#include "../begnuas.h"
#include "../belistsched.h"
#include "bearch_arm_t.h"
...
...
ir/be/arm/bearch_arm.h
View file @
d2c1b019
...
...
@@ -26,7 +26,7 @@
#ifndef FIRM_BE_ARM_BEARCH_ARM_H
#define FIRM_BE_ARM_BEARCH_ARM_H
#include "../bearch
_t
.h"
#include "../bearch.h"
extern
const
arch_isa_if_t
arm_isa_if
;
...
...
ir/be/be_dbgout_t.h
View file @
d2c1b019
...
...
@@ -28,8 +28,8 @@
#define FIRM_BE_BE_DBGOUT_T_H
#include "obst.h"
#include "beabi_t.h"
#include "firm_types.h"
#include "be_types.h"
typedef
struct
dbg_handle
dbg_handle
;
...
...
ir/be/be_t.h
View file @
d2c1b019
...
...
@@ -34,8 +34,7 @@
#include "pmap.h"
#include "be.h"
#include "bearch_t.h"
#include "beirg.h"
#include "be_types.h"
#define DUMP_NONE 0
#define DUMP_INITIAL (1 << 0)
...
...
ir/be/be
abi_t
.h
→
ir/be/be
_types
.h
View file @
d2c1b019
...
...
@@ -19,12 +19,38 @@
/**
* @file
* @brief
Type
declarations
for the ABI module.
* @author
Sebastian Hack
* @version $Id$
* @brief
Forward
declarations
of backend types
* @author
Matthias Braun
* @version $Id
: besched.h 25982 2009-05-15 22:09:38Z matze
$
*/
#ifndef FIRM_BE_BEABI_T_H
#define FIRM_BE_BEABI_T_H
#ifndef FIRM_BE_TYPES_H
#define FIRM_BE_TYPES_H
typedef
unsigned
int
sched_timestep_t
;
typedef
struct
be_irg_t
be_irg_t
;
typedef
struct
arch_register_class_t
arch_register_class_t
;
typedef
struct
arch_register_req_t
arch_register_req_t
;
typedef
struct
arch_register_t
arch_register_t
;
typedef
struct
arch_flag_t
arch_flag_t
;
typedef
struct
arch_inverse_t
arch_inverse_t
;
typedef
struct
arch_isa_if_t
arch_isa_if_t
;
typedef
struct
arch_env_t
arch_env_t
;
typedef
struct
arch_code_generator_t
arch_code_generator_t
;
typedef
struct
arch_code_generator_if_t
arch_code_generator_if_t
;
/**
* Some flags describing a node in more detail.
*/
typedef
enum
arch_irn_flags_t
{
arch_irn_flags_none
=
0
,
/**< Node flags. */
arch_irn_flags_dont_spill
=
1U
<<
0
,
/**< This must not be spilled. */
arch_irn_flags_rematerializable
=
1U
<<
1
,
/**< This can be replicated instead of spilled/reloaded. */
arch_irn_flags_modify_flags
=
1U
<<
2
/**< I modify flags. */
}
arch_irn_flags_t
;
typedef
struct
_be_lv_t
be_lv_t
;
typedef
struct
_be_lv_info_t
be_lv_info_t
;
typedef
struct
_be_abi_call_flags_bits_t
be_abi_call_flags_bits_t
;
typedef
union
_be_abi_call_flags_t
be_abi_call_flags_t
;
...
...
@@ -33,4 +59,19 @@ typedef struct _be_abi_call_t be_abi_call_t;
typedef
struct
_be_abi_irg_t
be_abi_irg_t
;
typedef
struct
_be_stack_layout_t
be_stack_layout_t
;
#endif
/* FIRM_BE_BEABI_T_H */
typedef
struct
_be_dom_front_info_t
be_dom_front_info_t
;
typedef
struct
_list_sched_selector_t
list_sched_selector_t
;
typedef
struct
_ilp_sched_selector_t
ilp_sched_selector_t
;
typedef
struct
_ilp_sched_selector_if_t
ilp_sched_selector_if_t
;
typedef
struct
_be_execution_unit_type_t
be_execution_unit_type_t
;
typedef
struct
_be_execution_unit_t
be_execution_unit_t
;
typedef
struct
_be_machine_t
be_machine_t
;
typedef
struct
backend_info_t
backend_info_t
;
typedef
struct
sched_info_t
sched_info_t
;
typedef
struct
reg_out_info_t
reg_out_info_t
;
#endif
ir/be/beabi.c
View file @
d2c1b019
...
...
@@ -48,11 +48,11 @@
#include "be.h"
#include "beabi.h"
#include "bearch
_t
.h"
#include "bearch.h"
#include "benode_t.h"
#include "belive_t.h"
#include "besched
_t
.h"
#include "beirg
_t
.h"
#include "besched.h"
#include "beirg.h"
#include "bessaconstr.h"
typedef
struct
_be_abi_call_arg_t
{
...
...
ir/be/beabi.h
View file @
d2c1b019
...
...
@@ -35,7 +35,7 @@
#include "be.h"
#include "beirg.h"
#include "bearch.h"
#include "beabi
_t
.h"
#include "beabi.h"
struct
_be_abi_call_flags_bits_t
{
unsigned
left_to_right
:
1
;
/**< Arguments are from left to right. */
...
...
ir/be/bearch.c
View file @
d2c1b019
...
...
@@ -27,7 +27,7 @@
#include <string.h>
#include "bearch
_t
.h"
#include "bearch.h"
#include "benode_t.h"
#include "beinfo.h"
#include "ircons_t.h"
...
...
Prev
1
2
3
4
5
6
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment