X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=include%2Flibfirm%2Firgraph.h;h=6187d5139cc251af99237dd6df7b7f5710747f07;hb=1adbf5a888bc38944df7db0c201b2a68ccb265e1;hp=71020ecd241a52afe18a6bada9915832be6addad;hpb=1ce363f80e6a204d4011f85813362d9bd1d0e7e4;p=libfirm diff --git a/include/libfirm/irgraph.h b/include/libfirm/irgraph.h index 71020ecd2..6187d5139 100644 --- a/include/libfirm/irgraph.h +++ b/include/libfirm/irgraph.h @@ -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,22 +515,28 @@ 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); +void set_using_block_mark(ir_graph *irg); +void clear_using_block_mark(ir_graph *irg); +int using_block_mark(const ir_graph *irg); #else -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_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; } +#define set_using_block_visited(irg) +#define clear_using_block_visited(irg) +#define using_block_visited(irg) 0 +#define set_using_irn_visited(irg) +#define clear_using_irn_visited(irg) +#define using_irn_visited(irg) 0 +#define set_using_irn_link(irg) +#define clear_using_irn_link(irg) +#define using_irn_link(irg) 0 +#define set_using_block_mark(irg) +#define clear_using_block_mark(irg) +#define using_block_mark(irg) 0 #endif /** Normalization: Move Proj nodes into the same block as its predecessors */