some fixes for xml dumper / still buggy.
[libfirm] / ir / ir / irop_t.h
1
2 /* $Id$ */
3
4 # ifndef _IROP_T_H_
5 # define _IROP_T_H_
6
7 # include "irop.h"
8
9 /** the type of an ir_op */
10 struct ir_op {
11   opcode code;
12   ident *name;
13   size_t attr_size;     /**< Space needed in memory for private attributes */
14   int labeled;          /**< Output edge labels on in-edges in vcg graph */
15   int pinned;           /**< How to deal with the node in cse, pre. */
16 };
17
18 /** create a new ir operation */
19 ir_op * new_ir_op (opcode code, char *name, op_pinned p,
20                    int labeled, size_t attr_size);
21
22 /** initialize the irop module */
23 void init_op (void);
24
25 #endif