jumpthreading: do not rely on current_ir_graph
[libfirm] / ir / ir / irnode_t.h
1 /*
2  * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
3  *
4  * This file is part of libFirm.
5  *
6  * This file may be distributed and/or modified under the terms of the
7  * GNU General Public License version 2 as published by the Free Software
8  * Foundation and appearing in the file LICENSE.GPL included in the
9  * packaging of this file.
10  *
11  * Licensees holding valid libFirm Professional Edition licenses may use
12  * this file in accordance with the libFirm Commercial License.
13  * Agreement provided with the Software.
14  *
15  * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
16  * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17  * PURPOSE.
18  */
19
20 /**
21  * @file
22  * @brief   Representation of an intermediate operation -- private header.
23  * @author  Martin Trapp, Christian Schaefer, Goetz Lindenmaier, Michael Beck
24  * @version $Id$
25  */
26 #ifndef FIRM_IR_IRNODE_T_H
27 #define FIRM_IR_IRNODE_T_H
28
29 #include "irtypes.h"
30 #include "irnode.h"
31 #include "irop_t.h"
32 #include "irgraph_t.h"
33 #include "irflag_t.h"
34 #include "array.h"
35 #include "iredges_t.h"
36
37 /**
38  * Returns the array with the ins.  The content of the array may not be
39  * changed.
40  * Note that this function returns the whole in array including the
41  * block predecessor. So, it is NOT symmetric with set_irn_in().
42  */
43 ir_node     **get_irn_in            (const ir_node *node);
44
45 /**
46  * The amount of additional space for custom data to be allocated upon creating a new node.
47  */
48 extern unsigned firm_add_node_size;
49
50 /**
51  * Sets the get_type operation for an ir_op_ops.
52  *
53  * @param code   the opcode for the default operation
54  * @param ops    the operations initialized
55  *
56  * @return
57  *    The operations.
58  */
59 ir_op_ops *firm_set_default_get_type(ir_opcode code, ir_op_ops *ops);
60
61 /**
62  * Sets the get_type_attr operation for an ir_op_ops.
63  *
64  * @param code   the opcode for the default operation
65  * @param ops    the operations initialized
66  *
67  * @return
68  *    The operations.
69  */
70 ir_op_ops *firm_set_default_get_type_attr(ir_opcode code, ir_op_ops *ops);
71
72 /**
73  * Sets the get_entity_attr operation for an ir_op_ops.
74  *
75  * @param code   the opcode for the default operation
76  * @param ops    the operations initialized
77  *
78  * @return
79  *    The operations.
80  */
81 ir_op_ops *firm_set_default_get_entity_attr(ir_opcode code, ir_op_ops *ops);
82
83 /**
84  * Returns an array with the predecessors of the Block. Depending on
85  * the implementation of the graph data structure this can be a copy of
86  * the internal representation of predecessors as well as the internal
87  * array itself. Therefore writing to this array might obstruct the IR.
88  */
89 ir_node **get_Block_cfgpred_arr(ir_node *node);
90
91 /*-------------------------------------------------------------------*/
92 /*  These function are most used in libfirm.  Give them as static    */
93 /*  functions so they can be inlined.                                */
94 /*-------------------------------------------------------------------*/
95
96 /**
97  * Checks whether a pointer points to a ir node.
98  * Intern version for libFirm.
99  */
100 static inline int _is_ir_node(const void *thing)
101 {
102         return (get_kind(thing) == k_ir_node);
103 }
104
105 /**
106  * Gets the op of a node.
107  * Intern version for libFirm.
108  */
109 static inline ir_op *_get_irn_op(const ir_node *node)
110 {
111         assert(node);
112         return node->op;
113 }
114
115 static inline void _set_irn_op(ir_node *node, ir_op *op)
116 {
117         assert(node);
118         node->op = op;
119 }
120
121 /** Copies all attributes stored in the old node  to the new node.
122     Assumes both have the same opcode and sufficient size. */
123 static inline void _copy_node_attr(ir_graph *irg, const ir_node *old_node,
124                                    ir_node *new_node)
125 {
126         ir_op *op = _get_irn_op(old_node);
127
128         /* must always exist */
129         op->ops.copy_attr(irg, old_node, new_node);
130 }
131
132 /**
133  * Gets the opcode of a node.
134  * Intern version for libFirm.
135  */
136 static inline unsigned _get_irn_opcode(const ir_node *node)
137 {
138         assert(k_ir_node == get_kind(node));
139         assert(node->op);
140         return node->op->code;
141 }
142
143 /**
144  * Returns the number of predecessors without the block predecessor.
145  * Intern version for libFirm.
146  */
147 static inline int _get_irn_arity(const ir_node *node)
148 {
149         return ARR_LEN(node->in) - 1;
150 }
151
152 /**
153  * Intern version for libFirm.
154  */
155 static inline ir_node *_get_irn_n(const ir_node *node, int n)
156 {
157         ir_node *nn;
158
159         assert(-1 <= n && n < _get_irn_arity(node));
160
161         nn = node->in[n + 1];
162         if (nn == NULL) {
163                 /* only block and Anchor inputs are allowed to be NULL */
164                 assert((is_Anchor(node) || n == -1) && "NULL input of a node");
165                 return NULL;
166         }
167         if (nn->op != op_Id) return nn;
168
169         return (node->in[n + 1] = skip_Id(nn));
170 }
171
172 /**
173  * returns a hash value for a node
174  */
175 static inline unsigned hash_irn(const ir_node *node)
176 {
177         return (unsigned) get_irn_idx(node);
178 }
179
180 static inline int _get_irn_deps(const ir_node *node) {
181         return node->deps ? ARR_LEN(node->deps) : 0;
182 }
183
184 static inline ir_node *_get_irn_dep(const ir_node *node, int pos) {
185         assert(node->deps && "dependency array node yet allocated. use add_irn_dep()");
186         assert(pos >= 0 && pos < ARR_LEN(node->deps) && "dependency index out of range");
187         return node->deps[pos];
188 }
189
190 /* forward declaration outside iredges_t.h to avoid circular include problems */
191 void edges_notify_edge_kind(ir_node *src, int pos, ir_node *tgt, ir_node *old_tgt, ir_edge_kind_t kind, ir_graph *irg);
192
193 static inline void _set_irn_dep(ir_node *node, int pos, ir_node *dep)
194 {
195         ir_node *old;
196
197         assert(node->deps && "dependency array node yet allocated. use add_irn_dep()");
198         assert(pos >= 0 && pos < ARR_LEN(node->deps) && "dependency index out of range");
199         old = node->deps[pos];
200         node->deps[pos] = dep;
201         edges_notify_edge_kind(node, pos, dep, old, EDGE_KIND_DEP, get_irn_irg(node));
202 }
203
204
205 static inline int _get_irn_ins_or_deps(const ir_node *irn)
206 {
207         return _get_irn_deps(irn) + _get_irn_arity(irn);
208 }
209
210 static inline ir_node *_get_irn_in_or_dep(const ir_node *irn, int pos)
211 {
212         int n_in = get_irn_arity(irn);
213         return pos < n_in ? get_irn_n(irn, pos) : get_irn_dep(irn, pos - n_in);
214 }
215
216 /**
217  * Gets the mode of a node.
218  * Intern version for libFirm.
219  */
220 static inline ir_mode *_get_irn_mode(const ir_node *node)
221 {
222         assert(node);
223         return node->mode;
224 }
225
226 /**
227  * Sets the mode of a node.
228  * Intern version of libFirm.
229  */
230 static inline void _set_irn_mode(ir_node *node, ir_mode *mode)
231 {
232         assert(node);
233         node->mode = mode;
234 }
235
236 static inline int ir_has_irg_ref(const ir_node *node)
237 {
238         return is_Block(node) || is_Bad(node) || is_Anchor(node);
239 }
240
241 static inline ir_graph *_get_irn_irg(const ir_node *node)
242 {
243         /*
244          * Do not use get_nodes_block() here, because this
245          * will check the pinned state.
246          * However even a 'wrong' block is always in the proper irg.
247          */
248         if (! is_Block(node))
249                 node = get_irn_n(node, -1);
250         assert(ir_has_irg_ref(node));
251         return node->attr.irg.irg;
252 }
253
254 static inline ir_node *_get_nodes_block(const ir_node *node)
255 {
256         assert(!is_Block(node));
257         return get_irn_n(node, -1);
258 }
259
260 /**
261  * Gets the visited counter of a node.
262  * Intern version for libFirm.
263  */
264 static inline ir_visited_t _get_irn_visited(const ir_node *node)
265 {
266         assert(node);
267         return node->visited;
268 }
269
270 /**
271  * Sets the visited counter of a node.
272  * Intern version for libFirm.
273  */
274 static inline void _set_irn_visited(ir_node *node, ir_visited_t visited)
275 {
276         assert(node);
277         node->visited = visited;
278 }
279
280 /**
281  * Mark a node as visited in a graph.
282  * Intern version for libFirm.
283  */
284 static inline void _mark_irn_visited(ir_node *node)
285 {
286         node->visited = get_irn_irg(node)->visited;
287 }
288
289 /**
290  * Returns non-zero if a node of was visited.
291  * Intern version for libFirm.
292  */
293 static inline int _irn_visited(const ir_node *node)
294 {
295         ir_graph *irg = get_irn_irg(node);
296         return node->visited >= irg->visited;
297 }
298
299 static inline int _irn_visited_else_mark(ir_node *node)
300 {
301         if (_irn_visited(node))
302                 return 1;
303         _mark_irn_visited(node);
304         return 0;
305 }
306
307 /**
308  * Sets the link of a node.
309  * Intern version of libFirm.
310  */
311 static inline void _set_irn_link(ir_node *node, void *link)
312 {
313         assert(node);
314         node->link = link;
315 }
316
317 /**
318  * Returns the link of a node.
319  * Intern version of libFirm.
320  */
321 static inline void *_get_irn_link(const ir_node *node)
322 {
323         assert(node && _is_ir_node(node));
324         return node->link;
325 }
326
327 /**
328  * Returns whether the node _always_ must be pinned.
329  * I.e., the node is not floating after global cse.
330  *
331  * Intern version of libFirm.
332  */
333 static inline op_pin_state _get_irn_pinned(const ir_node *node)
334 {
335         op_pin_state state;
336         assert(node && _is_ir_node(node));
337         /* Check opcode */
338         state = _get_op_pinned(_get_irn_op(node));
339
340         if (state >= op_pin_state_exc_pinned)
341                 return node->attr.except.pin_state;
342
343         return state;
344 }
345
346 static inline op_pin_state _is_irn_pinned_in_irg(const ir_node *node)
347 {
348         if (get_irg_pinned(get_irn_irg(node)) == op_pin_state_floats)
349                 return get_irn_pinned(node);
350         return op_pin_state_pinned;
351 }
352
353 /* include generated code */
354 #include "gen_irnode.h"
355
356 static inline int _is_unop(const ir_node *node)
357 {
358         assert(node && _is_ir_node(node));
359         return (node->op->opar == oparity_unary);
360 }
361
362 static inline int _is_binop(const ir_node *node)
363 {
364         assert(node && _is_ir_node(node));
365         return (node->op->opar == oparity_binary);
366 }
367
368 static inline int _is_strictConv(const ir_node *node)
369 {
370         return _is_Conv(node) && get_Conv_strict(node);
371 }
372
373 static inline int _is_SymConst_addr_ent(const ir_node *node)
374 {
375         return is_SymConst(node) && get_SymConst_kind(node) == symconst_addr_ent;
376 }
377
378 static inline int _get_Block_n_cfgpreds(const ir_node *node)
379 {
380         assert(_is_Block(node));
381         return _get_irn_arity(node);
382 }
383
384 static inline ir_node *_get_Block_cfgpred(const ir_node *node, int pos)
385 {
386         assert(0 <= pos && pos < get_irn_arity(node));
387         assert(_is_Block(node));
388         return _get_irn_n(node, pos);
389 }
390
391 /* Get the predecessor block.
392  *
393  *  Returns the block corresponding to the predecessor pos.
394  *
395  *  There are several ambiguities we resolve with this function:
396  *  - The direct predecessor can be a Proj, which is not pinned.
397  *    We walk from the predecessor to the next pinned node
398  *    (skip_Proj) and return the block that node is in.
399  *  - If we encounter the Bad node, this function does not return
400  *    the Start block, but the Bad node.
401  */
402 static inline ir_node  *_get_Block_cfgpred_block(const ir_node *node, int pos)
403 {
404         ir_node *res = skip_Proj(get_Block_cfgpred(node, pos));
405         if (!is_Bad(res))
406                 res = get_nodes_block(res);
407         return res;
408 }
409
410 static inline ir_visited_t _get_Block_block_visited(const ir_node *node)
411 {
412         assert(is_Block(node));
413         return node->attr.block.block_visited;
414 }
415
416 static inline void _set_Block_block_visited(ir_node *node, ir_visited_t visit)
417 {
418         assert(is_Block(node));
419         node->attr.block.block_visited = visit;
420 }
421
422 static inline void _mark_Block_block_visited(ir_node *node)
423 {
424         ir_graph *irg = get_Block_irg(node);
425         node->attr.block.block_visited = get_irg_block_visited(irg);
426 }
427
428 static inline int _Block_block_visited(const ir_node *node)
429 {
430         ir_graph *irg = get_Block_irg(node);
431         return node->attr.block.block_visited >= get_irg_block_visited(irg);
432 }
433
434 static inline ir_node *_set_Block_dead(ir_node *block)
435 {
436         assert(_get_irn_op(block) == op_Block);
437         block->attr.block.dom.dom_depth = -1;
438         block->attr.block.is_dead = 1;
439         return block;
440 }
441
442 static inline int _is_Block_dead(const ir_node *block)
443 {
444         ir_op *op = _get_irn_op(block);
445
446         if (op == op_Bad)
447                 return 1;
448         else {
449                 assert(op == op_Block);
450                 return block->attr.block.is_dead;
451         }
452 }
453
454 static inline ir_graph *_get_Block_irg(const ir_node *block)
455 {
456         assert(is_Block(block));
457         return block->attr.irg.irg;
458 }
459
460 static inline tarval *_get_Const_tarval(const ir_node *node) {
461         assert(_get_irn_op(node) == op_Const);
462         return node->attr.con.tarval;
463 }
464
465 static inline int _is_Const_null(const ir_node *node) {
466         return tarval_is_null(_get_Const_tarval(node));
467 }
468
469 static inline int _is_Const_one(const ir_node *node) {
470         return tarval_is_one(_get_Const_tarval(node));
471 }
472
473 static inline int _is_Const_all_one(const ir_node *node) {
474         return tarval_is_all_one(_get_Const_tarval(node));
475 }
476
477 static inline int _is_irn_forking(const ir_node *node) {
478         return is_op_forking(_get_irn_op(node));
479 }
480
481 static inline ir_type *_get_irn_type(ir_node *node) {
482         return _get_irn_op(node)->ops.get_type(node);
483 }
484
485 static inline ir_type *_get_irn_type_attr(ir_node *node) {
486         return _get_irn_op(node)->ops.get_type_attr(node);
487 }
488
489 static inline ir_entity *_get_irn_entity_attr(ir_node *node) {
490   return _get_irn_op(node)->ops.get_entity_attr(node);
491 }
492
493 static inline int _is_irn_constlike(const ir_node *node) {
494         return is_op_constlike(_get_irn_op(node));
495 }
496
497 static inline int _is_irn_always_opt(const ir_node *node) {
498         return is_op_always_opt(_get_irn_op(node));
499 }
500
501 static inline int _is_irn_keep(const ir_node *node) {
502         return is_op_keep(_get_irn_op(node));
503 }
504
505 static inline int _is_irn_start_block_placed(const ir_node *node) {
506         return is_op_start_block_placed(_get_irn_op(node));
507 }
508
509 static inline int _is_irn_machine_op(const ir_node *node) {
510         return is_op_machine(_get_irn_op(node));
511 }
512
513 static inline int _is_irn_machine_operand(const ir_node *node) {
514         return is_op_machine_operand(_get_irn_op(node));
515 }
516
517 static inline int _is_irn_machine_user(const ir_node *node, unsigned n) {
518         return is_op_machine_user(_get_irn_op(node), n);
519 }
520
521 static inline int _is_irn_cse_neutral(const ir_node *node) {
522         return is_op_cse_neutral(_get_irn_op(node));
523 }
524
525 static inline cond_jmp_predicate _get_Cond_jmp_pred(const ir_node *node) {
526         assert(_get_irn_op(node) == op_Cond);
527         return node->attr.cond.jmp_pred;
528 }
529
530 static inline void _set_Cond_jmp_pred(ir_node *node, cond_jmp_predicate pred) {
531         assert(_get_irn_op(node) == op_Cond);
532         node->attr.cond.jmp_pred = pred;
533 }
534
535 static inline void *_get_irn_generic_attr(ir_node *node) {
536         return &node->attr;
537 }
538
539 static inline const void *_get_irn_generic_attr_const(const ir_node *node) {
540         return &node->attr;
541 }
542
543 static inline unsigned _get_irn_idx(const ir_node *node) {
544         return node->node_idx;
545 }
546
547 static inline dbg_info *_get_irn_dbg_info(const ir_node *n) {
548         return n->dbi;
549 }  /* get_irn_dbg_info */
550
551 static inline void _set_irn_dbg_info(ir_node *n, dbg_info *db) {
552         n->dbi = db;
553 }
554
555 /**
556  * Sets the Phi list of a block.
557  */
558 static inline void _set_Block_phis(ir_node *block, ir_node *phi)
559 {
560         assert(_is_Block(block));
561         assert(phi == NULL || _is_Phi(phi));
562         block->attr.block.phis = phi;
563 }
564
565 /**
566  * Returns the link of a node.
567  * Intern version of libFirm.
568  */
569 static inline ir_node *_get_Block_phis(const ir_node *block)
570 {
571         assert(_is_Block(block));
572         return block->attr.block.phis;
573 }
574
575 static inline void _set_Phi_next(ir_node *phi, ir_node *next)
576 {
577         assert(_is_Phi(phi));
578         phi->attr.phi.next = next;
579 }
580
581 static inline ir_node *_get_Phi_next(const ir_node *phi)
582 {
583         assert(_is_Phi(phi));
584         return phi->attr.phi.next;
585 }
586
587 /** Add a Phi node to the list of Block Phi's. */
588 static inline void _add_Block_phi(ir_node *block, ir_node *phi)
589 {
590         _set_Phi_next(phi, _get_Block_phis(block));
591         _set_Block_phis(block, phi);
592 }
593
594 /** Get the Block mark (single bit). */
595 static inline unsigned _get_Block_mark(const ir_node *block)
596 {
597         assert(_is_Block(block));
598         return block->attr.block.marked;
599 }
600
601 /** Set the Block mark (single bit). */
602 static inline void _set_Block_mark(ir_node *block, unsigned mark)
603 {
604         assert(_is_Block(block));
605         block->attr.block.marked = mark;
606 }
607
608 /** Returns non-zero if a node is a routine parameter. */
609 static inline int _is_arg_Proj(const ir_node *node)
610 {
611         if (! is_Proj(node))
612                 return 0;
613         node = get_Proj_pred(node);
614         if (! is_Proj(node))
615                 return 0;
616         return pn_Start_T_args == get_Proj_proj(node) && is_Start(get_Proj_pred(node));
617 }
618
619 /** initialize ir_node module */
620 void init_irnode(void);
621
622 /* this section MUST contain all inline functions */
623 #define is_ir_node(thing)                     _is_ir_node(thing)
624 #define get_irn_arity(node)                   _get_irn_arity(node)
625 #define get_irn_n(node, n)                    _get_irn_n(node, n)
626 #define get_irn_mode(node)                    _get_irn_mode(node)
627 #define set_irn_mode(node, mode)              _set_irn_mode(node, mode)
628 #define get_irn_irg(node)                     _get_irn_irg(node)
629 #define get_nodes_block(node)                 _get_nodes_block(node)
630 #define get_irn_op(node)                      _get_irn_op(node)
631 #define set_irn_op(node, op)                  _set_irn_op(node, op)
632 #define get_irn_opcode(node)                  _get_irn_opcode(node)
633 #define get_irn_visited(node)                 _get_irn_visited(node)
634 #define set_irn_visited(node, v)              _set_irn_visited(node, v)
635 #define mark_irn_visited(node)                _mark_irn_visited(node)
636 #define irn_visited(node)                     _irn_visited(node)
637 #define irn_visited_else_mark(node)           _irn_visited_else_mark(node)
638 #define set_irn_link(node, link)              _set_irn_link(node, link)
639 #define get_irn_link(node)                    _get_irn_link(node)
640 #define get_irn_pinned(node)                  _get_irn_pinned(node)
641 #define is_irn_pinned_in_irg(node)            _is_irn_pinned_in_irg(node)
642 #define is_unop(node)                         _is_unop(node)
643 #define is_binop(node)                        _is_binop(node)
644 #define is_Proj(node)                         _is_Proj(node)
645 #define is_Phi(node)                          _is_Phi(node)
646 #define is_strictConv(node)                   _is_strictConv(node)
647 #define is_SymConst_addr_ent(node)            _is_SymConst_addr_ent(node)
648 #define get_Block_n_cfgpreds(node)            _get_Block_n_cfgpreds(node)
649 #define get_Block_cfgpred(node, pos)          _get_Block_cfgpred(node, pos)
650 #define get_Block_cfgpred_block(node, pos)    _get_Block_cfgpred_block(node, pos)
651 #define get_Block_block_visited(node)         _get_Block_block_visited(node)
652 #define set_Block_block_visited(node, visit)  _set_Block_block_visited(node, visit)
653 #define mark_Block_block_visited(node)        _mark_Block_block_visited(node)
654 #define Block_block_visited(node)             _Block_block_visited(node)
655 #define set_Block_dead(block)                 _set_Block_dead(block)
656 #define is_Block_dead(block)                  _is_Block_dead(block)
657 #define get_Block_irg(block)                  _get_Block_irg(block)
658 #define get_Const_tarval(node)                _get_Const_tarval(node)
659 #define is_Const_null(node)                   _is_Const_null(node)
660 #define is_Const_one(node)                    _is_Const_one(node)
661 #define is_Const_all_one(node)                _is_Const_all_one(node)
662 #define is_irn_forking(node)                  _is_irn_forking(node)
663 #define copy_node_attr(irg,oldn,newn)         _copy_node_attr(irg,oldn,newn)
664 #define get_irn_type(node)                    _get_irn_type(node)
665 #define get_irn_type_attr(node)               _get_irn_type_attr(node)
666 #define get_irn_entity_attr(node)             _get_irn_entity_attr(node)
667 #define is_irn_constlike(node)                _is_irn_constlike(node)
668 #define is_irn_always_opt(node)               _is_irn_always_opt(node)
669 #define is_irn_keep(node)                     _is_irn_keep(node)
670 #define is_irn_start_block_placed(node)       _is_irn_start_block_placed(node)
671 #define is_irn_machine_op(node)               _is_irn_machine_op(node)
672 #define is_irn_machine_operand(node)          _is_irn_machine_operand(node)
673 #define is_irn_machine_user(node, n)          _is_irn_machine_user(node, n)
674 #define is_irn_cse_neutral(node)              _is_irn_cse_neutral(node)
675 #define get_Cond_jmp_pred(node)               _get_Cond_jmp_pred(node)
676 #define set_Cond_jmp_pred(node, pred)         _set_Cond_jmp_pred(node, pred)
677 #define get_irn_generic_attr(node)            _get_irn_generic_attr(node)
678 #define get_irn_generic_attr_const(node)      _get_irn_generic_attr_const(node)
679 #define get_irn_idx(node)                     _get_irn_idx(node)
680
681 #define get_irn_deps(node)                    _get_irn_deps(node)
682 #define set_irn_dep(node, pos, dep)           _set_irn_dep(node, pos, dep)
683 #define get_irn_dep(node, pos)                _get_irn_dep(node, pos)
684
685 #define get_irn_ins_or_deps(node)             _get_irn_ins_or_deps(node)
686 #define get_irn_in_or_dep(node, pos)          _get_irn_in_or_dep(node, pos)
687
688 #define get_irn_dbg_info(node)                _get_irn_dbg_info(node)
689 #define set_irn_dbg_info(node, db)            _set_irn_dbg_info(node, db)
690
691 #define set_Block_phis(block, phi)            _set_Block_phis(block, phi)
692 #define get_Block_phis(block)                 _get_Block_phis(block)
693 #define add_Block_phi(block, phi)             _add_Block_phi(block, phi)
694 #define get_Block_mark(block)                 _get_Block_mark(block)
695 #define set_Block_mark(block, mark)           _set_Block_mark(block, mark)
696
697 #define set_Phi_next(node, phi)               _set_Phi_next(node, phi)
698 #define get_Phi_next(node)                    _get_Phi_next(node)
699
700 #define is_arg_Proj(node)                     _is_arg_Proj(node)
701
702 #endif