/* * Copyright 2018 Cerebras Systems * * Use of this software is governed by the MIT license * * Written by Sven Verdoolaege, * Cerebras Systems, 175 S San Antonio Rd, Los Altos, CA, USA */ #include "isl_multi_macro.h" #undef TYPE #define TYPE … /* Check that "map" and "multi" live in the same space, ignoring parameters. */ static isl_stat FN(check_map_equal_tuples_multi,BASE)(__isl_keep isl_map *map, __isl_keep MULTI(BASE) *multi) { … } /* Apply "map_bound" to "map" with the corresponding value in "bound" * for each output dimension. * If "bound" has an explicit domain (which implies that "bound" * is zero-dimensional), then intersect the domain of "map" * with this explicit domain instead. */ static __isl_give isl_map *FN(map_bound_multi,BASE)(__isl_take isl_map *map, __isl_take MULTI(BASE) *bound, __isl_give isl_map *map_bound(__isl_take isl_map *map, unsigned pos, __isl_take TYPE *value)) { … }