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

Method lane_bits

cranelift/codegen/meta/src/cdsl/types.rs:40–46  ·  view source on GitHub ↗

Return the number of bits in a lane.

(&self)

Source from the content-addressed store, hash-verified

38
39 /// Return the number of bits in a lane.
40 pub fn lane_bits(&self) -> u64 {
41 match *self {
42 ValueType::Lane(l) => l.lane_bits(),
43 ValueType::Vector(ref v) => v.lane_bits(),
44 ValueType::DynamicVector(ref v) => v.lane_bits(),
45 }
46 }
47
48 /// Return the number of lanes.
49 pub fn lane_count(&self) -> u64 {

Callers 2

widthMethod · 0.45
docMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected