beirgmod: Do not set registers for the Perm results in insert_Perm_before() just...
[libfirm] / ir / be / sparc / bearch_sparc_t.h
index 2bb7b6d..264e971 100644 (file)
@@ -21,7 +21,6 @@
  * @file
  * @brief   declarations for SPARC backend -- private header
  * @author  Hannes Rapp, Matthias Braun
- * @version $Id$
  */
 #ifndef FIRM_BE_SPARC_BEARCH_SPARC_T_H
 #define FIRM_BE_SPARC_BEARCH_SPARC_T_H
@@ -30,7 +29,6 @@
 #include "sparc_nodes_attr.h"
 #include "be.h"
 
-typedef struct sparc_transform_env_t  sparc_transform_env_t;
 typedef struct sparc_isa_t            sparc_isa_t;
 typedef struct calling_convention_t   calling_convention_t;
 
@@ -47,18 +45,6 @@ struct sparc_isa_t {
        int         fpu_arch;  /**< FPU architecture */
 };
 
-/**
- * this is a struct to minimize the number of parameters
- * for transformation walker
- */
-struct sparc_transform_env_t {
-       dbg_info *dbg;      /**< The node debug info */
-       ir_graph *irg;      /**< The irg, the node should be created in */
-       ir_node  *block;    /**< The block, the node should belong to */
-       ir_node  *irn;      /**< The irn, to be transformed */
-       ir_mode  *mode;     /**< The mode of the irn */
-};
-
 extern const arch_irn_ops_t sparc_irn_ops;
 
 /**
@@ -79,6 +65,7 @@ extern const arch_irn_ops_t sparc_irn_ops;
 #define SPARC_MIN_STACKSIZE              92
 #define SPARC_AGGREGATE_RETURN_OFFSET    64
 #define SPARC_PARAMS_SPILL_OFFSET        68
+#define SPARC_SAVE_AREA_SIZE             64
 #define SPARC_N_PARAM_REGS                6
 #define SPARC_STACK_ALIGNMENT             8
 #define SPARC_REGISTER_SIZE               4
@@ -88,7 +75,7 @@ static inline bool sparc_is_value_imm_encodeable(int32_t value)
        return SPARC_IMMEDIATE_MIN <= value && value <= SPARC_IMMEDIATE_MAX;
 }
 
-void sparc_finish(ir_graph *irg);
+void sparc_finish_graph(ir_graph *irg);
 
 void sparc_introduce_prolog_epilog(ir_graph *irg);
 
@@ -96,6 +83,7 @@ void sparc_lower_64bit(void);
 
 bool sparc_variadic_fixups(ir_graph *irg, calling_convention_t *cconv);
 void sparc_create_stacklayout(ir_graph *irg, calling_convention_t *cconv);
+void sparc_adjust_stack_entity_offsets(ir_graph *irg);
 void sparc_fix_stack_bias(ir_graph *irg);
 
 #endif