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

Method lane_of

cranelift/codegen/src/ir/types.rs:51–53  ·  view source on GitHub ↗

The type transformation that returns the lane type of a type variable; it is just a renaming of lane_type() to be used in context where we think in terms of type variable transformations.

(self)

Source from the content-addressed store, hash-verified

49 /// renaming of lane_type() to be used in context where we think in terms of type variable
50 /// transformations.
51 pub fn lane_of(self) -> Self {
52 self.lane_type()
53 }
54
55 /// Get log_2 of the number of bits in a lane.
56 pub fn log2_lane_bits(self) -> u32 {

Callers 2

valid_for_targetFunction · 0.45
resolveMethod · 0.45

Calls 1

lane_typeMethod · 0.45

Tested by

no test coverage detected