brintos

brintos / llvm-project-archived public Read only

0
0
Text · 727 B · b9df712 Raw
24 lines · c
1/*2 * Copyright 2014      INRIA Rocquencourt3 *4 * Use of this software is governed by the MIT license5 *6 * Written by Sven Verdoolaege,7 * Inria Paris - Rocquencourt, Domaine de Voluceau - Rocquencourt,8 * B.P. 105 - 78153 Le Chesnay, France9 */10 11#define xFN(TYPE,NAME) TYPE ## _ ## NAME12#define FN(TYPE,NAME) xFN(TYPE,NAME)13 14/* Return the subset of "umap" where the domain and the range15 * have "mupa" values that lexicographically compare as "ORDER".16 */17__isl_give isl_union_map *FN(FN(isl_union_map_lex,ORDER),at_multi_union_pw_aff)(18	__isl_take isl_union_map *umap,19	__isl_take isl_multi_union_pw_aff *mupa)20{21	return isl_union_map_order_at_multi_union_pw_aff(umap, mupa,22				&FN(FN(isl_multi_pw_aff_lex,ORDER),map));23}24