Skip to main content

Module sym

Module sym 

Source
Expand description

Symbolic integer analysis. An Analyzer proves, bounds and simplifies integer expressions under the facts of a ConstraintContext; int_set and iter_affine_map describe the values and the iterator structure of index expressions.

Re-exports§

pub use analyzer::*;
pub use constraint::*;
pub use int_set::*;
pub use iter_affine_map::*;

Modules§

analyzer
The analyzer. An Analyzer proves, bounds and simplifies integer expressions under the facts of a ConstraintContext; its bounds are ConstIntBounds and ModularSets.
constraint
Constraints. A Constraint is one fact in scope, a BindingConstraint, RangeConstraint or PredicateConstraint; a ConstraintContext holds the facts in scope at a point of a traversal, which an Analyzer proves under.
int_set
Integer sets. An IntSet, such as the interval IntervalSet, bounds the values an expression takes; deduce_bound solves a condition for a variable, and the estimate_region_* functions bound the region a set of accesses covers.
iter_affine_map
Iterator maps. An iterator map writes index expressions as IterSumExprs, sums of IterSplitExprs of IterMarked iterators; detect_iter_map finds one, and the other functions simplify, divide and invert such maps.