2 ** Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
3 ** All rights reserved.
5 ** Authors: Christian Schaefer
7 ** irop.h operators of firm nodes
9 ** This module specifies the opcodes possible for ir nodes. Their
10 ** definition is close to the operations specified in UKA Tech-Report 1999-44
22 iro_Start, iro_End, iro_Jmp, iro_Cond, iro_Return, iro_Raise,
23 iro_Const, iro_SymConst,
25 iro_Call, iro_Add, iro_Sub, iro_Minus, iro_Mul, iro_Quot, iro_DivMod,
26 iro_Div, iro_Mod, iro_Abs, iro_And, iro_Or, iro_Eor, iro_Not,
27 iro_Cmp, iro_Shl, iro_Shr, iro_Shrs, iro_Rot, iro_Conv,
29 iro_Load, iro_Store, iro_Alloc, iro_Free, iro_Sync,
30 iro_Proj, iro_Tuple, iro_Id, iro_Bad
40 extern ir_op *op_Block;
42 extern ir_op *op_Start;
45 extern ir_op *op_Cond;
46 extern ir_op *op_Return;
47 extern ir_op *op_Raise;
50 extern ir_op *op_Const;
51 extern ir_op *op_SymConst;
53 extern ir_op *op_Call;
56 extern ir_op *op_Minus;
58 extern ir_op *op_Quot;
59 extern ir_op *op_DivMod;
70 extern ir_op *op_Shrs;
72 extern ir_op *op_Conv;
76 extern ir_op *op_Load;
77 extern ir_op *op_Store;
78 extern ir_op *op_Alloc;
79 extern ir_op *op_Free;
81 extern ir_op *op_Sync;
83 extern ir_op *op_Tuple;
84 extern ir_op *op_Proj;
88 /* create a new ir operation */
89 ir_op * new_ir_op (opcode code, ident *name, size_t attr_size, int labeled);
91 /* initialize the irop module */
94 /* returns the attribute size of the operator. */
95 int get_op_attr_size (ir_op *op);
98 # endif /* _IROP_H_ */