X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firgraph.h;h=9dcb996aca58ed2fb51161ee0dda4737ea4eeff0;hb=9ec98298a0bf99ccb9533365dd7245e0a380f3df;hp=8c42efd1f33cfecf9e9229f958ebfc6c45e47297;hpb=f304e0b6847c40272679395d91aced8cd31b94ed;p=libfirm diff --git a/include/libfirm/irgraph.h b/include/libfirm/irgraph.h index 8c42efd1f..9dcb996ac 100644 --- a/include/libfirm/irgraph.h +++ b/include/libfirm/irgraph.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. * @@ -236,16 +236,16 @@ void set_irg_end_reg(ir_graph *irg, ir_node *node); ir_node *get_irg_end_except(const ir_graph *irg); void set_irg_end_except(ir_graph *irg, ir_node *node); +/** Returns the node that represents the initial control flow of the given IR graph. */ +ir_node *get_irg_initial_exec(const ir_graph *irg); +/** Sets the node that represents the initial control of the given IR graph. */ +void set_irg_initial_exec(ir_graph *irg, ir_node *node); + /** Returns the node that represents the frame pointer of the given IR graph. */ ir_node *get_irg_frame(const ir_graph *irg); /** Sets the node that represents the frame pointer of the given IR graph. */ void set_irg_frame(ir_graph *irg, ir_node *node); -/** Returns the node that represents the global pointer of the given IR graph. */ -ir_node *get_irg_globals(const ir_graph *irg); -/** Sets the node that represents the global pointer of the given IR graph. */ -void set_irg_globals(ir_graph *irg, ir_node *node); - /** Returns the node that represents the tls pointer of the given IR graph. */ ir_node *get_irg_tls(const ir_graph *irg); /** Sets the node that represents the tls pointer of the given IR graph. */ @@ -515,9 +515,9 @@ void set_irg_block_visited(ir_graph *irg, unsigned long i); void set_using_block_visited(ir_graph *irg); void clear_using_block_visited(ir_graph *irg); int using_block_visited(const ir_graph *irg); -void set_using_visited(ir_graph *irg); -void clear_using_visited(ir_graph *irg); -int using_visited(const ir_graph *irg); +void set_using_irn_visited(ir_graph *irg); +void clear_using_irn_visited(ir_graph *irg); +int using_irn_visited(const ir_graph *irg); void set_using_irn_link(ir_graph *irg); void clear_using_irn_link(ir_graph *irg); int using_irn_link(const ir_graph *irg); @@ -525,9 +525,9 @@ int using_irn_link(const ir_graph *irg); static INLINE void set_using_block_visited(ir_graph *irg) { (void) irg; } static INLINE void clear_using_block_visited(ir_graph *irg) { (void) irg; } static INLINE int using_block_visited(const ir_graph *irg) { (void) irg; return 0; } -static INLINE void set_using_visited(ir_graph *irg) { (void) irg; } -static INLINE void clear_using_visited(ir_graph *irg) { (void) irg; } -static INLINE int using_visited(const ir_graph *irg) { (void) irg; return 0; } +static INLINE void set_using_irn_visited(ir_graph *irg) { (void) irg; } +static INLINE void clear_using_irn_visited(ir_graph *irg) { (void) irg; } +static INLINE int using_irn_visited(const ir_graph *irg) { (void) irg; return 0; } static INLINE void set_using_irn_link(ir_graph *irg) { (void) irg; } static INLINE void clear_using_irn_link(ir_graph *irg) { (void) irg; } static INLINE int using_irn_link(const ir_graph *irg) { (void) irg; return 0; }