MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / build

Method build

cranelift/codegen/meta/src/cdsl/typevar.rs:606–615  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

604 }
605
606 pub fn build(self) -> TypeSet {
607 let min_lanes = if self.includes_scalars { 1 } else { 2 };
608
609 TypeSet::new(
610 range_to_set(self.simd_lanes.to_range(min_lanes..MAX_LANES, Some(1))),
611 range_to_set(self.dynamic_simd_lanes.to_range(2..MAX_LANES, None)),
612 range_to_set(self.ints.to_range(8..MAX_BITS, None)),
613 range_to_set(self.floats.to_range(16..MAX_FLOAT_BITS, None)),
614 )
615 }
616}
617
618#[derive(PartialEq)]

Callers 15

defineFunction · 0.45
defineFunction · 0.45
defineFunction · 0.45
defineFunction · 0.45
defineFunction · 0.45
defineFunction · 0.45
define_control_flowFunction · 0.45
define_simd_lane_accessFunction · 0.45
define_simd_arithmeticFunction · 0.45
defineFunction · 0.45
newMethod · 0.45
new_singletonMethod · 0.45

Calls 3

range_to_setFunction · 0.85
to_rangeMethod · 0.80
newFunction · 0.50