X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fia32%2Fia32_address_mode.h;h=a424d8ebf6673f73afac7096b1eb88bb2016e926;hb=60e1f0141c1dffae0d779228addfa385c46748f5;hp=2c2fac829cde67a90cc7fe41b302488b9102f289;hpb=db6fd292f8fa8e7dc3f4bc3dacd047d832baaaba;p=libfirm diff --git a/ir/be/ia32/ia32_address_mode.h b/ir/be/ia32/ia32_address_mode.h index 2c2fac829..a424d8ebf 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,13 +55,18 @@ 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 ia32_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 ia32_free_non_address_mode_nodes(void); +/** + * Tells whether the given node is a non address mode node. + */ +int ia32_is_non_address_mode_node(ir_node *node); + /** * mark a node so it will not be used as part of address modes */