projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2fbe275
)
doxygen docu added
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 18 May 2006 22:34:35 +0000
(22:34 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 18 May 2006 22:34:35 +0000
(22:34 +0000)
[r7765]
ir/ir/irnode.h
patch
|
blob
|
history
diff --git
a/ir/ir/irnode.h
b/ir/ir/irnode.h
index
ebdbf0a
..
e999179
100644
(file)
--- 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.
/**
* 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);
*/
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);
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. */
ir_node *get_irn_inter_n (const ir_node *node, int n);
/** Replace the n-th predecessor of a node with a new one. */