From 097a68ff443e267f0de3d5455a580f8394f710b2 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Thu, 18 May 2006 22:34:35 +0000 Subject: [PATCH] doxygen docu added [r7765] --- ir/ir/irnode.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ir/ir/irnode.h b/ir/ir/irnode.h index ebdbf0aed..e9991797c 100644 --- a/ir/ir/irnode.h +++ b/ir/ir/irnode.h @@ -105,9 +105,19 @@ void set_irn_in (ir_node *node, int arity, ir_node *in[]); /** * Get the n-th predecessor of a node. * This function removes Id predecessors. + * This function automatically handles intra- and interprocedural views. */ ir_node *get_irn_n (const ir_node *node, int n); + +/** + * Get the n-th predecessor of a node in intraprocedural view. + * Can be used always if it's know that node is not a split one. + */ ir_node *get_irn_intra_n (const ir_node *node, int n); + +/** + * Get the n-th predecessor of a node in interprocedural view. + */ ir_node *get_irn_inter_n (const ir_node *node, int n); /** Replace the n-th predecessor of a node with a new one. */ -- 2.20.1