X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Famd64%2Fbearch_amd64_t.h;h=09b653185c56a01a8ee9a70aa5a167d8e3c456b1;hb=731e9399d5d23b6a15ed4b705f6e6542cb90e55b;hp=23ebab870254a538dd1f0a68e736e9f7f56fbd51;hpb=ad9464a5db0b98cb926aae609abe84db70b74291;p=libfirm diff --git a/ir/be/amd64/bearch_amd64_t.h b/ir/be/amd64/bearch_amd64_t.h index 23ebab870..09b653185 100644 --- a/ir/be/amd64/bearch_amd64_t.h +++ b/ir/be/amd64/bearch_amd64_t.h @@ -20,7 +20,6 @@ /** * @file * @brief declarations for TEMPALTE backend -- private header - * @version $Id: bearch_amd64_t.h 26542 2009-09-18 09:18:32Z matze $ */ #ifndef FIRM_BE_amd64_BEARCH_amd64_T_H #define FIRM_BE_amd64_BEARCH_amd64_T_H @@ -28,40 +27,15 @@ #include "debug.h" #include "amd64_nodes_attr.h" #include "be.h" -#include "../beemitter.h" +#include "beemitter.h" #include "set.h" typedef struct amd64_isa_t amd64_isa_t; -typedef struct amd64_transform_env_t amd64_transform_env_t; - -typedef struct amd64_irg_data_t { - ir_graph *irg; /**< current irg */ - amd64_isa_t *isa; /**< the isa instance */ - char dump; /**< set to 1 if graphs should be dumped */ - ir_node *noreg_gp; /**< unique NoReg_GP node */ -} amd64_irg_data_t; struct amd64_isa_t { arch_env_t base; /**< must be derived from arch_isa */ }; -/** - * this is a struct to minimize the number of parameters - * for transformation walker - */ -struct amd64_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 */ -}; - -static inline amd64_irg_data_t *amd64_get_irg_data(const ir_graph *irg) -{ - return (amd64_irg_data_t*) be_birg_from_irg(irg)->isa_link; -} - ir_node *amd64_new_NoReg_gp(ir_graph *irg); #endif