update NOTICE and LICENSE
[nit.git] / c_src / allocate_iregister_slots._sep.h
1 /* This C header file is generated by NIT to compile modules and programs that requires allocate_iregister_slots. */
2 #ifndef allocate_iregister_slots_sep
3 #define allocate_iregister_slots_sep
4 #include "icode._sep.h"
5 #include "primitive_info._sep.h"
6 #include <nit_common.h>
7
8 extern const classtable_elt_t VFT_IRegisterSlotAllocationVisitor[];
9
10 extern const classtable_elt_t VFT_SlotGroup[];
11 extern const char *LOCATE_allocate_iregister_slots;
12 extern const int SFT_allocate_iregister_slots[];
13 #define ID_IRegisterSlotAllocationVisitor (SFT_allocate_iregister_slots[0])
14 #define COLOR_IRegisterSlotAllocationVisitor (SFT_allocate_iregister_slots[1])
15 #define ATTR_allocate_iregister_slots___IRegisterSlotAllocationVisitor____pass(recv) ATTR(recv, (SFT_allocate_iregister_slots[2] + 0))
16 #define ATTR_allocate_iregister_slots___IRegisterSlotAllocationVisitor____current_rank(recv) ATTR(recv, (SFT_allocate_iregister_slots[2] + 1))
17 #define ATTR_allocate_iregister_slots___IRegisterSlotAllocationVisitor____max_rank(recv) ATTR(recv, (SFT_allocate_iregister_slots[2] + 2))
18 #define ATTR_allocate_iregister_slots___IRegisterSlotAllocationVisitor____deferred_list(recv) ATTR(recv, (SFT_allocate_iregister_slots[2] + 3))
19 #define ATTR_allocate_iregister_slots___IRegisterSlotAllocationVisitor____current_ir(recv) ATTR(recv, (SFT_allocate_iregister_slots[2] + 4))
20 #define ATTR_allocate_iregister_slots___IRegisterSlotAllocationVisitor____global_slots(recv) ATTR(recv, (SFT_allocate_iregister_slots[2] + 5))
21 #define ATTR_allocate_iregister_slots___IRegisterSlotAllocationVisitor____std_slots(recv) ATTR(recv, (SFT_allocate_iregister_slots[2] + 6))
22 #define ATTR_allocate_iregister_slots___IRegisterSlotAllocationVisitor____tag_slots(recv) ATTR(recv, (SFT_allocate_iregister_slots[2] + 7))
23 #define INIT_TABLE_POS_IRegisterSlotAllocationVisitor (SFT_allocate_iregister_slots[3] + 0)
24 #define CALL_allocate_iregister_slots___IRegisterSlotAllocationVisitor___mark_locality(recv) ((allocate_iregister_slots___IRegisterSlotAllocationVisitor___mark_locality_t)CALL((recv), (SFT_allocate_iregister_slots[3] + 1)))
25 #define CALL_allocate_iregister_slots___IRegisterSlotAllocationVisitor___deferred_free(recv) ((allocate_iregister_slots___IRegisterSlotAllocationVisitor___deferred_free_t)CALL((recv), (SFT_allocate_iregister_slots[3] + 2)))
26 #define CALL_SUPER_allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_icode(recv) ((allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_icode_t)CALL((recv), (SFT_allocate_iregister_slots[3] + 3)))
27 #define CALL_SUPER_allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_closure_defs(recv) ((allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_closure_defs_t)CALL((recv), (SFT_allocate_iregister_slots[3] + 4)))
28 #define CALL_SUPER_allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iroutine(recv) ((allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iroutine_t)CALL((recv), (SFT_allocate_iregister_slots[3] + 5)))
29 #define CALL_allocate_iregister_slots___IRegisterSlotAllocationVisitor___register(recv) ((allocate_iregister_slots___IRegisterSlotAllocationVisitor___register_t)CALL((recv), (SFT_allocate_iregister_slots[3] + 6)))
30 #define CALL_allocate_iregister_slots___IRegisterSlotAllocationVisitor___free(recv) ((allocate_iregister_slots___IRegisterSlotAllocationVisitor___free_t)CALL((recv), (SFT_allocate_iregister_slots[3] + 7)))
31 #define CALL_allocate_iregister_slots___IRegisterSlotAllocationVisitor___iroutine_slot_allocation(recv) ((allocate_iregister_slots___IRegisterSlotAllocationVisitor___iroutine_slot_allocation_t)CALL((recv), (SFT_allocate_iregister_slots[3] + 8)))
32 #define CALL_allocate_iregister_slots___IRegisterSlotAllocationVisitor___init(recv) ((allocate_iregister_slots___IRegisterSlotAllocationVisitor___init_t)CALL((recv), (SFT_allocate_iregister_slots[3] + 9)))
33 #define ID_SlotGroup (SFT_allocate_iregister_slots[4])
34 #define COLOR_SlotGroup (SFT_allocate_iregister_slots[5])
35 #define ATTR_allocate_iregister_slots___SlotGroup____free(recv) ATTR(recv, (SFT_allocate_iregister_slots[6] + 0))
36 #define ATTR_allocate_iregister_slots___SlotGroup____next_index(recv) ATTR(recv, (SFT_allocate_iregister_slots[6] + 1))
37 #define INIT_TABLE_POS_SlotGroup (SFT_allocate_iregister_slots[7] + 0)
38 #define CALL_allocate_iregister_slots___SlotGroup___register(recv) ((allocate_iregister_slots___SlotGroup___register_t)CALL((recv), (SFT_allocate_iregister_slots[7] + 1)))
39 #define CALL_allocate_iregister_slots___SlotGroup___free(recv) ((allocate_iregister_slots___SlotGroup___free_t)CALL((recv), (SFT_allocate_iregister_slots[7] + 2)))
40 #define CALL_allocate_iregister_slots___SlotGroup___init(recv) ((allocate_iregister_slots___SlotGroup___init_t)CALL((recv), (SFT_allocate_iregister_slots[7] + 3)))
41 #define ATTR_allocate_iregister_slots___IRoutine____std_slots_nb(recv) ATTR(recv, (SFT_allocate_iregister_slots[8] + 0))
42 #define ATTR_allocate_iregister_slots___IRoutine____tag_slots_nb(recv) ATTR(recv, (SFT_allocate_iregister_slots[8] + 1))
43 #define CALL_allocate_iregister_slots___IRoutine___std_slots_nb(recv) ((allocate_iregister_slots___IRoutine___std_slots_nb_t)CALL((recv), (SFT_allocate_iregister_slots[9] + 0)))
44 #define CALL_allocate_iregister_slots___IRoutine___tag_slots_nb(recv) ((allocate_iregister_slots___IRoutine___tag_slots_nb_t)CALL((recv), (SFT_allocate_iregister_slots[9] + 1)))
45 #define CALL_allocate_iregister_slots___IRoutine___allocate_iregister_slots(recv) ((allocate_iregister_slots___IRoutine___allocate_iregister_slots_t)CALL((recv), (SFT_allocate_iregister_slots[9] + 2)))
46 #define ATTR_allocate_iregister_slots___IRegister____slot_index(recv) ATTR(recv, (SFT_allocate_iregister_slots[10] + 0))
47 #define ATTR_allocate_iregister_slots___IRegister____is_local(recv) ATTR(recv, (SFT_allocate_iregister_slots[10] + 1))
48 #define ATTR_allocate_iregister_slots___IRegister____local_iroutine(recv) ATTR(recv, (SFT_allocate_iregister_slots[10] + 2))
49 #define ATTR_allocate_iregister_slots___IRegister____in_tag_slots(recv) ATTR(recv, (SFT_allocate_iregister_slots[10] + 3))
50 #define ATTR_allocate_iregister_slots___IRegister____first(recv) ATTR(recv, (SFT_allocate_iregister_slots[10] + 4))
51 #define ATTR_allocate_iregister_slots___IRegister____last(recv) ATTR(recv, (SFT_allocate_iregister_slots[10] + 5))
52 #define ATTR_allocate_iregister_slots___IRegister____born_rank(recv) ATTR(recv, (SFT_allocate_iregister_slots[10] + 6))
53 #define CALL_allocate_iregister_slots___IRegister___slot_index(recv) ((allocate_iregister_slots___IRegister___slot_index_t)CALL((recv), (SFT_allocate_iregister_slots[11] + 0)))
54 #define CALL_allocate_iregister_slots___IRegister___slot_index__eq(recv) ((allocate_iregister_slots___IRegister___slot_index__eq_t)CALL((recv), (SFT_allocate_iregister_slots[11] + 1)))
55 #define CALL_allocate_iregister_slots___IRegister___is_local(recv) ((allocate_iregister_slots___IRegister___is_local_t)CALL((recv), (SFT_allocate_iregister_slots[11] + 2)))
56 #define CALL_allocate_iregister_slots___IRegister___is_local__eq(recv) ((allocate_iregister_slots___IRegister___is_local__eq_t)CALL((recv), (SFT_allocate_iregister_slots[11] + 3)))
57 #define CALL_allocate_iregister_slots___IRegister___local_iroutine(recv) ((allocate_iregister_slots___IRegister___local_iroutine_t)CALL((recv), (SFT_allocate_iregister_slots[11] + 4)))
58 #define CALL_allocate_iregister_slots___IRegister___local_iroutine__eq(recv) ((allocate_iregister_slots___IRegister___local_iroutine__eq_t)CALL((recv), (SFT_allocate_iregister_slots[11] + 5)))
59 #define CALL_allocate_iregister_slots___IRegister___in_tag_slots(recv) ((allocate_iregister_slots___IRegister___in_tag_slots_t)CALL((recv), (SFT_allocate_iregister_slots[11] + 6)))
60 #define CALL_allocate_iregister_slots___IRegister___in_tag_slots__eq(recv) ((allocate_iregister_slots___IRegister___in_tag_slots__eq_t)CALL((recv), (SFT_allocate_iregister_slots[11] + 7)))
61 static const char * const LOCATE_allocate_iregister_slots___IRegisterSlotAllocationVisitor___mark_locality = "allocate_iregister_slots::IRegisterSlotAllocationVisitor::mark_locality";
62 void allocate_iregister_slots___IRegisterSlotAllocationVisitor___mark_locality(val_t p0, val_t p1);
63 typedef void (*allocate_iregister_slots___IRegisterSlotAllocationVisitor___mark_locality_t)(val_t p0, val_t p1);
64 static const char * const LOCATE_allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iregister_read = "allocate_iregister_slots::IRegisterSlotAllocationVisitor::(icode_tools::ICodeVisitor::visit_iregister_read)";
65 void allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iregister_read(val_t p0, val_t p1, val_t p2);
66 typedef void (*allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iregister_read_t)(val_t p0, val_t p1, val_t p2);
67 static const char * const LOCATE_allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iregister_write = "allocate_iregister_slots::IRegisterSlotAllocationVisitor::(icode_tools::ICodeVisitor::visit_iregister_write)";
68 void allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iregister_write(val_t p0, val_t p1, val_t p2);
69 typedef void (*allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iregister_write_t)(val_t p0, val_t p1, val_t p2);
70 static const char * const LOCATE_allocate_iregister_slots___IRegisterSlotAllocationVisitor___deferred_free = "allocate_iregister_slots::IRegisterSlotAllocationVisitor::deferred_free";
71 void allocate_iregister_slots___IRegisterSlotAllocationVisitor___deferred_free(val_t p0);
72 typedef void (*allocate_iregister_slots___IRegisterSlotAllocationVisitor___deferred_free_t)(val_t p0);
73 static const char * const LOCATE_allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_icode = "allocate_iregister_slots::IRegisterSlotAllocationVisitor::(icode_tools::ICodeVisitor::visit_icode)";
74 void allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_icode(val_t p0, val_t p1);
75 typedef void (*allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_icode_t)(val_t p0, val_t p1);
76 static const char * const LOCATE_allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_closure_defs = "allocate_iregister_slots::IRegisterSlotAllocationVisitor::(icode_tools::ICodeVisitor::visit_closure_defs)";
77 void allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_closure_defs(val_t p0, val_t p1);
78 typedef void (*allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_closure_defs_t)(val_t p0, val_t p1);
79 static const char * const LOCATE_allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iroutine = "allocate_iregister_slots::IRegisterSlotAllocationVisitor::(icode_tools::ICodeVisitor::visit_iroutine)";
80 void allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iroutine(val_t p0, val_t p1);
81 typedef void (*allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iroutine_t)(val_t p0, val_t p1);
82 typedef void (*CLOS_OC_allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iroutine_1_0)(struct stack_frame_t *);
83 void OC_allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iroutine_1(struct stack_frame_t *closctx, val_t p0, struct stack_frame_t *closctx_param, fun_t clos_fun0);
84 typedef void (*OC_allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iroutine_1_t)(struct stack_frame_t *closctx, val_t p0, struct stack_frame_t *closctx_param, fun_t clos_fun0);
85 typedef void (*CLOS_OC_allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iroutine_2_0)(struct stack_frame_t *);
86 void OC_allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iroutine_2(struct stack_frame_t *closctx, val_t p0, struct stack_frame_t *closctx_param, fun_t clos_fun0);
87 typedef void (*OC_allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iroutine_2_t)(struct stack_frame_t *closctx, val_t p0, struct stack_frame_t *closctx_param, fun_t clos_fun0);
88 static const char * const LOCATE_allocate_iregister_slots___IRegisterSlotAllocationVisitor___register = "allocate_iregister_slots::IRegisterSlotAllocationVisitor::register";
89 void allocate_iregister_slots___IRegisterSlotAllocationVisitor___register(val_t p0, val_t p1);
90 typedef void (*allocate_iregister_slots___IRegisterSlotAllocationVisitor___register_t)(val_t p0, val_t p1);
91 static const char * const LOCATE_allocate_iregister_slots___IRegisterSlotAllocationVisitor___free = "allocate_iregister_slots::IRegisterSlotAllocationVisitor::free";
92 void allocate_iregister_slots___IRegisterSlotAllocationVisitor___free(val_t p0, val_t p1);
93 typedef void (*allocate_iregister_slots___IRegisterSlotAllocationVisitor___free_t)(val_t p0, val_t p1);
94 static const char * const LOCATE_allocate_iregister_slots___IRegisterSlotAllocationVisitor___iroutine_slot_allocation = "allocate_iregister_slots::IRegisterSlotAllocationVisitor::iroutine_slot_allocation";
95 void allocate_iregister_slots___IRegisterSlotAllocationVisitor___iroutine_slot_allocation(val_t p0);
96 typedef void (*allocate_iregister_slots___IRegisterSlotAllocationVisitor___iroutine_slot_allocation_t)(val_t p0);
97 static const char * const LOCATE_allocate_iregister_slots___IRegisterSlotAllocationVisitor___init = "allocate_iregister_slots::IRegisterSlotAllocationVisitor::init";
98 void allocate_iregister_slots___IRegisterSlotAllocationVisitor___init(val_t p0, val_t p1, int* init_table);
99 typedef void (*allocate_iregister_slots___IRegisterSlotAllocationVisitor___init_t)(val_t p0, val_t p1, int* init_table);
100 val_t NEW_IRegisterSlotAllocationVisitor_allocate_iregister_slots___IRegisterSlotAllocationVisitor___init(val_t p0);
101 static const char * const LOCATE_allocate_iregister_slots___SlotGroup___register = "allocate_iregister_slots::SlotGroup::register";
102 void allocate_iregister_slots___SlotGroup___register(val_t p0, val_t p1);
103 typedef void (*allocate_iregister_slots___SlotGroup___register_t)(val_t p0, val_t p1);
104 static const char * const LOCATE_allocate_iregister_slots___SlotGroup___free = "allocate_iregister_slots::SlotGroup::free";
105 void allocate_iregister_slots___SlotGroup___free(val_t p0, val_t p1);
106 typedef void (*allocate_iregister_slots___SlotGroup___free_t)(val_t p0, val_t p1);
107 static const char * const LOCATE_allocate_iregister_slots___SlotGroup___init = "allocate_iregister_slots::SlotGroup::init";
108 void allocate_iregister_slots___SlotGroup___init(val_t p0, int* init_table);
109 typedef void (*allocate_iregister_slots___SlotGroup___init_t)(val_t p0, int* init_table);
110 val_t NEW_SlotGroup_allocate_iregister_slots___SlotGroup___init();
111 static const char * const LOCATE_allocate_iregister_slots___IRoutine___std_slots_nb = "allocate_iregister_slots::IRoutine::std_slots_nb";
112 val_t allocate_iregister_slots___IRoutine___std_slots_nb(val_t p0);
113 typedef val_t (*allocate_iregister_slots___IRoutine___std_slots_nb_t)(val_t p0);
114 static const char * const LOCATE_allocate_iregister_slots___IRoutine___tag_slots_nb = "allocate_iregister_slots::IRoutine::tag_slots_nb";
115 val_t allocate_iregister_slots___IRoutine___tag_slots_nb(val_t p0);
116 typedef val_t (*allocate_iregister_slots___IRoutine___tag_slots_nb_t)(val_t p0);
117 static const char * const LOCATE_allocate_iregister_slots___IRoutine___allocate_iregister_slots = "allocate_iregister_slots::IRoutine::allocate_iregister_slots";
118 void allocate_iregister_slots___IRoutine___allocate_iregister_slots(val_t p0);
119 typedef void (*allocate_iregister_slots___IRoutine___allocate_iregister_slots_t)(val_t p0);
120 val_t NEW_IRoutine_icode_base___IRoutine___init(val_t p0, val_t p1);
121 static const char * const LOCATE_allocate_iregister_slots___IRegister___slot_index = "allocate_iregister_slots::IRegister::slot_index";
122 val_t allocate_iregister_slots___IRegister___slot_index(val_t p0);
123 typedef val_t (*allocate_iregister_slots___IRegister___slot_index_t)(val_t p0);
124 static const char * const LOCATE_allocate_iregister_slots___IRegister___slot_index__eq = "allocate_iregister_slots::IRegister::slot_index=";
125 void allocate_iregister_slots___IRegister___slot_index__eq(val_t p0, val_t p1);
126 typedef void (*allocate_iregister_slots___IRegister___slot_index__eq_t)(val_t p0, val_t p1);
127 static const char * const LOCATE_allocate_iregister_slots___IRegister___is_local = "allocate_iregister_slots::IRegister::is_local";
128 val_t allocate_iregister_slots___IRegister___is_local(val_t p0);
129 typedef val_t (*allocate_iregister_slots___IRegister___is_local_t)(val_t p0);
130 static const char * const LOCATE_allocate_iregister_slots___IRegister___is_local__eq = "allocate_iregister_slots::IRegister::is_local=";
131 void allocate_iregister_slots___IRegister___is_local__eq(val_t p0, val_t p1);
132 typedef void (*allocate_iregister_slots___IRegister___is_local__eq_t)(val_t p0, val_t p1);
133 static const char * const LOCATE_allocate_iregister_slots___IRegister___local_iroutine = "allocate_iregister_slots::IRegister::local_iroutine";
134 val_t allocate_iregister_slots___IRegister___local_iroutine(val_t p0);
135 typedef val_t (*allocate_iregister_slots___IRegister___local_iroutine_t)(val_t p0);
136 static const char * const LOCATE_allocate_iregister_slots___IRegister___local_iroutine__eq = "allocate_iregister_slots::IRegister::local_iroutine=";
137 void allocate_iregister_slots___IRegister___local_iroutine__eq(val_t p0, val_t p1);
138 typedef void (*allocate_iregister_slots___IRegister___local_iroutine__eq_t)(val_t p0, val_t p1);
139 static const char * const LOCATE_allocate_iregister_slots___IRegister___in_tag_slots = "allocate_iregister_slots::IRegister::in_tag_slots";
140 val_t allocate_iregister_slots___IRegister___in_tag_slots(val_t p0);
141 typedef val_t (*allocate_iregister_slots___IRegister___in_tag_slots_t)(val_t p0);
142 static const char * const LOCATE_allocate_iregister_slots___IRegister___in_tag_slots__eq = "allocate_iregister_slots::IRegister::in_tag_slots=";
143 void allocate_iregister_slots___IRegister___in_tag_slots__eq(val_t p0, val_t p1);
144 typedef void (*allocate_iregister_slots___IRegister___in_tag_slots__eq_t)(val_t p0, val_t p1);
145 val_t NEW_IRegister_icode_base___IRegister___init(val_t p0);
146 #endif