| /wasmtime-44.0.1/cranelift/codegen/src/isa/x64/inst/ |
| H A D | emit_state.rs | 14 ctrl_plane: ControlPlane, field 22 fn new(abi: &Callee<X64ABIMachineSpec>, ctrl_plane: ControlPlane) -> Self { in new() 25 ctrl_plane, in new() 35 &mut self.ctrl_plane in ctrl_plane_mut() 39 self.ctrl_plane in take_ctrl_plane()
|
| H A D | emit_tests.rs | 346 let ctrl_plane = &mut Default::default(); in test_x64_emit() localVariable 377 buffer.bind_label(label, ctrl_plane); in test_x64_emit() 379 let buffer = buffer.finish(&constants, ctrl_plane); in test_x64_emit()
|
| /wasmtime-44.0.1/cranelift/codegen/src/ |
| H A D | context.rs | 118 ctrl_plane: &mut ControlPlane, in compile_and_emit() 120 let compiled_code = self.compile(isa, ctrl_plane)?; in compile_and_emit() 131 ctrl_plane: &mut ControlPlane, in compile_stencil() 139 self.optimize(isa, ctrl_plane)?; in compile_stencil() 140 result = isa.compile_function(&self.func, &self.domtree, self.want_disasm, ctrl_plane); in compile_stencil() 154 ctrl_plane: &mut ControlPlane, in optimize() 186 self.egraph_pass(isa, ctrl_plane)?; in optimize() 214 ctrl_plane: &mut ControlPlane, in compile() 217 .compile_stencil(isa, ctrl_plane) in compile() 365 ctrl_plane: &mut ControlPlane, in egraph_pass() [all …]
|
| H A D | incremental_cache.rs | 43 ctrl_plane: &mut ControlPlane, in compile_with_cache() 56 let actual_result = self.compile(isa, ctrl_plane)?; in compile_with_cache() 76 .compile_stencil(isa, ctrl_plane) in compile_with_cache()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/ |
| H A D | mod.rs | 56 ctrl_plane: &mut ControlPlane, in compile_vcode() 61 compile::compile::<S390xBackend>(func, domtree, self, abi, emit_info, sigs, ctrl_plane) in compile_vcode() 71 ctrl_plane: &mut ControlPlane, in compile_function() 74 let (vcode, regalloc_result) = self.compile_vcode(func, domtree, ctrl_plane)?; in compile_function() 76 let emit_result = vcode.emit(®alloc_result, want_disasm, flags, ctrl_plane); in compile_function()
|
| /wasmtime-44.0.1/cranelift/codegen/src/machinst/ |
| H A D | compile.rs | 22 ctrl_plane: &mut ControlPlane, in compile() 25 let block_order = BlockLoweringOrder::new(f, domtree, ctrl_plane); in compile() 40 lower.lower(b, ctrl_plane)? in compile()
|
| H A D | buffer.rs | 717 self.optimize_branches(ctrl_plane); in bind_label() 972 if ctrl_plane.get_decision() { in optimize_branches() 1334 ctrl_plane: &mut ControlPlane, in emit_island_maybe_forced() 1421 self.bind_label(label, ctrl_plane); in emit_island_maybe_forced() 1572 ctrl_plane: &mut ControlPlane, in finish_emission_maybe_forcing_veneers() 1596 ctrl_plane: &mut ControlPlane, in finish() 2455 ctrl_plane: &mut ControlPlane, in append() 2470 ctrl_plane, in append() 2911 buf.bind_label(label(0), ctrl_plane); in metadata_records() 2937 buf.bind_label(label(1), ctrl_plane); in metadata_records() [all …]
|
| H A D | mod.rs | 364 fn new(abi: &Callee<I::ABIMachineSpec>, ctrl_plane: ControlPlane) -> Self; in new() 599 ctrl_plane: &mut ControlPlane, in append() 627 fn finish(&mut self, ctrl_plane: &mut ControlPlane) -> Vec<u8>; in finish()
|
| H A D | lower.rs | 724 ctrl_plane: &mut ControlPlane, in lower_clif_block() 880 if ctrl_plane.get_decision() { in lower_clif_block() 881 if ctrl_plane.get_decision() { in lower_clif_block() 882 let imm: u64 = ctrl_plane.get_arbitrary(); in lower_clif_block() 886 let imm: f64 = ctrl_plane.get_arbitrary(); in lower_clif_block() 1119 ctrl_plane: &mut ControlPlane, in lower() 1190 self.lower_clif_block(backend, bb, ctrl_plane)?; in lower()
|
| H A D | blockorder.rs | 151 ctrl_plane: &mut ControlPlane, in new() 217 let succs = ctrl_plane.shuffled(block_succs[range].iter_mut().enumerate()); in new()
|
| H A D | vcode.rs | 741 ctrl_plane: &mut ControlPlane, in emit() 792 let mut state = I::State::new(&self.abi, core::mem::take(ctrl_plane)); in emit() 1101 buffer.emit_island(padding + worst_case_next_bb, ctrl_plane); in emit() 1130 buffer.optimize_branches(ctrl_plane); in emit() 1133 *ctrl_plane = state.take_ctrl_plane(); in emit() 1166 buffer: buffer.finish(&self.constants, ctrl_plane), in emit()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/ |
| H A D | mod.rs | 60 ctrl_plane: &mut ControlPlane, in compile_vcode() 65 compile::compile::<AArch64Backend>(func, domtree, self, abi, emit_info, sigs, ctrl_plane) in compile_vcode() 75 ctrl_plane: &mut ControlPlane, in compile_function() 77 let (vcode, regalloc_result) = self.compile_vcode(func, domtree, ctrl_plane)?; in compile_function() 79 let emit_result = vcode.emit(®alloc_result, want_disasm, &self.flags, ctrl_plane); in compile_function()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/riscv64/ |
| H A D | mod.rs | 57 ctrl_plane: &mut ControlPlane, in compile_vcode() 62 compile::compile::<Riscv64Backend>(func, domtree, self, abi, emit_info, sigs, ctrl_plane) in compile_vcode() 72 ctrl_plane: &mut ControlPlane, in compile_function() 74 let (vcode, regalloc_result) = self.compile_vcode(func, domtree, ctrl_plane)?; in compile_function() 77 let emit_result = vcode.emit(®alloc_result, want_disasm, &self.flags, ctrl_plane); in compile_function()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/x64/ |
| H A D | mod.rs | 64 ctrl_plane: &mut ControlPlane, in compile_vcode() 71 compile::compile::<Self>(func, domtree, self, abi, emit_info, sigs, ctrl_plane) in compile_vcode() 81 ctrl_plane: &mut ControlPlane, in compile_function() 83 let (vcode, regalloc_result) = self.compile_vcode(func, domtree, ctrl_plane)?; in compile_function() 85 let emit_result = vcode.emit(®alloc_result, want_disasm, &self.flags, ctrl_plane); in compile_function()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/pulley_shared/ |
| H A D | mod.rs | 125 ctrl_plane: &mut ControlPlane, in compile_vcode() 134 machinst::compile::<Self>(func, domtree, self, abi, emit_info, sigs, ctrl_plane) in compile_vcode() 176 ctrl_plane: &mut cranelift_control::ControlPlane, in compile_function() 178 let (vcode, regalloc_result) = self.compile_vcode(func, domtree, ctrl_plane)?; in compile_function() 182 let emit_result = vcode.emit(®alloc_result, want_disasm, &self.flags, ctrl_plane); in compile_function()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/pulley_shared/inst/ |
| H A D | emit.rs | 44 ctrl_plane: ControlPlane, field 65 ctrl_plane, in new() 76 &mut self.ctrl_plane in ctrl_plane_mut() 80 self.ctrl_plane in take_ctrl_plane() 141 sink.bind_label(not_trap, &mut state.ctrl_plane); in pulley_emit() 569 sink.emit_island(br_table_size, &mut state.ctrl_plane); in pulley_emit() 570 sink.bind_label(label, &mut state.ctrl_plane); in pulley_emit() 595 sink.emit_island(space_needed + 8, &mut state.ctrl_plane); in pulley_emit() 596 sink.bind_label(label, &mut state.ctrl_plane); in pulley_emit() 639 sink.emit_island(length + 4, &mut state.ctrl_plane); in emit_return_call_common_sequence() [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/riscv64/inst/ |
| H A D | emit.rs | 55 ctrl_plane: ControlPlane, field 77 ctrl_plane: ControlPlane, in new() 81 ctrl_plane, in new() 92 &mut self.ctrl_plane in ctrl_plane_mut() 96 self.ctrl_plane in take_ctrl_plane() 912 sink.bind_label(label_data, &mut state.ctrl_plane); in emit_uncompressed() 915 sink.bind_label(label_end, &mut state.ctrl_plane); in emit_uncompressed() 1705 sink.bind_label(label_end, &mut state.ctrl_plane); in emit_uncompressed() 1735 sink.bind_label(cas_lebel, &mut state.ctrl_plane); in emit_uncompressed() 1817 sink.bind_label(retry, &mut state.ctrl_plane); in emit_uncompressed() [all …]
|
| /wasmtime-44.0.1/cranelift/filetests/src/ |
| H A D | function_runner.rs | 161 for (func, ref mut ctrl_plane) in functions.iter().zip(ctrl_planes) { in add_functions() 162 self.define_function(func.clone(), ctrl_plane)?; in add_functions() 163 self.create_trampoline_for_function(func, ctrl_plane)?; in add_functions() 258 ctrl_plane: &mut ControlPlane, in define_function() 271 ctrl_plane, in define_function() 322 ctrl_plane: &mut ControlPlane, in create_trampoline_for_function() 338 self.define_function(trampoline, ctrl_plane)?; in create_trampoline_for_function() 860 let ctrl_plane = &mut ControlPlane::default(); in nop() localVariable 871 .define_function(function.clone(), ctrl_plane) in nop() 874 .create_trampoline_for_function(&function, ctrl_plane) in nop()
|
| /wasmtime-44.0.1/cranelift/codegen/src/egraph/ |
| H A D | mod.rs | 62 ctrl_plane: &'a mut ControlPlane, field 93 ctrl_plane: &'opt mut ControlPlane, field 326 ctx.ctrl_plane.shuffle(optimized_values); in optimize_pure_enode() 696 ctrl_plane: &'a mut ControlPlane, in new() 703 ctrl_plane, in new() 819 self.ctrl_plane in remove_pure_and_optimize() 870 ctrl_plane: self.ctrl_plane, in remove_pure_and_optimize() 992 self.ctrl_plane, in elaborate()
|
| H A D | elaborate.rs | 71 ctrl_plane: &'a mut ControlPlane, field 147 ctrl_plane: &'a mut ControlPlane, in new() 167 ctrl_plane, in new() 296 let use_worst = self.ctrl_plane.get_decision(); in compute_best_values() 841 for child in self.ctrl_plane.shuffled(domtree.children(block)) { in elaborate_domtree()
|
| /wasmtime-44.0.1/crates/cranelift/src/ |
| H A D | obj.rs | 64 ctrl_plane: ControlPlane, field 105 ctrl_plane: ControlPlane::default(), in new() 130 .append(true, &body, alignment, &mut self.ctrl_plane); in append_func() 213 .append(false, &vec![0; padding], 1, &mut self.ctrl_plane); in append_padding() 223 let mut text = self.text.finish(&mut self.ctrl_plane); in finish()
|
| /wasmtime-44.0.1/cranelift/module/src/ |
| H A D | module.rs | 971 ctrl_plane: &mut ControlPlane, in define_function_with_control_plane() 1077 ctrl_plane: &mut ControlPlane, in define_function_with_control_plane() 1079 (**self).define_function_with_control_plane(func, ctx, ctrl_plane) in define_function_with_control_plane() 1181 ctrl_plane: &mut ControlPlane, in define_function_with_control_plane() 1183 (**self).define_function_with_control_plane(func, ctx, ctrl_plane) in define_function_with_control_plane()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/inst/ |
| H A D | emit.rs | 673 ctrl_plane: ControlPlane, field 682 ctrl_plane, in new() 692 &mut self.ctrl_plane in ctrl_plane_mut() 696 self.ctrl_plane in take_ctrl_plane() 1495 sink.bind_label(again_label, &mut state.ctrl_plane); in emit() 1689 sink.bind_label(again_label, &mut state.ctrl_plane); in emit() 1734 sink.bind_label(out_label, &mut state.ctrl_plane); in emit() 2852 sink.bind_label(else_label, &mut state.ctrl_plane); in emit() 2858 sink.bind_label(out_label, &mut state.ctrl_plane); in emit() 3594 sink.bind_label(loop_start, &mut state.ctrl_plane); in emit() [all …]
|
| /wasmtime-44.0.1/fuzz/fuzz_targets/ |
| H A D | cranelift-fuzzgen.rs | 253 .map(|(func, ctrl_plane)| { in to_optimized() 255 ctx.optimize(self.isa.as_ref(), ctrl_plane).unwrap(); in to_optimized()
|
| /wasmtime-44.0.1/cranelift/jit/src/ |
| H A D | backend.rs | 465 ctrl_plane: &mut ControlPlane, in define_function_with_control_plane() 482 let res = ctx.compile(self.isa(), ctrl_plane)?; in define_function_with_control_plane()
|