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)17checked::aff check(aff obj) { 18 return checked::manage(obj.copy()); 19 } 20 uncheck(checked::aff obj)21aff uncheck(checked::aff obj) { 22 return manage(obj.copy()); 23 } 24 check(ast_build obj)25checked::ast_build check(ast_build obj) { 26 return checked::manage(obj.copy()); 27 } 28 uncheck(checked::ast_build obj)29ast_build uncheck(checked::ast_build obj) { 30 return manage(obj.copy()); 31 } 32 check(ast_expr obj)33checked::ast_expr check(ast_expr obj) { 34 return checked::manage(obj.copy()); 35 } 36 uncheck(checked::ast_expr obj)37ast_expr uncheck(checked::ast_expr obj) { 38 return manage(obj.copy()); 39 } 40 check(ast_node obj)41checked::ast_node check(ast_node obj) { 42 return checked::manage(obj.copy()); 43 } 44 uncheck(checked::ast_node obj)45ast_node uncheck(checked::ast_node obj) { 46 return manage(obj.copy()); 47 } 48 check(basic_map obj)49checked::basic_map check(basic_map obj) { 50 return checked::manage(obj.copy()); 51 } 52 uncheck(checked::basic_map obj)53basic_map uncheck(checked::basic_map obj) { 54 return manage(obj.copy()); 55 } 56 check(basic_set obj)57checked::basic_set check(basic_set obj) { 58 return checked::manage(obj.copy()); 59 } 60 uncheck(checked::basic_set obj)61basic_set uncheck(checked::basic_set obj) { 62 return manage(obj.copy()); 63 } 64 check(map obj)65checked::map check(map obj) { 66 return checked::manage(obj.copy()); 67 } 68 uncheck(checked::map obj)69map uncheck(checked::map obj) { 70 return manage(obj.copy()); 71 } 72 check(multi_aff obj)73checked::multi_aff check(multi_aff obj) { 74 return checked::manage(obj.copy()); 75 } 76 uncheck(checked::multi_aff obj)77multi_aff uncheck(checked::multi_aff obj) { 78 return manage(obj.copy()); 79 } 80 check(multi_pw_aff obj)81checked::multi_pw_aff check(multi_pw_aff obj) { 82 return checked::manage(obj.copy()); 83 } 84 uncheck(checked::multi_pw_aff obj)85multi_pw_aff uncheck(checked::multi_pw_aff obj) { 86 return manage(obj.copy()); 87 } 88 check(multi_union_pw_aff obj)89checked::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)93multi_union_pw_aff uncheck(checked::multi_union_pw_aff obj) { 94 return manage(obj.copy()); 95 } 96 check(multi_val obj)97checked::multi_val check(multi_val obj) { 98 return checked::manage(obj.copy()); 99 } 100 uncheck(checked::multi_val obj)101multi_val uncheck(checked::multi_val obj) { 102 return manage(obj.copy()); 103 } 104 check(point obj)105checked::point check(point obj) { 106 return checked::manage(obj.copy()); 107 } 108 uncheck(checked::point obj)109point uncheck(checked::point obj) { 110 return manage(obj.copy()); 111 } 112 check(pw_aff obj)113checked::pw_aff check(pw_aff obj) { 114 return checked::manage(obj.copy()); 115 } 116 uncheck(checked::pw_aff obj)117pw_aff uncheck(checked::pw_aff obj) { 118 return manage(obj.copy()); 119 } 120 check(pw_multi_aff obj)121checked::pw_multi_aff check(pw_multi_aff obj) { 122 return checked::manage(obj.copy()); 123 } 124 uncheck(checked::pw_multi_aff obj)125pw_multi_aff uncheck(checked::pw_multi_aff obj) { 126 return manage(obj.copy()); 127 } 128 check(schedule obj)129checked::schedule check(schedule obj) { 130 return checked::manage(obj.copy()); 131 } 132 uncheck(checked::schedule obj)133schedule uncheck(checked::schedule obj) { 134 return manage(obj.copy()); 135 } 136 check(schedule_constraints obj)137checked::schedule_constraints check(schedule_constraints obj) { 138 return checked::manage(obj.copy()); 139 } 140 uncheck(checked::schedule_constraints obj)141schedule_constraints uncheck(checked::schedule_constraints obj) { 142 return manage(obj.copy()); 143 } 144 check(schedule_node obj)145checked::schedule_node check(schedule_node obj) { 146 return checked::manage(obj.copy()); 147 } 148 uncheck(checked::schedule_node obj)149schedule_node uncheck(checked::schedule_node obj) { 150 return manage(obj.copy()); 151 } 152 check(set obj)153checked::set check(set obj) { 154 return checked::manage(obj.copy()); 155 } 156 uncheck(checked::set obj)157set uncheck(checked::set obj) { 158 return manage(obj.copy()); 159 } 160 check(union_access_info obj)161checked::union_access_info check(union_access_info obj) { 162 return checked::manage(obj.copy()); 163 } 164 uncheck(checked::union_access_info obj)165union_access_info uncheck(checked::union_access_info obj) { 166 return manage(obj.copy()); 167 } 168 check(union_flow obj)169checked::union_flow check(union_flow obj) { 170 return checked::manage(obj.copy()); 171 } 172 uncheck(checked::union_flow obj)173union_flow uncheck(checked::union_flow obj) { 174 return manage(obj.copy()); 175 } 176 check(union_map obj)177checked::union_map check(union_map obj) { 178 return checked::manage(obj.copy()); 179 } 180 uncheck(checked::union_map obj)181union_map uncheck(checked::union_map obj) { 182 return manage(obj.copy()); 183 } 184 check(union_pw_aff obj)185checked::union_pw_aff check(union_pw_aff obj) { 186 return checked::manage(obj.copy()); 187 } 188 uncheck(checked::union_pw_aff obj)189union_pw_aff uncheck(checked::union_pw_aff obj) { 190 return manage(obj.copy()); 191 } 192 check(union_pw_multi_aff obj)193checked::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)197union_pw_multi_aff uncheck(checked::union_pw_multi_aff obj) { 198 return manage(obj.copy()); 199 } 200 check(union_set obj)201checked::union_set check(union_set obj) { 202 return checked::manage(obj.copy()); 203 } 204 uncheck(checked::union_set obj)205union_set uncheck(checked::union_set obj) { 206 return manage(obj.copy()); 207 } 208 check(val obj)209checked::val check(val obj) { 210 return checked::manage(obj.copy()); 211 } 212 uncheck(checked::val obj)213val uncheck(checked::val obj) { 214 return manage(obj.copy()); 215 } 216 217 } // namespace isl 218 219 #endif /* ISL_CPP_CHECKED_CONVERSION */ 220