removed exc.h from libfirm interface
[libfirm] / ir / ir / irop_t.h
1 /*
2  * Project:     libFIRM
3  * File name:   ir/ir/irop_t.h
4  * Purpose:     Representation of opcode of intermediate operation -- private header.
5  * Author:      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 # ifndef _IROP_T_H_
15 # define _IROP_T_H_
16
17 # include "irop.h"
18
19 /** the type of an ir_op */
20 struct ir_op {
21   opcode code;
22   ident *name;
23   size_t attr_size;     /**< Space needed in memory for private attributes */
24   int labeled;          /**< Output edge labels on in-edges in vcg graph */
25   int pinned;           /**< How to deal with the node in cse, pre. */
26 };
27
28 /** create a new ir operation */
29 ir_op * new_ir_op (opcode code, char *name, op_pinned p,
30                    int labeled, size_t attr_size);
31
32 /** initialize the irop module */
33 void init_op (void);
34
35 #endif