| /wasmtime-44.0.1/crates/cranelift/src/debug/transform/ |
| H A D | unit.rs | 119 let $die_id = unit.unit.add($parent_id, $tag); in replace_pointer_type() 121 let $die = unit.unit.get_mut($die_id); in replace_pointer_type() 139 unit.unit in replace_pointer_type() 141 let wrapper_die = unit.unit.get_mut(wrapper_die_id); in replace_pointer_type() 279 if let Some(convert_program) = unit.read_line_program(Some(unit.unit.encoding()), None)? { in clone_unit() 287 let out_root_id = unit.unit.root(); in clone_unit() 289 unit, in clone_unit() 389 unit.unit.add_reserved(out_die_id, parent, entry.tag); in clone_unit() 392 unit, in clone_unit() 412 let current_scope = unit.unit.get_mut(out_die_id); in clone_unit() [all …]
|
| H A D | synthetic.rs | 26 let $die_id = $unit.add($parent_id, $tag); 27 let $die = $unit.get_mut($die_id); 41 let unit = out_units.get_mut(unit_id); in new() localVariable 43 let wasm_ptr_die_id = Self::create_wasm_ptr_die(unit, out_strings); in new() 66 let unit = out_units.get_mut(unit_id); in create_unit() localVariable 67 let unit_die = unit.get_mut(unit.root()); in create_unit() 86 unit: &mut Unit, in create_vmctx_ptr_die() 93 let root_id = unit.root(); in create_vmctx_ptr_die() 111 let vmctx_die_id = unit.add(root_id, gimli::DW_TAG_structure_type); in create_vmctx_ptr_die() 112 let vmctx_die = unit.get_mut(vmctx_die_id); in create_vmctx_ptr_die() [all …]
|
| H A D | attr.rs | 8 use super::unit::InheritedAttr; 51 let unit = entry.read_unit; in clone_die_attributes() localVariable 52 let unit_encoding = unit.encoding(); in clone_die_attributes() 62 range_info.build(addr_tr, convert_unit.unit, out_entry_id); in clone_die_attributes() 114 .unit in clone_die_attributes() 130 let u = unit.address(i)?; in clone_die_attributes() 135 let r = unit.attr_ranges_offset(attr_value)?.unwrap(); in clone_die_attributes() 141 let mut locs = unit.attr_locations(attr_value)?.unwrap(); in clone_die_attributes() 180 .unit in clone_die_attributes() 273 let out_entry = convert_unit.unit.get_mut(out_entry_id); in clone_die_attributes() [all …]
|
| H A D | debug_transform_logging.rs | 23 unit: UnitRef<'a, Reader<'r>>, field 28 let unit = self.unit; in fmt() localVariable 30 let comp_dir = match unit.comp_dir { in fmt() 35 let name = match unit.name { in fmt() 44 CompileUnitSummary { unit } in log_get_cu_summary() 82 let unit = self.entry.read_unit; in fmt() localVariable 155 unit: &'a write::Unit, field 161 let die = self.unit.get(self.die_id); in fmt() 233 unit: &write::ConvertUnit<'_, Reader<'_>>, in log_end_output_die() 241 unit: &unit.unit, in log_end_output_die() [all …]
|
| H A D | mod.rs | 3 use self::unit::clone_unit; 25 mod unit; module 182 while let Some((mut unit, root_entry)) = convert.read_unit()? { in transform_dwarf() 184 && let Some(dwo_id) = unit.read_unit.dwo_id in transform_dwarf() 185 && let Ok(Some(split_dwarf)) = dwp.find_cu(dwo_id, unit.read_unit.dwarf) in transform_dwarf() 188 write::FilterUnitSection::new_split(&split_dwarf, unit.read_unit)?; in transform_dwarf() 190 let mut convert_split = unit.convert_split_with_filter(split_filter)?; in transform_dwarf() 192 split_unit.unit.set_encoding(out_encoding); in transform_dwarf() 205 unit.unit.set_encoding(out_encoding); in transform_dwarf() 209 &mut unit, in transform_dwarf()
|
| H A D | simulate.rs | 129 unit: &mut write::Unit, in add_wasm_types() 194 unit: &mut write::Unit, in generate_vars() 215 unit, in generate_vars() 249 let var_id = unit.add( in generate_vars() 309 let (unit, root_id, file_id) = { in generate_simulated_dwarf() 336 let root_id = unit.root(); in generate_simulated_dwarf() 337 let root = unit.get_mut(root_id); in generate_simulated_dwarf() 354 (unit, root_id, file_id) in generate_simulated_dwarf() 368 let die = unit.get_mut(die_id); in generate_simulated_dwarf() 414 unit, in generate_simulated_dwarf() [all …]
|
| H A D | range_info_builder.rs | 42 unit: UnitRef<'_, Reader<'_>>, in from_ranges_ref() 45 let mut ranges = unit.ranges(ranges)?; in from_ranges_ref() 65 let unit = entry.read_unit; in from_subprogram_die() localVariable 71 unit.address(i)? in from_subprogram_die() 74 let r = unit.ranges_offset_from_raw(r); in from_subprogram_die() 75 let mut ranges = unit.ranges(r)?; in from_subprogram_die()
|
| H A D | utils.rs | 52 unit: UnitRef<'a, Reader<'r>>, in resolve_die_ref() 57 Some(write::ConvertUnitEntry::read(unit, *unit_offs)?) in resolve_die_ref()
|
| /wasmtime-44.0.1/crates/cranelift/src/debug/ |
| H A D | gc.rs | 11 while let Some(mut unit) = filter.read_unit()? { in build_dependencies() 12 build_die_dependencies(&mut unit, at)?; in build_dependencies() 21 let unit = die.read_unit; in has_valid_code_range() localVariable 37 let mut it = unit.raw_ranges(offset)?; in has_valid_code_range() 58 let addr = unit.address(begin)?; in has_valid_code_range() 67 let addr = unit.address(addr)?; in has_valid_code_range() 78 let a = unit.address(i)?; in has_valid_code_range() 89 unit: &mut write::FilterUnit<'_, Reader<'_>>, in build_die_dependencies() 92 let mut die = write::FilterUnitEntry::null(unit.read_unit); in build_die_dependencies() 93 while unit.read_entry(&mut die)? { in build_die_dependencies() [all …]
|
| /wasmtime-44.0.1/crates/cache/src/ |
| H A D | config.rs | 245 let (num, unit) = split_point.map_or_else(|| (text, ""), |p| text.split_at(p)); 248 let $unitname = unit.trim(); 262 generate_deserializer!(deserialize_duration(num: u64, unit: &str) -> Duration { 263 match unit { 272 generate_deserializer!(deserialize_si_prefix(num: u64, unit: &str) -> u64 { 273 match unit { 284 generate_deserializer!(deserialize_disk_space(num: u64, unit: &str) -> u64 { 285 match unit { 301 generate_deserializer!(deserialize_percent(num: u8, unit: &str) -> u8 { 302 match unit {
|
| /wasmtime-44.0.1/crates/misc/component-async-tests/wit/ |
| H A D | test.wit | 119 interface unit-stream { 296 world unit-stream-caller { 297 import unit-stream; 301 world unit-stream-callee { 302 export unit-stream;
|
| /wasmtime-44.0.1/crates/debugger/ |
| H A D | Cargo.toml | 24 # write unit tests that build modules from textual WAT.
|
| /wasmtime-44.0.1/crates/fuzzing/wasm-spec-interpreter/ocaml/ |
| H A D | interpret.ml | 29 type spec_instance = (unit module_export_ext list * ((unit s_m_ext) ref))
|
| /wasmtime-44.0.1/winch/ |
| H A D | README.md | 36 * Function as the unit of compilation
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/riscv64/inst/ |
| H A D | emit_tests.rs | 2176 for unit in insns.iter() { in test_riscv64_binemit() 2177 println!("Riscv64: {:?}, {}", unit.inst, unit.assembly); in test_riscv64_binemit() 2179 let actual_printing = unit.inst.print_with_state(&mut EmitState::default()); in test_riscv64_binemit() 2180 assert_eq!(unit.assembly, actual_printing); in test_riscv64_binemit() 2182 unit.inst in test_riscv64_binemit() 2187 assert_eq!(actual_encoding, unit.code.0); in test_riscv64_binemit()
|
| /wasmtime-44.0.1/docs/ |
| H A D | contributing-testing.md | 114 For very "unit-y" tests, we add `test` modules in the same `.rs` file as the 132 If you're writing a unit test and a `test` module doesn't already exist, you can
|
| H A D | wasip2-plugins.md | 121 (plugins implement pure functions), so the state type is `()` (the unit type). 178 to each unit of code and so it can't be re-used across different plugins.
|
| H A D | examples-minimal.md | 145 Note that with LTO using a single codegen unit may only have marginal benefit. 146 If not using LTO, however, a single codegen unit will likely provide benefit
|
| /wasmtime-44.0.1/cranelift/docs/ |
| H A D | compare-llvm.md | 114 In LLVM IR, the largest representable unit is the *module* which corresponds 115 more or less to a C translation unit. It is a collection of functions and
|
| H A D | testing.md | 4 possible, Rust unit tests are used to verify single functions and types. When 10 Rust and Cargo have good support for testing. Cranelift uses unit tests, doc
|
| /wasmtime-44.0.1/cranelift/codegen/src/ |
| H A D | prelude.isle | 13 (decl pure unit () Unit) 14 (extern constructor unit unit)
|
| H A D | isle_prelude.rs | 14 fn unit(&mut self) -> Unit {
|
| /wasmtime-44.0.1/tests/misc_testsuite/component-model/ |
| H A D | strings.wast | 161 ;; unit. This is a utf-16 encoded string but during transcoding it'll
|
| /wasmtime-44.0.1/cranelift/isle/veri/veri_engine/src/ |
| H A D | solver.rs | 1867 let unit = "()".to_string(); in run_solver_with_static_widths() localVariable 1870 .map_or(unit, |s| format!("width {s}")); in run_solver_with_static_widths()
|
| /wasmtime-44.0.1/docs/js/ |
| H A D | moment.min.2.30.1.js | 12 …({unit:t,priority:G[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=V(e)),i… property
|