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

Method is_vector

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

Is this a SIMD vector type? A vector type has 2 or more lanes.

(self)

Source from the content-addressed store, hash-verified

219 ///
220 /// A vector type has 2 or more lanes.
221 pub fn is_vector(self) -> bool {
222 self.0 >= constants::VECTOR_BASE && !self.is_dynamic_vector()
223 }
224
225 /// Is this a SIMD vector type with a runtime number of lanes?
226 pub fn is_dynamic_vector(self) -> bool {

Callers 15

make_trampolineFunction · 0.45
emit_zeroFunction · 0.45
intMethod · 0.45
stepFunction · 0.45
icmpFunction · 0.45
extractlanesFunction · 0.45
parse_data_valueMethod · 0.45
insert_cmpFunction · 0.45
valid_for_targetFunction · 0.45
datavalueMethod · 0.45

Calls 1

is_dynamic_vectorMethod · 0.80

Tested by

no test coverage detected