Structsยง
- Comparison ๐
- Integer
Range ๐
Staticsยง
Functionsยง
- comparison_
of ๐ - Extracts a comparison over one resolved integer variable, normalizing constants on the left.
- comparison_
operand_ ๐of - Extracts a stable variable identity and the reachable integer range of an operand.
- effective_
range_ ๐for_ cast - elem_
type_ ๐of - Extracts the elementary integer type from a variable reference or explicit cast.
- expression_
type ๐ - flip ๐
- Returns the equivalent operator after swapping left and right operands.
e.g.
const < varrewritten asvar > constneedsGt. - integer_
bounds ๐ - is_
boundary_ ๐composition - Returns true for boundary comparisons whose union covers the complete integer type range.
- is_
lower_ ๐point - is_
tautology ๐ - Returns true if
var <op> valis always true or always false for every value in the typeโs range. - is_
upper_ ๐point - is_
value_ ๐preserving_ widening - lit_
value_ ๐of - Extracts a signed constant from a numeric literal or negated numeric literal,
returning
(is_negative, magnitude). - matches_
comparison ๐ - normalize_
zero ๐