1 /// These are automatically generated conversions between
2 /// the default and the checked C++ bindings for isl.
3 ///
4 /// isl is a library for computing with integer sets and maps described by
5 /// Presburger formulas. On top of this, isl provides various tools for
6 /// polyhedral compilation, ranging from dependence analysis over scheduling
7 /// to AST generation.
8 
9 #ifndef ISL_CPP_CHECKED_CONVERSION
10 #define ISL_CPP_CHECKED_CONVERSION
11 
12 #include <isl/cpp.h>
13 #include <isl/cpp-checked.h>
14 
15 namespace isl {
16 
check(aff obj)17 checked::aff check(aff obj) {
18 	return checked::manage(obj.copy());
19 }
20 
uncheck(checked::aff obj)21 aff uncheck(checked::aff obj) {
22 	return manage(obj.copy());
23 }
24 
check(ast_build obj)25 checked::ast_build check(ast_build obj) {
26 	return checked::manage(obj.copy());
27 }
28 
uncheck(checked::ast_build obj)29 ast_build uncheck(checked::ast_build obj) {
30 	return manage(obj.copy());
31 }
32 
check(ast_expr obj)33 checked::ast_expr check(ast_expr obj) {
34 	return checked::manage(obj.copy());
35 }
36 
uncheck(checked::ast_expr obj)37 ast_expr uncheck(checked::ast_expr obj) {
38 	return manage(obj.copy());
39 }
40 
check(ast_node obj)41 checked::ast_node check(ast_node obj) {
42 	return checked::manage(obj.copy());
43 }
44 
uncheck(checked::ast_node obj)45 ast_node uncheck(checked::ast_node obj) {
46 	return manage(obj.copy());
47 }
48 
check(basic_map obj)49 checked::basic_map check(basic_map obj) {
50 	return checked::manage(obj.copy());
51 }
52 
uncheck(checked::basic_map obj)53 basic_map uncheck(checked::basic_map obj) {
54 	return manage(obj.copy());
55 }
56 
check(basic_set obj)57 checked::basic_set check(basic_set obj) {
58 	return checked::manage(obj.copy());
59 }
60 
uncheck(checked::basic_set obj)61 basic_set uncheck(checked::basic_set obj) {
62 	return manage(obj.copy());
63 }
64 
check(map obj)65 checked::map check(map obj) {
66 	return checked::manage(obj.copy());
67 }
68 
uncheck(checked::map obj)69 map uncheck(checked::map obj) {
70 	return manage(obj.copy());
71 }
72 
check(multi_aff obj)73 checked::multi_aff check(multi_aff obj) {
74 	return checked::manage(obj.copy());
75 }
76 
uncheck(checked::multi_aff obj)77 multi_aff uncheck(checked::multi_aff obj) {
78 	return manage(obj.copy());
79 }
80 
check(multi_pw_aff obj)81 checked::multi_pw_aff check(multi_pw_aff obj) {
82 	return checked::manage(obj.copy());
83 }
84 
uncheck(checked::multi_pw_aff obj)85 multi_pw_aff uncheck(checked::multi_pw_aff obj) {
86 	return manage(obj.copy());
87 }
88 
check(multi_union_pw_aff obj)89 checked::multi_union_pw_aff check(multi_union_pw_aff obj) {
90 	return checked::manage(obj.copy());
91 }
92 
uncheck(checked::multi_union_pw_aff obj)93 multi_union_pw_aff uncheck(checked::multi_union_pw_aff obj) {
94 	return manage(obj.copy());
95 }
96 
check(multi_val obj)97 checked::multi_val check(multi_val obj) {
98 	return checked::manage(obj.copy());
99 }
100 
uncheck(checked::multi_val obj)101 multi_val uncheck(checked::multi_val obj) {
102 	return manage(obj.copy());
103 }
104 
check(point obj)105 checked::point check(point obj) {
106 	return checked::manage(obj.copy());
107 }
108 
uncheck(checked::point obj)109 point uncheck(checked::point obj) {
110 	return manage(obj.copy());
111 }
112 
check(pw_aff obj)113 checked::pw_aff check(pw_aff obj) {
114 	return checked::manage(obj.copy());
115 }
116 
uncheck(checked::pw_aff obj)117 pw_aff uncheck(checked::pw_aff obj) {
118 	return manage(obj.copy());
119 }
120 
check(pw_multi_aff obj)121 checked::pw_multi_aff check(pw_multi_aff obj) {
122 	return checked::manage(obj.copy());
123 }
124 
uncheck(checked::pw_multi_aff obj)125 pw_multi_aff uncheck(checked::pw_multi_aff obj) {
126 	return manage(obj.copy());
127 }
128 
check(schedule obj)129 checked::schedule check(schedule obj) {
130 	return checked::manage(obj.copy());
131 }
132 
uncheck(checked::schedule obj)133 schedule uncheck(checked::schedule obj) {
134 	return manage(obj.copy());
135 }
136 
check(schedule_constraints obj)137 checked::schedule_constraints check(schedule_constraints obj) {
138 	return checked::manage(obj.copy());
139 }
140 
uncheck(checked::schedule_constraints obj)141 schedule_constraints uncheck(checked::schedule_constraints obj) {
142 	return manage(obj.copy());
143 }
144 
check(schedule_node obj)145 checked::schedule_node check(schedule_node obj) {
146 	return checked::manage(obj.copy());
147 }
148 
uncheck(checked::schedule_node obj)149 schedule_node uncheck(checked::schedule_node obj) {
150 	return manage(obj.copy());
151 }
152 
check(set obj)153 checked::set check(set obj) {
154 	return checked::manage(obj.copy());
155 }
156 
uncheck(checked::set obj)157 set uncheck(checked::set obj) {
158 	return manage(obj.copy());
159 }
160 
check(union_access_info obj)161 checked::union_access_info check(union_access_info obj) {
162 	return checked::manage(obj.copy());
163 }
164 
uncheck(checked::union_access_info obj)165 union_access_info uncheck(checked::union_access_info obj) {
166 	return manage(obj.copy());
167 }
168 
check(union_flow obj)169 checked::union_flow check(union_flow obj) {
170 	return checked::manage(obj.copy());
171 }
172 
uncheck(checked::union_flow obj)173 union_flow uncheck(checked::union_flow obj) {
174 	return manage(obj.copy());
175 }
176 
check(union_map obj)177 checked::union_map check(union_map obj) {
178 	return checked::manage(obj.copy());
179 }
180 
uncheck(checked::union_map obj)181 union_map uncheck(checked::union_map obj) {
182 	return manage(obj.copy());
183 }
184 
check(union_pw_aff obj)185 checked::union_pw_aff check(union_pw_aff obj) {
186 	return checked::manage(obj.copy());
187 }
188 
uncheck(checked::union_pw_aff obj)189 union_pw_aff uncheck(checked::union_pw_aff obj) {
190 	return manage(obj.copy());
191 }
192 
check(union_pw_multi_aff obj)193 checked::union_pw_multi_aff check(union_pw_multi_aff obj) {
194 	return checked::manage(obj.copy());
195 }
196 
uncheck(checked::union_pw_multi_aff obj)197 union_pw_multi_aff uncheck(checked::union_pw_multi_aff obj) {
198 	return manage(obj.copy());
199 }
200 
check(union_set obj)201 checked::union_set check(union_set obj) {
202 	return checked::manage(obj.copy());
203 }
204 
uncheck(checked::union_set obj)205 union_set uncheck(checked::union_set obj) {
206 	return manage(obj.copy());
207 }
208 
check(val obj)209 checked::val check(val obj) {
210 	return checked::manage(obj.copy());
211 }
212 
uncheck(checked::val obj)213 val uncheck(checked::val obj) {
214 	return manage(obj.copy());
215 }
216 
217 } // namespace isl
218 
219 #endif /* ISL_CPP_CHECKED_CONVERSION */
220