1/* Warning: automatically generated code */ 2 3ir_op *op_ASM; ir_op *get_op_ASM(void) { return op_ASM; } 4ir_op *op_Add; ir_op *get_op_Add(void) { return op_Add; } 5ir_op *op_Alloc; ir_op *get_op_Alloc(void) { return op_Alloc; } 6ir_op *op_Anchor; ir_op *get_op_Anchor(void) { return op_Anchor; } 7ir_op *op_And; ir_op *get_op_And(void) { return op_And; } 8ir_op *op_Bad; ir_op *get_op_Bad(void) { return op_Bad; } 9ir_op *op_Block; ir_op *get_op_Block(void) { return op_Block; } 10ir_op *op_Borrow; ir_op *get_op_Borrow(void) { return op_Borrow; } 11ir_op *op_Bound; ir_op *get_op_Bound(void) { return op_Bound; } 12ir_op *op_Builtin; ir_op *get_op_Builtin(void) { return op_Builtin; } 13ir_op *op_Call; ir_op *get_op_Call(void) { return op_Call; } 14ir_op *op_Carry; ir_op *get_op_Carry(void) { return op_Carry; } 15ir_op *op_Cast; ir_op *get_op_Cast(void) { return op_Cast; } 16ir_op *op_Cmp; ir_op *get_op_Cmp(void) { return op_Cmp; } 17ir_op *op_Cond; ir_op *get_op_Cond(void) { return op_Cond; } 18ir_op *op_Confirm; ir_op *get_op_Confirm(void) { return op_Confirm; } 19ir_op *op_Const; ir_op *get_op_Const(void) { return op_Const; } 20ir_op *op_Conv; ir_op *get_op_Conv(void) { return op_Conv; } 21ir_op *op_CopyB; ir_op *get_op_CopyB(void) { return op_CopyB; } 22ir_op *op_Deleted; ir_op *get_op_Deleted(void) { return op_Deleted; } 23ir_op *op_Div; ir_op *get_op_Div(void) { return op_Div; } 24ir_op *op_Dummy; ir_op *get_op_Dummy(void) { return op_Dummy; } 25ir_op *op_End; ir_op *get_op_End(void) { return op_End; } 26ir_op *op_Eor; ir_op *get_op_Eor(void) { return op_Eor; } 27ir_op *op_Free; ir_op *get_op_Free(void) { return op_Free; } 28ir_op *op_IJmp; ir_op *get_op_IJmp(void) { return op_IJmp; } 29ir_op *op_Id; ir_op *get_op_Id(void) { return op_Id; } 30ir_op *op_InstOf; ir_op *get_op_InstOf(void) { return op_InstOf; } 31ir_op *op_Jmp; ir_op *get_op_Jmp(void) { return op_Jmp; } 32ir_op *op_Load; ir_op *get_op_Load(void) { return op_Load; } 33ir_op *op_Minus; ir_op *get_op_Minus(void) { return op_Minus; } 34ir_op *op_Mod; ir_op *get_op_Mod(void) { return op_Mod; } 35ir_op *op_Mul; ir_op *get_op_Mul(void) { return op_Mul; } 36ir_op *op_Mulh; ir_op *get_op_Mulh(void) { return op_Mulh; } 37ir_op *op_Mux; ir_op *get_op_Mux(void) { return op_Mux; } 38ir_op *op_NoMem; ir_op *get_op_NoMem(void) { return op_NoMem; } 39ir_op *op_Not; ir_op *get_op_Not(void) { return op_Not; } 40ir_op *op_Or; ir_op *get_op_Or(void) { return op_Or; } 41ir_op *op_Phi; ir_op *get_op_Phi(void) { return op_Phi; } 42ir_op *op_Pin; ir_op *get_op_Pin(void) { return op_Pin; } 43ir_op *op_Proj; ir_op *get_op_Proj(void) { return op_Proj; } 44ir_op *op_Raise; ir_op *get_op_Raise(void) { return op_Raise; } 45ir_op *op_Return; ir_op *get_op_Return(void) { return op_Return; } 46ir_op *op_Rotl; ir_op *get_op_Rotl(void) { return op_Rotl; } 47ir_op *op_Sel; ir_op *get_op_Sel(void) { return op_Sel; } 48ir_op *op_Shl; ir_op *get_op_Shl(void) { return op_Shl; } 49ir_op *op_Shr; ir_op *get_op_Shr(void) { return op_Shr; } 50ir_op *op_Shrs; ir_op *get_op_Shrs(void) { return op_Shrs; } 51ir_op *op_Start; ir_op *get_op_Start(void) { return op_Start; } 52ir_op *op_Store; ir_op *get_op_Store(void) { return op_Store; } 53ir_op *op_Sub; ir_op *get_op_Sub(void) { return op_Sub; } 54ir_op *op_Switch; ir_op *get_op_Switch(void) { return op_Switch; } 55ir_op *op_SymConst; ir_op *get_op_SymConst(void) { return op_SymConst; } 56ir_op *op_Sync; ir_op *get_op_Sync(void) { return op_Sync; } 57ir_op *op_Tuple; ir_op *get_op_Tuple(void) { return op_Tuple; } 58ir_op *op_Unknown; ir_op *get_op_Unknown(void) { return op_Unknown; } 59 60static void generated_init_op(void) 61{ 62 op_ASM = new_ir_op(iro_ASM, "ASM", op_pin_state_mem_pinned, irop_flag_keep | irop_flag_uses_memory, oparity_variable, -1, sizeof(asm_attr)); 63 ir_op_set_memory_index(op_ASM, n_ASM_mem); 64 op_Add = new_ir_op(iro_Add, "Add", op_pin_state_floats, irop_flag_commutative, oparity_binary, 0, 0); 65 op_Alloc = new_ir_op(iro_Alloc, "Alloc", op_pin_state_exc_pinned, irop_flag_fragile | irop_flag_uses_memory, oparity_binary, -1, sizeof(alloc_attr)); 66 ir_op_set_memory_index(op_Alloc, n_Alloc_mem); 67 ir_op_set_fragile_indices(op_Alloc, pn_Alloc_X_regular, pn_Alloc_X_except); 68 op_Anchor = new_ir_op(iro_Anchor, "Anchor", op_pin_state_pinned, irop_flag_dump_noblock, oparity_variable, -1, sizeof(irg_attr)); 69 op_And = new_ir_op(iro_And, "And", op_pin_state_floats, irop_flag_commutative, oparity_binary, 0, 0); 70 op_Bad = new_ir_op(iro_Bad, "Bad", op_pin_state_pinned, irop_flag_start_block | irop_flag_dump_noblock, oparity_zero, -1, sizeof(bad_attr)); 71 op_Block = new_ir_op(iro_Block, "Block", op_pin_state_pinned, irop_flag_none, oparity_variable, -1, sizeof(block_attr)); 72 op_Borrow = new_ir_op(iro_Borrow, "Borrow", op_pin_state_floats, irop_flag_none, oparity_binary, 0, 0); 73 op_Bound = new_ir_op(iro_Bound, "Bound", op_pin_state_exc_pinned, irop_flag_fragile | irop_flag_highlevel, oparity_any, -1, sizeof(bound_attr)); 74 ir_op_set_fragile_indices(op_Bound, pn_Bound_X_regular, pn_Bound_X_except); 75 op_Builtin = new_ir_op(iro_Builtin, "Builtin", op_pin_state_mem_pinned, irop_flag_uses_memory, oparity_variable, -1, sizeof(builtin_attr)); 76 ir_op_set_memory_index(op_Builtin, n_Builtin_mem); 77 op_Call = new_ir_op(iro_Call, "Call", op_pin_state_mem_pinned, irop_flag_fragile | irop_flag_uses_memory, oparity_variable, -1, sizeof(call_attr)); 78 ir_op_set_memory_index(op_Call, n_Call_mem); 79 ir_op_set_fragile_indices(op_Call, pn_Call_X_regular, pn_Call_X_except); 80 op_Carry = new_ir_op(iro_Carry, "Carry", op_pin_state_floats, irop_flag_commutative, oparity_binary, 0, 0); 81 op_Cast = new_ir_op(iro_Cast, "Cast", op_pin_state_floats, irop_flag_highlevel, oparity_unary, 0, sizeof(cast_attr)); 82 op_Cmp = new_ir_op(iro_Cmp, "Cmp", op_pin_state_floats, irop_flag_none, oparity_binary, 0, sizeof(cmp_attr)); 83 op_Cond = new_ir_op(iro_Cond, "Cond", op_pin_state_pinned, irop_flag_cfopcode | irop_flag_forking, oparity_unary, -1, sizeof(cond_attr)); 84 op_Confirm = new_ir_op(iro_Confirm, "Confirm", op_pin_state_pinned, irop_flag_highlevel, oparity_binary, -1, sizeof(confirm_attr)); 85 op_Const = new_ir_op(iro_Const, "Const", op_pin_state_floats, irop_flag_constlike | irop_flag_start_block, oparity_zero, -1, sizeof(const_attr)); 86 op_Conv = new_ir_op(iro_Conv, "Conv", op_pin_state_floats, irop_flag_none, oparity_unary, 0, 0); 87 op_CopyB = new_ir_op(iro_CopyB, "CopyB", op_pin_state_mem_pinned, irop_flag_fragile | irop_flag_uses_memory, oparity_trinary, -1, sizeof(copyb_attr)); 88 ir_op_set_memory_index(op_CopyB, n_CopyB_mem); 89 ir_op_set_fragile_indices(op_CopyB, pn_CopyB_X_regular, pn_CopyB_X_except); 90 op_Deleted = new_ir_op(iro_Deleted, "Deleted", op_pin_state_pinned, irop_flag_none, oparity_zero, -1, 0); 91 op_Div = new_ir_op(iro_Div, "Div", op_pin_state_exc_pinned, irop_flag_fragile | irop_flag_uses_memory, oparity_binary, 1, sizeof(div_attr)); 92 ir_op_set_memory_index(op_Div, n_Div_mem); 93 ir_op_set_fragile_indices(op_Div, pn_Div_X_regular, pn_Div_X_except); 94 op_Dummy = new_ir_op(iro_Dummy, "Dummy", op_pin_state_pinned, irop_flag_cfopcode | irop_flag_start_block | irop_flag_constlike | irop_flag_dump_noblock, oparity_zero, -1, 0); 95 op_End = new_ir_op(iro_End, "End", op_pin_state_pinned, irop_flag_cfopcode, oparity_dynamic, -1, 0); 96 op_Eor = new_ir_op(iro_Eor, "Eor", op_pin_state_floats, irop_flag_commutative, oparity_binary, 0, 0); 97 op_Free = new_ir_op(iro_Free, "Free", op_pin_state_pinned, irop_flag_uses_memory, oparity_trinary, -1, sizeof(free_attr)); 98 ir_op_set_memory_index(op_Free, n_Free_mem); 99 op_IJmp = new_ir_op(iro_IJmp, "IJmp", op_pin_state_pinned, irop_flag_cfopcode | irop_flag_forking | irop_flag_keep | irop_flag_unknown_jump, oparity_unary, -1, 0); 100 op_Id = new_ir_op(iro_Id, "Id", op_pin_state_floats, irop_flag_none, oparity_unary, -1, 0); 101 op_InstOf = new_ir_op(iro_InstOf, "InstOf", op_pin_state_mem_pinned, irop_flag_highlevel, oparity_binary, -1, sizeof(io_attr)); 102 op_Jmp = new_ir_op(iro_Jmp, "Jmp", op_pin_state_pinned, irop_flag_cfopcode, oparity_zero, -1, 0); 103 op_Load = new_ir_op(iro_Load, "Load", op_pin_state_exc_pinned, irop_flag_fragile | irop_flag_uses_memory, oparity_binary, -1, sizeof(load_attr)); 104 ir_op_set_memory_index(op_Load, n_Load_mem); 105 ir_op_set_fragile_indices(op_Load, pn_Load_X_regular, pn_Load_X_except); 106 op_Minus = new_ir_op(iro_Minus, "Minus", op_pin_state_floats, irop_flag_none, oparity_unary, 0, 0); 107 op_Mod = new_ir_op(iro_Mod, "Mod", op_pin_state_exc_pinned, irop_flag_fragile | irop_flag_uses_memory, oparity_binary, 1, sizeof(mod_attr)); 108 ir_op_set_memory_index(op_Mod, n_Mod_mem); 109 ir_op_set_fragile_indices(op_Mod, pn_Mod_X_regular, pn_Mod_X_except); 110 op_Mul = new_ir_op(iro_Mul, "Mul", op_pin_state_floats, irop_flag_commutative, oparity_binary, 0, 0); 111 op_Mulh = new_ir_op(iro_Mulh, "Mulh", op_pin_state_floats, irop_flag_commutative, oparity_binary, 0, 0); 112 op_Mux = new_ir_op(iro_Mux, "Mux", op_pin_state_floats, irop_flag_none, oparity_trinary, -1, 0); 113 op_NoMem = new_ir_op(iro_NoMem, "NoMem", op_pin_state_pinned, irop_flag_dump_noblock, oparity_zero, -1, 0); 114 op_Not = new_ir_op(iro_Not, "Not", op_pin_state_floats, irop_flag_none, oparity_unary, 0, 0); 115 op_Or = new_ir_op(iro_Or, "Or", op_pin_state_floats, irop_flag_commutative, oparity_binary, 0, 0); 116 op_Phi = new_ir_op(iro_Phi, "Phi", op_pin_state_pinned, irop_flag_none, oparity_variable, -1, sizeof(phi_attr)); 117 op_Pin = new_ir_op(iro_Pin, "Pin", op_pin_state_pinned, irop_flag_highlevel, oparity_unary, -1, 0); 118 op_Proj = new_ir_op(iro_Proj, "Proj", op_pin_state_floats, irop_flag_none, oparity_unary, -1, sizeof(proj_attr)); 119 op_Raise = new_ir_op(iro_Raise, "Raise", op_pin_state_pinned, irop_flag_highlevel | irop_flag_cfopcode, oparity_binary, -1, 0); 120 op_Return = new_ir_op(iro_Return, "Return", op_pin_state_pinned, irop_flag_cfopcode, oparity_variable, -1, 0); 121 op_Rotl = new_ir_op(iro_Rotl, "Rotl", op_pin_state_floats, irop_flag_none, oparity_binary, 0, 0); 122 op_Sel = new_ir_op(iro_Sel, "Sel", op_pin_state_floats, irop_flag_none, oparity_variable, -1, sizeof(sel_attr)); 123 op_Shl = new_ir_op(iro_Shl, "Shl", op_pin_state_floats, irop_flag_none, oparity_binary, 0, 0); 124 op_Shr = new_ir_op(iro_Shr, "Shr", op_pin_state_floats, irop_flag_none, oparity_binary, 0, 0); 125 op_Shrs = new_ir_op(iro_Shrs, "Shrs", op_pin_state_floats, irop_flag_none, oparity_binary, 0, 0); 126 op_Start = new_ir_op(iro_Start, "Start", op_pin_state_pinned, irop_flag_cfopcode, oparity_zero, -1, 0); 127 op_Store = new_ir_op(iro_Store, "Store", op_pin_state_exc_pinned, irop_flag_fragile | irop_flag_uses_memory, oparity_trinary, -1, sizeof(store_attr)); 128 ir_op_set_memory_index(op_Store, n_Store_mem); 129 ir_op_set_fragile_indices(op_Store, pn_Store_X_regular, pn_Store_X_except); 130 op_Sub = new_ir_op(iro_Sub, "Sub", op_pin_state_floats, irop_flag_none, oparity_binary, 0, 0); 131 op_Switch = new_ir_op(iro_Switch, "Switch", op_pin_state_pinned, irop_flag_cfopcode | irop_flag_forking, oparity_unary, -1, sizeof(switch_attr)); 132 op_SymConst = new_ir_op(iro_SymConst, "SymConst", op_pin_state_floats, irop_flag_constlike | irop_flag_start_block, oparity_zero, -1, sizeof(symconst_attr)); 133 op_Sync = new_ir_op(iro_Sync, "Sync", op_pin_state_floats, irop_flag_none, oparity_dynamic, -1, 0); 134 op_Tuple = new_ir_op(iro_Tuple, "Tuple", op_pin_state_floats, irop_flag_none, oparity_variable, -1, 0); 135 op_Unknown = new_ir_op(iro_Unknown, "Unknown", op_pin_state_pinned, irop_flag_start_block | irop_flag_constlike | irop_flag_dump_noblock, oparity_zero, -1, 0); 136} 137 138static void generated_finish_op(void) 139{ 140 free_ir_op(op_ASM); op_ASM = NULL; 141 free_ir_op(op_Add); op_Add = NULL; 142 free_ir_op(op_Alloc); op_Alloc = NULL; 143 free_ir_op(op_Anchor); op_Anchor = NULL; 144 free_ir_op(op_And); op_And = NULL; 145 free_ir_op(op_Bad); op_Bad = NULL; 146 free_ir_op(op_Block); op_Block = NULL; 147 free_ir_op(op_Borrow); op_Borrow = NULL; 148 free_ir_op(op_Bound); op_Bound = NULL; 149 free_ir_op(op_Builtin); op_Builtin = NULL; 150 free_ir_op(op_Call); op_Call = NULL; 151 free_ir_op(op_Carry); op_Carry = NULL; 152 free_ir_op(op_Cast); op_Cast = NULL; 153 free_ir_op(op_Cmp); op_Cmp = NULL; 154 free_ir_op(op_Cond); op_Cond = NULL; 155 free_ir_op(op_Confirm); op_Confirm = NULL; 156 free_ir_op(op_Const); op_Const = NULL; 157 free_ir_op(op_Conv); op_Conv = NULL; 158 free_ir_op(op_CopyB); op_CopyB = NULL; 159 free_ir_op(op_Deleted); op_Deleted = NULL; 160 free_ir_op(op_Div); op_Div = NULL; 161 free_ir_op(op_Dummy); op_Dummy = NULL; 162 free_ir_op(op_End); op_End = NULL; 163 free_ir_op(op_Eor); op_Eor = NULL; 164 free_ir_op(op_Free); op_Free = NULL; 165 free_ir_op(op_IJmp); op_IJmp = NULL; 166 free_ir_op(op_Id); op_Id = NULL; 167 free_ir_op(op_InstOf); op_InstOf = NULL; 168 free_ir_op(op_Jmp); op_Jmp = NULL; 169 free_ir_op(op_Load); op_Load = NULL; 170 free_ir_op(op_Minus); op_Minus = NULL; 171 free_ir_op(op_Mod); op_Mod = NULL; 172 free_ir_op(op_Mul); op_Mul = NULL; 173 free_ir_op(op_Mulh); op_Mulh = NULL; 174 free_ir_op(op_Mux); op_Mux = NULL; 175 free_ir_op(op_NoMem); op_NoMem = NULL; 176 free_ir_op(op_Not); op_Not = NULL; 177 free_ir_op(op_Or); op_Or = NULL; 178 free_ir_op(op_Phi); op_Phi = NULL; 179 free_ir_op(op_Pin); op_Pin = NULL; 180 free_ir_op(op_Proj); op_Proj = NULL; 181 free_ir_op(op_Raise); op_Raise = NULL; 182 free_ir_op(op_Return); op_Return = NULL; 183 free_ir_op(op_Rotl); op_Rotl = NULL; 184 free_ir_op(op_Sel); op_Sel = NULL; 185 free_ir_op(op_Shl); op_Shl = NULL; 186 free_ir_op(op_Shr); op_Shr = NULL; 187 free_ir_op(op_Shrs); op_Shrs = NULL; 188 free_ir_op(op_Start); op_Start = NULL; 189 free_ir_op(op_Store); op_Store = NULL; 190 free_ir_op(op_Sub); op_Sub = NULL; 191 free_ir_op(op_Switch); op_Switch = NULL; 192 free_ir_op(op_SymConst); op_SymConst = NULL; 193 free_ir_op(op_Sync); op_Sync = NULL; 194 free_ir_op(op_Tuple); op_Tuple = NULL; 195 free_ir_op(op_Unknown); op_Unknown = NULL; 196} 197