Module utils

Source
Expand description

Utility functions for constructing List overload sets.

Functions§

concrete_int_scalars
Produce all concrete integer ir::Scalars.
float_scalars
Produce all the floating-point ir::Scalars.
float_scalars_unimplemented_abstract
Produce all the floating-point ir::Scalars, but omit abstract types, for #7405.
list
Construct a List from the given rules.
pairs
Return the cartesian product of two iterators.
rule
Construct a Rule for an operation with the given argument types and return type.
scalar_or_vecn
Produce the scalar and vector ir::TypeInners that have s as their scalar.
triples
Return the cartesian product of three iterators.
vector_sizes
Produce all vector sizes.