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

Method double_vector

cranelift/codegen/meta/src/cdsl/typevar.rs:475–484  ·  view source on GitHub ↗

Return a TypeSet describing the image of self across doublevector.

(&self)

Source from the content-addressed store, hash-verified

473
474 /// Return a TypeSet describing the image of self across doublevector.
475 fn double_vector(&self) -> TypeSet {
476 let mut copy = self.clone();
477 copy.lanes = NumSet::from_iter(
478 self.lanes
479 .iter()
480 .filter(|&&x| x < MAX_LANES)
481 .map(|&x| x * 2),
482 );
483 copy
484 }
485
486 fn dynamic_to_vector(&self) -> TypeSet {
487 let mut copy = self.clone();

Callers 1

imageMethod · 0.80

Calls 4

from_iterFunction · 0.85
cloneMethod · 0.45
mapMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected