X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fia32%2Fia32_address_mode.h;h=ff9e43eabf3c99662580e68e4e471041dbeac4aa;hb=379fd05b0fb269dd9b9105810de1ce565b18e446;hp=949621eb7e81cd078808b07df8f659ad3356afaa;hpb=21cc065641a16744e57840d931769c64a9131936;p=libfirm diff --git a/ir/be/ia32/ia32_address_mode.h b/ir/be/ia32/ia32_address_mode.h index 949621eb7..ff9e43eab 100644 --- a/ir/be/ia32/ia32_address_mode.h +++ b/ir/be/ia32/ia32_address_mode.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -28,6 +28,7 @@ #define IA32_ADDRESS_MODE_H #include "irtypes.h" +#include "../beirg.h" /** * The address mode data: Used to construct (memory) address modes. @@ -54,11 +55,16 @@ void ia32_create_address_mode(ia32_address_t *addr, ir_node *node, int force); * Mark those nodes of the given graph that cannot be used inside an * address mode because there values must be materialized in registers. */ -void calculate_non_address_mode_nodes(ir_graph *irg); +void ia32_calculate_non_address_mode_nodes(be_irg_t *birg); /** * Free the non_address_mode information. */ -void free_non_address_mode_nodes(void); +void ia32_free_non_address_mode_nodes(void); + +/** + * mark a node so it will not be used as part of address modes + */ +void ia32_mark_non_am(ir_node *node); #endif