(&self)
| 496 | } |
| 497 | |
| 498 | fn concrete_types(&self) -> Vec<ValueType> { |
| 499 | let mut ret = Vec::new(); |
| 500 | for &num_lanes in &self.lanes { |
| 501 | for &bits in &self.ints { |
| 502 | ret.push(LaneType::int_from_bits(bits).by(num_lanes)); |
| 503 | } |
| 504 | for &bits in &self.floats { |
| 505 | ret.push(LaneType::float_from_bits(bits).by(num_lanes)); |
| 506 | } |
| 507 | } |
| 508 | for &num_lanes in &self.dynamic_lanes { |
| 509 | for &bits in &self.ints { |
| 510 | ret.push(LaneType::int_from_bits(bits).to_dynamic(num_lanes)); |
| 511 | } |
| 512 | for &bits in &self.floats { |
| 513 | ret.push(LaneType::float_from_bits(bits).to_dynamic(num_lanes)); |
| 514 | } |
| 515 | } |
| 516 | ret |
| 517 | } |
| 518 | |
| 519 | /// Return the singleton type represented by self. Can only call on typesets containing 1 type. |
| 520 | fn get_singleton(&self) -> ValueType { |
no test coverage detected