xref: /netbsd-src/external/mit/isl/dist/isl_multi_locals_templ.c (revision 5971e316fdea024efff6be8f03536623db06833e)
1 /*
2  * Copyright 2019      Cerebras Systems
3  *
4  * Use of this software is governed by the MIT license
5  *
6  * Written by Sven Verdoolaege,
7  * Cerebras Systems, 175 S San Antonio Rd, Los Altos, CA, USA
8  */
9 
10 #include <isl_multi_macro.h>
11 
12 /* Does "multi" involve any local variables?
13  */
FN(MULTI (BASE),involves_locals)14 isl_bool FN(MULTI(BASE),involves_locals)(__isl_keep MULTI(BASE) *multi)
15 {
16 	return FN(MULTI(BASE),any)(multi, FN(EL,involves_locals));
17 }
18