get_irn_generic_attr() added, needed for backends that use it's own
[libfirm] / ir / ir / irnode_t.h
1 /*
2  * Project:     libFIRM
3  * File name:   ir/ir/irnode_t.h
4  * Purpose:     Representation of an intermediate operation -- private header.
5  * Author:      Martin Trapp, Christian Schaefer
6  * Modified by: Goetz Lindenmaier
7  * Created:
8  * CVS-ID:      $Id$
9  * Copyright:   (c) 1998-2003 Universität Karlsruhe
10  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
11  */
12
13 /**
14  * @file irnode_t.h
15  *
16  * Declarations of an ir node.
17  *
18  * @author Martin Trapp, Christian Schaefer
19  */
20
21 # ifndef _IRNODE_T_H_
22 # define _IRNODE_T_H_
23
24 #include "firm_config.h"
25 #include "irnode.h"
26 #include "irop_t.h"
27 #include "irgraph_t.h"
28 #include "irflag_t.h"
29 #include "firm_common_t.h"
30 #include "irdom_t.h" /* For size of struct dom_info. */
31 #include "dbginfo.h"
32 #include "irloop.h"
33 #include "array.h"
34
35 #include "set.h"
36 #include "list.h"
37 #include "entity_t.h"
38 #include "type_t.h"
39 #include "tv_t.h"
40 #include "irextbb_t.h"
41
42
43 /** ir node attributes **/
44
45 /** Block attributes */
46 typedef struct {
47   /* General attributes */
48   ir_graph *irg;
49   unsigned long block_visited;  /**< for the walker that walks over all blocks. */
50   /* Attributes private to construction: */
51   unsigned matured:1;         /**< if set, all in-nodes of the block are fixed */
52   unsigned dead:1;            /**< if set, the block is dead (and could be replace by a Bad */
53   struct ir_node **graph_arr; /**< array to store all parameters */
54   /* Attributes holding analyses information */
55   struct dom_info dom;        /**< Datastructure that holds information about dominators.
56                  @@@ @todo
57                  Eventually overlay with graph_arr as only valid
58                  in different phases.  Eventually inline the whole
59                  datastructure. */
60   /*   exc_t exc;  */            /**< role of this block for exception handling */
61   /*   ir_node *handler_entry; */    /**< handler entry block iff this block is part of a region */
62   ir_node ** in_cg;           /**< array with predecessors in
63                    * interprocedural_view, if they differ
64                    * from intraprocedural predecessors */
65   int *backedge;              /**< Field n set to true if pred n is backedge.
66                      @@@ @todo Ev. replace by bitfield! */
67   int *cg_backedge;           /**< Field n set to true if pred n is interprocedural backedge.
68                      @@@ @todo Ev. replace by bitfield! */
69   ir_extblk *extblk;          /**< the extended basic block this block belongs to */
70
71   struct list_head succ_head; /**< A list head for all successor edges of a block. */
72
73 } block_attr;
74
75 /** Start attributes */
76 typedef struct {
77   char dummy;
78   /*   ir_graph *irg;   @@@ now in block */
79 } start_attr;
80
81 /** Cond attributes */
82 typedef struct {
83   cond_kind kind;    /**< flavor of Cond */
84   long default_proj; /**< for optimization: biggest Proj number, i.e. the one
85                           used for default. */
86 } cond_attr;
87
88 /** Const attributes */
89 typedef struct {
90   tarval *tv;        /**< the target value */
91   type   *tp;        /**< the source type, for analyses. default: type_unknown. */
92 } const_attr;
93
94 typedef struct {
95   symconst_symbol sym;  // old tori
96   symconst_kind num;
97   type *tp;          /**< the source type, for analyses. default: type_unknown. */
98 } symconst_attr;
99
100 /** Sel attributes */
101 typedef struct {
102   entity *ent;          /**< entity to select */
103 } sel_attr;
104
105 /** Exception attributes */
106 typedef struct {
107   op_pin_state   pin_state;     /**< the pin state for operations that might generate a exception:
108                                      If it's know that no exception will be generated, could be set to
109                                      op_pin_state_floats. */
110 #if PRECISE_EXC_CONTEXT
111   struct ir_node **frag_arr;    /**< For Phi node construction in case of exception */
112 #endif
113 } except_attr;
114
115 typedef struct {
116   except_attr    exc;           /**< the exception attribute. MUST be the first one. */
117   type *cld_tp;                 /**< type of called procedure */
118   entity ** callee_arr;         /**< result of callee analysis */
119 } call_attr;
120
121 /** Alloc attributes */
122 typedef struct {
123   except_attr    exc;           /**< the exception attribute. MUST be the first one. */
124   type *type;                   /**< Type of the allocated object.  */
125   where_alloc where;            /**< stack, heap or other managed part of memory */
126 } alloc_attr;
127
128 /** Free attributes */
129 typedef struct {
130   type *type;                   /**< Type of the allocated object.  */
131   where_alloc where;            /**< stack, heap or other managed part of memory */
132 } free_attr;
133
134 /** InstOf attributes */
135 typedef struct
136 {
137   type *ent;
138   int dfn;
139 } io_attr;
140
141 /** Filter attributes */
142 typedef struct {
143   long proj;                 /**< contains the result position to project (Proj) */
144   ir_node ** in_cg;          /**< array with interprocedural predecessors (Phi) */
145   int *backedge;              /**< Field n set to true if pred n is backedge.
146                      @todo Ev. replace by bitfield! */
147 } filter_attr;
148
149 /** EndReg/EndExcept attributes */
150 typedef struct {
151   char dummy;
152 } end_attr;
153
154 /** CallBegin attributes */
155 typedef struct {
156   ir_node * call;            /**< associated Call-operation */
157 } callbegin_attr;
158
159 /** Cast attributes */
160 typedef struct {
161   type *totype;
162 } cast_attr;
163
164 /** Load attributes */
165 typedef struct {
166   except_attr    exc;           /**< the exception attribute. MUST be the first one. */
167   ir_mode        *load_mode;    /**< the mode of this Load operation */
168   ent_volatility volatility;    /**< the volatility of a Load/Store operation */
169 } load_attr;
170
171 /** Store attributes */
172 typedef struct {
173   except_attr    exc;           /**< the exception attribute. MUST be the first one. */
174   ent_volatility volatility;    /**< the volatility of a Store operation */
175 } store_attr;
176
177 typedef pn_Cmp confirm_attr;    /**< Attribute to hold compare operation */
178
179 /**
180  * Edge info to put into an irn.
181  */
182 typedef struct _irn_edge_info_t {
183   struct list_head outs_head;  /**< The list of all outs */
184   int out_count;               /**< number of outs in the list */
185 } irn_edge_info_t;
186
187
188 /** Some irnodes just have one attribute, these are stored here,
189    some have more. Their name is 'irnodename_attr' */
190 typedef union {
191   start_attr     start; /**< For Start */
192   block_attr     block; /**< For Block: Fields needed to construct it */
193   cond_attr      c;     /**< For Cond. */
194   const_attr     con;   /**< For Const: contains the value of the constant and a type */
195   symconst_attr  i;     /**< For SymConst. */
196   sel_attr       s;     /**< For Sel. */
197   call_attr      call;  /**< For Call: pointer to the type of the method to call */
198   callbegin_attr callbegin; /**< For CallBegin */
199   alloc_attr     a;    /**< For Alloc. */
200   free_attr      f;    /**< For Free. */
201   io_attr        io;    /**< For InstOf */
202   cast_attr      cast;  /**< For Cast. */
203   load_attr      load;  /**< For Load. */
204   store_attr     store;  /**< For Store. */
205   int            phi0_pos;  /**< For Phi. Used to remember the value defined by
206                    this Phi node.  Needed when the Phi is completed
207                    to call get_r_internal_value to find the
208                    predecessors. If this attribute is set, the Phi
209                    node takes the role of the obsolete Phi0 node,
210                    therefore the name. */
211   int *phi_backedge;    /**< For Phi after construction.
212                            Field n set to true if pred n is backedge.
213                            @todo Ev. replace by bitfield! */
214   long           proj;  /**< For Proj: contains the result position to project */
215   confirm_attr   confirm_cmp;   /**< For Confirm: compare operation */
216   filter_attr    filter;    /**< For Filter */
217   end_attr       end;       /**< For EndReg, EndExcept */
218   except_attr    except; /**< For Phi node construction in case of exceptions */
219 } attr;
220
221
222 /** common structure of an irnode
223     if the node has some attributes, they are stored in attr */
224 struct ir_node {
225   /* ------- Basics of the representation  ------- */
226   firm_kind kind;          /**< distinguishes this node from others */
227   ir_op *op;               /**< Opcode of this node. */
228   ir_mode *mode;           /**< Mode of this node. */
229   unsigned long visited;   /**< visited counter for walks of the graph */
230   struct ir_node **in;     /**< array with predecessors / operands */
231   void *link;              /**< to attach additional information to the node, e.g.
232                               used while construction to link Phi0 nodes and
233                               during optimization to link to nodes that
234                               shall replace a node. */
235   /* ------- Fields for optimizations / analysis information ------- */
236   struct ir_node **out;    /**< @deprecated array of out edges. */
237   struct dbg_info* dbi;    /**< A pointer to information for debug support. */
238   /* ------- For debugging ------- */
239 #ifdef DEBUG_libfirm
240         int out_valid;
241   int node_nr;             /**< a unique node number for each node to make output
242                               readable. */
243 #endif
244   /* ------- For analyses -------- */
245   ir_loop *loop;           /**< the loop the node is in. Access routines in irloop.h */
246 #ifdef  DO_HEAPANALYSIS
247   struct abstval *av;
248   struct section *sec;
249 #endif
250 #if FIRM_EDGES_INPLACE
251   irn_edge_info_t edge_info;  /**< everlasting out edges */
252 #endif
253   /* ------- Opcode depending fields -------- */
254   attr attr;               /**< attribute of this node. Depends on opcode.
255                               Must be last field of struct ir_node. */
256 };
257
258
259 /** Returns the array with the ins.  The content of the array may not be
260    changed.  */
261 ir_node     **get_irn_in            (const ir_node *node);
262
263 /** @{ */
264 /** access attributes directly */
265 const_attr    get_irn_const_attr    (ir_node *node);
266 long          get_irn_proj_attr     (ir_node *node);
267 alloc_attr    get_irn_alloc_attr    (ir_node *node);
268 free_attr     get_irn_free_attr     (ir_node *node);
269 symconst_attr get_irn_symconst_attr (ir_node *node);
270 type         *get_irn_call_attr     (ir_node *node);
271 type         *get_irn_funccall_attr (ir_node *node);
272 sel_attr      get_irn_sel_attr      (ir_node *node);
273 int           get_irn_phi_attr      (ir_node *node);
274 block_attr    get_irn_block_attr    (ir_node *node);
275 load_attr     get_irn_load_attr     (ir_node *node);
276 store_attr    get_irn_store_attr    (ir_node *node);
277 except_attr   get_irn_except_attr   (ir_node *node);
278 void         *get_irn_generic_attr  (ir_node *node);
279 /** @} */
280
281 /**
282  * The amount of additional space for custom data to be allocated upon creating a new node.
283  */
284 extern unsigned firm_add_node_size;
285
286 /** Set the get_type operation of an ir_op. */
287 ir_op *firm_set_default_get_type(ir_op *op);
288
289 /*-------------------------------------------------------------------*/
290 /*  These function are most used in libfirm.  Give them as static    */
291 /*  functions so they can be inlined.                                */
292 /*-------------------------------------------------------------------*/
293
294 /**
295  * Checks whether a pointer points to a ir node.
296  * Intern version for libFirm.
297  */
298 static INLINE int
299 _is_ir_node (const void *thing) {
300   return (get_kind(thing) == k_ir_node);
301 }
302
303 /**
304  * Gets the op of a node.
305  * Intern version for libFirm.
306  */
307 static INLINE ir_op *
308 _get_irn_op (const ir_node *node) {
309   assert (node);
310   return node->op;
311 }
312
313 /** Copies all attributes stored in the old node  to the new node.
314     Assumes both have the same opcode and sufficient size. */
315 static INLINE void
316 copy_node_attr(const ir_node *old_node, ir_node *new_node) {
317   ir_op *op = _get_irn_op(old_node);
318
319   /* must always exist */
320   op->copy_attr(old_node, new_node);
321 }
322
323 /**
324  * Gets the opcode of a node.
325  * Intern version for libFirm.
326  */
327 static INLINE opcode
328 _get_irn_opcode (const ir_node *node) {
329   assert (k_ir_node == get_kind(node));
330   assert (node->op);
331   return node->op->code;
332 }
333
334 /**
335  * Returns the number of predecessors without the block predecessor.
336  * Intern version for libFirm.
337  */
338 static INLINE int
339 _get_irn_intra_arity (const ir_node *node) {
340   assert(node);
341   return ARR_LEN(node->in) - 1;
342 }
343
344 /**
345  * Returns the number of predecessors without the block predecessor.
346  * Intern version for libFirm.
347  */
348 static INLINE int
349 _get_irn_inter_arity (const ir_node *node) {
350   assert(node);
351   if (_get_irn_opcode(node) == iro_Filter) {
352     assert(node->attr.filter.in_cg);
353     return ARR_LEN(node->attr.filter.in_cg) - 1;
354   } else if (_get_irn_opcode(node) == iro_Block && node->attr.block.in_cg) {
355     return ARR_LEN(node->attr.block.in_cg) - 1;
356   }
357   return _get_irn_intra_arity(node);
358 }
359
360 /**
361  * Returns the number of predecessors without the block predecessor.
362  * Intern version for libFirm.
363  */
364 extern int (*_get_irn_arity)(const ir_node *node);
365
366 /**
367  * Intern version for libFirm.
368  */
369 static INLINE ir_node *
370 _get_irn_intra_n (const ir_node *node, int n) {
371   assert(node); assert(-1 <= n && n < _get_irn_intra_arity(node));
372
373   return (node->in[n + 1] = skip_Id(node->in[n + 1]));
374 }
375
376 /**
377  * Intern version for libFirm.
378  */
379 static INLINE ir_node*
380 _get_irn_inter_n (const ir_node *node, int n) {
381   assert(node); assert(-1 <= n && n < _get_irn_inter_arity(node));
382
383   /* handle Filter and Block specially */
384   if (_get_irn_op(node) == op_Filter) {
385     assert(node->attr.filter.in_cg);
386     return (node->attr.filter.in_cg[n + 1] = skip_Id(node->attr.filter.in_cg[n + 1]));
387   } else if (_get_irn_op(node) == op_Block && node->attr.block.in_cg) {
388     return (node->attr.block.in_cg[n + 1] = skip_Id(node->attr.block.in_cg[n + 1]));
389   }
390
391   return _get_irn_intra_n (node, n);
392 }
393
394 /**
395  * Access to the predecessors of a node.
396  * To iterate over the operands iterate from 0 to i < get_irn_arity(),
397  * to iterate including the Block predecessor iterate from i = -1 to
398  * i < get_irn_arity.
399  * If it is a block, the entry -1 is NULL.
400  * Intern version for libFirm.
401  */
402 extern ir_node *(*_get_irn_n)(const ir_node *node, int n);
403
404 /**
405  * Gets the mode of a node.
406  * Intern version for libFirm.
407  */
408 static INLINE ir_mode *
409 _get_irn_mode (const ir_node *node)
410 {
411   assert (node);
412   return node->mode;
413 }
414
415 /**
416  * Sets the mode of a node.
417  * Intern version of libFirm.
418  */
419 static INLINE void
420 _set_irn_mode (ir_node *node, ir_mode *mode)
421 {
422   assert (node);
423   node->mode = mode;
424 }
425
426 /**
427  * Gets the visited counter of a node.
428  * Intern version for libFirm.
429  */
430 static INLINE unsigned long
431 _get_irn_visited (const ir_node *node)
432 {
433   assert (node);
434   return node->visited;
435 }
436
437 /**
438  * Sets the visited counter of a node.
439  * Intern version for libFirm.
440  */
441 static INLINE void
442 _set_irn_visited (ir_node *node, unsigned long visited)
443 {
444   assert (node);
445   node->visited = visited;
446 }
447
448 /**
449  * Mark a node as visited in a graph.
450  * Intern version for libFirm.
451  */
452 static INLINE void
453 _mark_irn_visited (ir_node *node) {
454   assert (node);
455   node->visited = current_ir_graph->visited;
456 }
457
458 /**
459  * Returns non-zero if a node of was visited.
460  * Intern version for libFirm.
461  */
462 static INLINE int
463 _irn_visited(const ir_node *node) {
464   assert (node);
465   return (node->visited >= current_ir_graph->visited);
466 }
467
468 /**
469  * Returns non-zero if a node of was NOT visited.
470  * Intern version for libFirm.
471  */
472 static INLINE int
473 _irn_not_visited(const ir_node *node) {
474   assert (node);
475   return (node->visited < current_ir_graph->visited);
476 }
477
478 /**
479  * Sets the link of a node.
480  * Intern version of libFirm.
481  */
482 static INLINE void
483 _set_irn_link(ir_node *node, void *link) {
484   assert (node);
485   /* Link field is used for Phi construction and various optimizations
486      in iropt. */
487   assert(get_irg_phase_state(current_ir_graph) != phase_building);
488
489   node->link = link;
490 }
491
492 /**
493  * Returns the link of a node.
494  * Intern version of libFirm.
495  */
496 static INLINE void *
497 _get_irn_link(const ir_node *node) {
498   assert (node && _is_ir_node(node));
499   return node->link;
500 }
501
502 /**
503  * Returns whether the node _always_ must be pinned.
504  * I.e., the node is not floating after global cse.
505  *
506  * Intern version of libFirm.
507  */
508 static INLINE op_pin_state
509 _get_irn_pinned(const ir_node *node) {
510   op_pin_state state;
511   assert(node && _is_ir_node(node));
512   /* Check opcode */
513   state = _get_op_pinned(_get_irn_op(node));
514
515   if (state >= op_pin_state_exc_pinned)
516     return get_opt_fragile_ops() ? node->attr.except.pin_state : op_pin_state_pinned;
517   return state;
518 }
519
520 static INLINE op_pin_state
521 _is_irn_pinned_in_irg(const ir_node *node) {
522   if (get_irg_pinned(get_irn_irg(node)) == op_pin_state_floats)
523     return get_irn_pinned(node);
524   return op_pin_state_pinned;
525 }
526
527 static INLINE int
528 _is_unop(const ir_node *node) {
529   assert(node && _is_ir_node(node));
530   return (node->op->opar == oparity_unary);
531 }
532
533 static INLINE int
534 _is_binop(const ir_node *node) {
535   assert(node && _is_ir_node(node));
536   return (node->op->opar == oparity_binary);
537 }
538
539 static INLINE int
540 _is_Bad(const ir_node *node) {
541   assert(node);
542   return (node && _get_irn_op(node) == op_Bad);
543 }
544
545 static INLINE int
546 _is_Const(const ir_node *node) {
547   assert(node);
548   return (node && _get_irn_op(node) == op_Const);
549 }
550
551 static INLINE int
552 _is_Unknown (const ir_node *node) {
553   assert(node);
554   return (node && _get_irn_op(node) == op_Unknown);
555 }
556
557 static INLINE int
558 _is_no_Block(const ir_node *node) {
559   assert(node && _is_ir_node(node));
560   return (_get_irn_op(node) != op_Block);
561 }
562
563 static INLINE int
564 _is_Block(const ir_node *node) {
565   assert(node && _is_ir_node(node));
566   return (_get_irn_op(node) == op_Block);
567 }
568
569 static INLINE int
570 _get_Block_n_cfgpreds (ir_node *node) {
571   assert(_is_Block(node));
572   return _get_irn_arity(node);
573 }
574
575 static INLINE ir_node *
576 _get_Block_cfgpred (ir_node *node, int pos) {
577   assert(0 <= pos && pos < get_irn_arity(node));
578   assert(_is_Block(node));
579   return _get_irn_n(node, pos);
580 }
581
582 /* Get the predecessor block.
583  *
584  *  Returns the block corresponding to the predecessor pos.
585  *
586  *  There are several ambiguities we resolve with this function:
587  *  - The direct predecessor can be a Proj, which is not pinned.
588  *    We walk from the predecessor to the next pinned node
589  *    (skip_Proj) and return the block that node is in.
590  *  - If we encounter the Bad node, this function does not return
591  *    Start, but the Bad node.
592  */
593 static INLINE ir_node  *
594 _get_Block_cfgpred_block(ir_node *node, int pos) {
595   ir_node *res = skip_Proj(get_Block_cfgpred(node, pos));
596   if (!is_Bad(res))
597     res = get_nodes_block(res);
598   return res;
599 }
600
601 static INLINE unsigned long
602 _get_Block_block_visited (ir_node *node) {
603   assert (node->op == op_Block);
604   return node->attr.block.block_visited;
605 }
606
607 static INLINE void
608 _set_Block_block_visited (ir_node *node, unsigned long visit) {
609   assert (node->op == op_Block);
610   node->attr.block.block_visited = visit;
611 }
612
613 /* For this current_ir_graph must be set. */
614 static INLINE void
615 _mark_Block_block_visited (ir_node *node) {
616   assert (node->op == op_Block);
617   node->attr.block.block_visited = get_irg_block_visited(current_ir_graph);
618 }
619
620 static INLINE int
621 _Block_not_block_visited(ir_node *node) {
622   assert (node->op == op_Block);
623   return (node->attr.block.block_visited < get_irg_block_visited(current_ir_graph));
624 }
625
626 static INLINE ir_node *
627 _set_Block_dead(ir_node *block) {
628   assert(_get_irn_op(block) == op_Block);
629   block->attr.block.dead = 1;
630   return block;
631 }
632
633 static INLINE int
634 _is_Block_dead(const ir_node *block) {
635   ir_op * op = _get_irn_op(block);
636
637   if (op == op_Bad)
638     return 1;
639   else {
640     assert(op == op_Block);
641     return block->attr.block.dead;
642   }
643 }
644
645 static INLINE tarval *_get_Const_tarval (ir_node *node) {
646   assert (_get_irn_op(node) == op_Const);
647   return node->attr.con.tv;
648 }
649
650 static INLINE cnst_classify_t _classify_Const(ir_node *node) {
651   ir_op *op;
652   assert(_is_ir_node(node));
653
654   op = _get_irn_op(node);
655
656   if(op == op_Const)
657     return classify_tarval(_get_Const_tarval(node));
658   else if(op == op_SymConst)
659     return CNST_SYMCONST;
660
661   return CNST_NO_CONST;
662 }
663
664 static INLINE type *_get_irn_type(ir_node *node) {
665   return _get_irn_op(node)->get_type(node);
666 }
667
668 /* this section MUST contain all inline functions */
669 #define is_ir_node(thing)                     _is_ir_node(thing)
670 #define get_irn_intra_arity(node)             _get_irn_intra_arity(node)
671 #define get_irn_inter_arity(node)             _get_irn_inter_arity(node)
672 #define get_irn_arity(node)                   _get_irn_arity(node)
673 #define get_irn_intra_n(node, n)              _get_irn_intra_n(node, n)
674 #define get_irn_inter_n(node, n)              _get_irn_inter_n(node, n)
675 #define get_irn_n(node, n)                    _get_irn_n(node, n)
676 #define get_irn_mode(node)                    _get_irn_mode(node)
677 #define set_irn_mode(node, mode)              _set_irn_mode(node, mode)
678 #define get_irn_op(node)                      _get_irn_op(node)
679 #define get_irn_opcode(node)                  _get_irn_opcode(node)
680 #define get_irn_visited(node)                 _get_irn_visited(node)
681 #define set_irn_visited(node, v)              _set_irn_visited(node, v)
682 #define mark_irn_visited(node)                _mark_irn_visited(node)
683 #define irn_visited(node)                     _irn_visited(node)
684 #define irn_not_visited(node)                 _irn_not_visited(node)
685 #define set_irn_link(node, link)              _set_irn_link(node, link)
686 #define get_irn_link(node)                    _get_irn_link(node)
687 #define get_irn_pinned(node)                  _get_irn_pinned(node)
688 #define is_irn_pinned_in_irg(node)            _is_irn_pinned_in_irg(node)
689 #define is_unop(node)                         _is_unop(node)
690 #define is_binop(node)                        _is_binop(node)
691 #define is_Const(node)                        _is_Const(node)
692 #define is_Unknown(node)                      _is_Unknown(node)
693 #define is_Bad(node)                          _is_Bad(node)
694 #define is_no_Block(node)                     _is_no_Block(node)
695 #define is_Block(node)                        _is_Block(node)
696 #define get_Block_n_cfgpreds(node)            _get_Block_n_cfgpreds(node)
697 #define get_Block_cfgpred(node, pos)          _get_Block_cfgpred(node, pos)
698 #define get_Block_cfgpred_block(node, pos)    _get_Block_cfgpred_block(node, pos)
699 #define get_Block_block_visited(node)         _get_Block_block_visited(node)
700 #define set_Block_block_visited(node, visit)  _set_Block_block_visited(node, visit)
701 #define mark_Block_block_visited(node)        _mark_Block_block_visited(node)
702 #define Block_not_block_visited(node)         _Block_not_block_visited(node)
703 #define set_Block_dead(block)                 _set_Block_dead(block)
704 #define is_Block_dead(block)                  _is_Block_dead(block)
705 #define get_Const_tarval(node)                _get_Const_tarval(node)
706 #define classify_Const(node)                  _classify_Const(node)
707 #define get_irn_type(node)                    _get_irn_type(node)
708
709 # endif /* _IRNODE_T_H_ */