private
squashable
— function
squashable(ftype::Type)
Return true if a callable of type ftype
is a
“squashable” 2-arg function.
Defaults to false.
Functions like +
are n-arg functions in Julia,
but most hardware designers think of them as 2-arg.
When squashable
returns true, BitSAD’s tracing engine will
“squash” a single n-arg call into nested 2-arg calls.