Integer set library
isl is a portable C library for manipulating sets and relations of integer points bounded by linear constraints.
The following operations are supported:
- intersection, union, set difference
- emptiness check
- convex hull
- affine hull
- integer projection
- computing the lexicographic minimum using parametric integer programming
- coalescing
- parametric vertex enumeration
All computations are performed in exact integer arithmetic using GMP or imath.
Many program analysis techniques are based on integer set manipulations. The integers typically represent iterations of a loop nest or elements of an array.
isl uses parametric integer programming to obtain an explicit representation in terms of integer divisions.
It is used as backend polyhedral library in the GCC Graphite framework
and in the LLVM
for loop optimizations.