| /wasmtime-44.0.1/crates/test-util/src/ |
| H A D | component_fuzz.rs | 273 Primitive(&'static str), in store_flat() enumerator 282 Type::Float32 => Kind::Primitive("f32.store"), in store_flat() 283 Type::Float64 => Kind::Primitive("f64.store"), in store_flat() 300 Kind::Primitive(op) => uwriteln!( in store_flat() 439 Primitive(&'static str), in load_flat() enumerator 445 Type::S8 => Kind::Primitive("i32.load8_s"), in load_flat() 446 Type::U16 => Kind::Primitive("i32.load16_u"), in load_flat() 447 Type::S16 => Kind::Primitive("i32.load16_s"), in load_flat() 450 Type::Float32 => Kind::Primitive("f32.load"), in load_flat() 451 Type::Float64 => Kind::Primitive("f64.load"), in load_flat() [all …]
|
| /wasmtime-44.0.1/crates/debugger/src/host/ |
| H A D | api.rs | 57 WasmValue::Primitive(val) in new() 64 WasmValue::Primitive(v) => v, in into_val() 169 Primitive(Val), enumerator 944 WasmValue::Primitive(_) => unreachable!(), in get_type() 951 WasmValue::Primitive(Val::I32(x)) => Ok(x.cast_unsigned()), in unwrap_i32() 959 WasmValue::Primitive(Val::I64(x)) => Ok(x.cast_unsigned()), in unwrap_i64() 967 WasmValue::Primitive(Val::F32(x)) => Ok(f32::from_bits(*x)), in unwrap_f32() 975 WasmValue::Primitive(Val::F64(x)) => Ok(f64::from_bits(*x)), in unwrap_f64() 1024 Ok(self.push(WasmValue::Primitive(Val::F32(value.to_bits())))?) in make_f32() 1028 Ok(self.push(WasmValue::Primitive(Val::F64(value.to_bits())))?) in make_f64() [all …]
|
| /wasmtime-44.0.1/crates/wizer/src/component/ |
| H A D | instrument.rs | 196 .result(Some(wasm_encoder::ComponentValType::Primitive(prim))); in add_core_instance_global() 270 .list(wasm_encoder::ComponentValType::Primitive( in add_core_instance_memory()
|
| /wasmtime-44.0.1/crates/environ/src/component/ |
| H A D | translate.rs | 884 wasmparser::ComponentValType::Primitive(ty) => { in translate_payload() 885 ComponentValType::Primitive(ty) in translate_payload() 1670 (InterfaceType::U8, C::Primitive(P::U8)) => true, in check_unsafe_intrinsics_import() 1673 (InterfaceType::U16, C::Primitive(P::U16)) => true, in check_unsafe_intrinsics_import() 1676 (InterfaceType::U32, C::Primitive(P::U32)) => true, in check_unsafe_intrinsics_import() 1679 (InterfaceType::U64, C::Primitive(P::U64)) => true, in check_unsafe_intrinsics_import()
|
| H A D | types_builder.rs | 440 ComponentDefinedType::Primitive(ty) => self.primitive_type(ty)?, in defined_type() 489 ComponentValType::Primitive(p) => self.primitive_type(p), in valtype()
|
| /wasmtime-44.0.1/cranelift/isle/isle/src/ |
| H A D | sema.rs | 247 Primitive(TypeId, Sym, Pos), enumerator 278 Self::Primitive(_, name, _) | Self::Enum { name, .. } => &tyenv.syms[name.index()], in name() 286 Self::Primitive(_, _, pos) | Self::Enum { pos, .. } => Some(*pos), in pos() 292 matches!(self, Type::Primitive(..)) in is_prim() 1225 &ast::TypeValue::Primitive(ref id, ..) => { in type_from_ast() 1234 Some(Type::Primitive(tid, self.intern_mut(id), ty.pos)) in type_from_ast() 2687 Type::Primitive( in build_type_env()
|
| H A D | ast.rs | 49 Primitive(Ident, Pos), enumerator
|
| H A D | codegen.rs | 447 Type::Primitive(_, sym, _) => self.typeenv.syms[sym.index()].clone(), in type_name() 552 Type::Builtin(_) | Type::Primitive(..) => false, in ty()
|
| H A D | printer.rs | 395 TypeValue::Primitive(name, _) => { in to_sexpr()
|
| H A D | parser.rs | 288 Ok(TypeValue::Primitive(primitive_ident, pos)) in parse_typevalue()
|
| /wasmtime-44.0.1/cranelift/codegen/src/ |
| H A D | prelude.isle | 7 ;;;; Primitive and External Types ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 65 ;;;; Primitive Arithmetic ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
| H A D | prelude_lower.isle | 4 ;;;; Primitive and External Types ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
| /wasmtime-44.0.1/cranelift/isle/docs/ |
| H A D | language-reference.md | 264 * Primitive constant values, such as `42` or `$Symbol`, match only if
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/ |
| H A D | inst.isle | 1049 ;; Primitive types used in instruction formats.
|