Searched refs:half_width (Results 1 – 5 of 5) sorted by relevance
| /wasmtime-44.0.1/cranelift/codegen/src/ir/ |
| H A D | types.rs | 173 pub fn half_width(self) -> Option<Self> { in half_width() method 362 match self.half_width() { in split_lanes() 363 Some(half_width) => half_width.by(2), in split_lanes() 500 assert_eq!(INVALID.half_width(), None); in typevar_functions() 501 assert_eq!(INVALID.half_width(), None); in typevar_functions() 502 assert_eq!(I8.half_width(), None); in typevar_functions() 503 assert_eq!(I16.half_width(), Some(I8)); in typevar_functions() 504 assert_eq!(I32.half_width(), Some(I16)); in typevar_functions() 506 assert_eq!(I64.half_width(), Some(I32)); in typevar_functions() 508 assert_eq!(F16.half_width(), None); in typevar_functions() [all …]
|
| H A D | instructions.rs | 925 HalfWidth => Bound(ctrl_type.half_width().expect("invalid type for half_width")), in resolve()
|
| /wasmtime-44.0.1/cranelift/codegen/meta/src/cdsl/ |
| H A D | typevar.rs | 246 pub fn half_width(&self) -> TypeVar { in half_width() method 412 DerivedFunc::HalfWidth => self.half_width(), in image() 414 DerivedFunc::SplitLanes => self.half_width().double_vector(), in image() 447 fn half_width(&self) -> TypeSet { in half_width() method 836 TypeSetBuilder::new().ints(8..32).build().half_width(), in test_forward_images() 840 TypeSetBuilder::new().floats(16..16).build().half_width(), in test_forward_images() 844 TypeSetBuilder::new().floats(32..128).build().half_width(), in test_forward_images() 915 assert_eq!(x.half_width().name, "half_width(x)"); in test_typevar_functions() 917 x.half_width().double_width().name, in test_typevar_functions()
|
| /wasmtime-44.0.1/cranelift/codegen/src/ |
| H A D | isle_prelude.rs | 664 ty.half_width()
|
| /wasmtime-44.0.1/cranelift/codegen/meta/src/shared/ |
| H A D | instructions.rs | 3728 Operand::new("lo", &WideInt.half_width()).with_doc("The low bits of `x`"), in define() 3729 Operand::new("hi", &WideInt.half_width()).with_doc("The high bits of `x`"), in define()
|