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

Method half_vector

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

Return a TypeSet describing the image of self across halfvector.

(&self)

Source from the content-addressed store, hash-verified

466
467 /// Return a TypeSet describing the image of self across halfvector.
468 fn half_vector(&self) -> TypeSet {
469 let mut copy = self.clone();
470 copy.lanes = NumSet::from_iter(self.lanes.iter().filter(|&&x| x > 1).map(|&x| x / 2));
471 copy
472 }
473
474 /// Return a TypeSet describing the image of self across doublevector.
475 fn double_vector(&self) -> TypeSet {

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