Home
last modified time | relevance | path

Searched refs:rust_type (Results 1 – 8 of 8) sorted by relevance

/wasmtime-44.0.1/cranelift/codegen/meta/src/cdsl/
H A Doperands.rs110 pub rust_type: &'static str, field
124 rust_type: &'static str, in new()
130 rust_type, in new()
151 self.rust_type == "ir::BlockCall" in is_block()
155 self.rust_type == "ir::Block" in is_raw_block()
163 rust_type: "ir::Value", in from()
H A Dformats.rs67 .map(|field| format!("{}: {}", field.member, field.kind.rust_type)) in fmt()
93 .map(|field| (field.kind.rust_field_name, field.kind.rust_type)) in structure()
/wasmtime-44.0.1/cranelift/codegen/meta/src/shared/
H A Dimmediates.rs63 rust_type: &'static str, in new_imm()
68 rust_type, in new_imm()
75 rust_type: &'static str, in new_enum()
81 rust_type, in new_enum()
H A Dentities.rs4 fn new(format_field_name: &'static str, rust_type: &'static str, doc: &'static str) -> OperandKind { in new()
7 rust_type, in new()
/wasmtime-44.0.1/cranelift/codegen/meta/src/
H A Dgen_inst.rs97 fmtln!(fmt, "{}: {},", field.member, field.kind.rust_type); in gen_instruction_data()
547 .rust_type in gen_instruction_data_impl()
550 .unwrap_or(field.kind.rust_type), in gen_instruction_data_impl()
1050 args.push(format!("{}: {}", f.member, f.kind.rust_type)); in gen_format_constructor()
1077 .any(|f| f.kind.rust_type == "ir::immediates::Imm64"); in gen_format_constructor()
1156 tmpl_types.push(format!("{}: Into<{}>", t, op.kind.rust_type)); in gen_inst_builder()
1160 op.kind.rust_type.to_string() in gen_inst_builder()
H A Dgen_isle.rs39 let rust_name = |f: &FormatField| f.kind.rust_type.rsplit("::").next().unwrap(); in gen_common_isle()
202 field.kind.rust_type.rsplit("::").next().unwrap() in gen_common_isle()
247 let ty = o.kind.rust_type; in gen_common_isle()
/wasmtime-44.0.1/crates/test-util/src/
H A Dcomponent_fuzz.rs1181 pub fn rust_type(ty: &Type, name_counter: &mut u32, declarations: &mut TokenStream) -> TokenStream { in rust_type() function
1197 let ty = rust_type(ty, name_counter, declarations); in rust_type()
1201 let key_ty = rust_type(key_ty, name_counter, declarations); in rust_type()
1202 let value_ty = rust_type(value_ty, name_counter, declarations); in rust_type()
1211 let ty = rust_type(ty, name_counter, declarations); in rust_type()
1233 let ty = rust_type(ty, name_counter, declarations); in rust_type()
1249 let ty = rust_type(ty, name_counter, declarations); in rust_type()
1296 let ty = rust_type(ty, name_counter, declarations); in rust_type()
1301 Some(ok) => rust_type(ok, name_counter, declarations), in rust_type()
1305 Some(err) => rust_type(err, name_counter, declarations), in rust_type()
/wasmtime-44.0.1/fuzz/
H A Dbuild.rs79 wasmtime_test_util::component_fuzz::rust_type(&ty, name_counter, &mut declarations); in write_static_api_tests()