xref: /llvm-project/polly/lib/External/isl/isl_scan.h (revision 72745c2ef5ef258b77a7c2d8b0c6d70dbc36f499)
152a25237STobias Grosser /*
252a25237STobias Grosser  * Copyright 2008-2009 Katholieke Universiteit Leuven
352a25237STobias Grosser  *
452a25237STobias Grosser  * Use of this software is governed by the MIT license
552a25237STobias Grosser  *
652a25237STobias Grosser  * Written by Sven Verdoolaege, K.U.Leuven, Departement
752a25237STobias Grosser  * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
852a25237STobias Grosser  */
952a25237STobias Grosser 
1052a25237STobias Grosser #ifndef ISL_SCAN_H
1152a25237STobias Grosser #define ISL_SCAN_H
1252a25237STobias Grosser 
1352a25237STobias Grosser #include <isl/set.h>
1452a25237STobias Grosser #include <isl/vec.h>
1552a25237STobias Grosser 
1652a25237STobias Grosser struct isl_scan_callback {
17b2f39926STobias Grosser 	isl_stat (*add)(struct isl_scan_callback *cb,
18b2f39926STobias Grosser 		__isl_take isl_vec *sample);
1952a25237STobias Grosser };
2052a25237STobias Grosser 
21*72745c2eSTobias Grosser isl_stat isl_basic_set_scan(__isl_take isl_basic_set *bset,
2252a25237STobias Grosser 	struct isl_scan_callback *callback);
23*72745c2eSTobias Grosser isl_stat isl_set_scan(__isl_take isl_set *set,
24*72745c2eSTobias Grosser 	struct isl_scan_callback *callback);
2552a25237STobias Grosser 
2652a25237STobias Grosser #endif
27