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

Method lane_count

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

Return the number of lanes.

(&self)

Source from the content-addressed store, hash-verified

47
48 /// Return the number of lanes.
49 pub fn lane_count(&self) -> u64 {
50 match *self {
51 ValueType::Vector(ref v) => v.lane_count(),
52 _ => 1,
53 }
54 }
55
56 /// Find the number of bytes that this type occupies in memory.
57 pub fn membytes(&self) -> u64 {

Callers 3

widthMethod · 0.45
numberMethod · 0.45
new_singletonMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected