summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beirg.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-06-30 06:40:48 +0200
committerMatthias Braun <matze@braunis.de>2015-07-01 07:40:02 +0200
commita315f5e99a2d1a50387a260d969d58f10ee6580e (patch)
tree4d28cb88aebd5eee6579c1f4565c338b674babc8 /ir/be/beirg.h
parent43ec97bdf3bfd78f1d4dbb51d6e11d6c91dd86e3 (diff)
restrict to 80 cols
Diffstat (limited to 'ir/be/beirg.h')
-rw-r--r--ir/be/beirg.h37
1 files changed, 18 insertions, 19 deletions
diff --git a/ir/be/beirg.h b/ir/be/beirg.h
index fe3b345..7951d45 100644
--- a/ir/be/beirg.h
+++ b/ir/be/beirg.h
@@ -49,16 +49,15 @@ void be_free_birg(ir_graph *irg);
* - frame_type: A class type describing the frame layout.
*/
struct be_stack_layout_t {
- ir_type *arg_type; /**< A type describing the stack argument layout. */
- ir_type *between_type; /**< A type describing the "between" layout. */
- ir_type *frame_type; /**< The frame type. */
-
+ ir_type *arg_type;
+ ir_type *between_type;
+ ir_type *frame_type;
ir_type *order[N_FRAME_TYPES]; /**< arg, between and frame types ordered. */
-
- int initial_offset; /**< the initial difference between stack pointer and frame pointer */
- int initial_bias; /**< the initial stack bias */
- bool sp_relative : 1; /**< entities are addressed relative to
- stack pointer (omit-fp mode) */
+ /** the initial difference between stack pointer and frame pointer */
+ int initial_offset;
+ int initial_bias; /**< the initial stack bias */
+ /** entities are addressed relative to stack pointer (omit-fp mode) */
+ bool sp_relative : 1;
};
/**
@@ -66,16 +65,16 @@ struct be_stack_layout_t {
* backend structures
*/
typedef struct be_irg_t {
- be_main_env_t *main_env;
- be_lv_t *lv;
- be_stack_layout_t stack_layout;
- unsigned *allocatable_regs; /**< registers available for the
- allocator */
- struct obstack obst; /**< birg obstack (mainly used to keep
- register constraints which we can't keep
- in the irg obst, because it gets replaced
- during code selection) */
- void *isa_link; /**< architecture specific per-graph data*/
+ be_main_env_t *main_env;
+ be_lv_t *lv;
+ be_stack_layout_t stack_layout;
+ /** bitset of registers available for the allocator */
+ unsigned *allocatable_regs;
+ /** obstack (mainly used to keep register constraints which we can't keep
+ * in the irg obst, because it gets replaced during code selection) */
+ struct obstack obst;
+ /** Architecture specific per-graph data */
+ void *isa_link;
} be_irg_t;
static inline be_irg_t *be_birg_from_irg(const ir_graph *irg)