Home
last modified time | relevance | path

Searched refs:entry_block (Results 1 – 20 of 20) sorted by relevance

/wasmtime-44.0.1/crates/cranelift/src/translate/
H A Dfunc_translator.rs71 let entry_block = builder.create_block(); in translate_body() localVariable
72 builder.append_block_params_for_function_params(entry_block); in translate_body()
73 builder.switch_to_block(entry_block); in translate_body()
74 builder.seal_block(entry_block); // Declare all predecessors known. in translate_body()
82 let num_params = declare_wasm_parameters(&mut builder, entry_block, environ); in translate_body()
106 entry_block: Block, in declare_wasm_parameters()
125 let param_value = builder.block_params(entry_block)[i]; in declare_wasm_parameters()
131 let param_value = builder.block_params(entry_block)[i]; in declare_wasm_parameters()
/wasmtime-44.0.1/cranelift/codegen/src/
H A Dremove_constant_phis.rs262 let entry_block = func in do_remove_constant_phis() localVariable
264 .entry_block() in do_remove_constant_phis()
272 if b == entry_block { in do_remove_constant_phis()
292 assert!(edge.block != entry_block); in do_remove_constant_phis()
343 if block == entry_block { in do_remove_constant_phis()
H A Dcfg_printer.rs37 if let Some(entry) = self.func.layout.entry_block() { in header()
H A Ddominator_tree.rs345 if let Some(block) = func.layout.entry_block() { in compute_spanning_tree()
650 assert_eq!(cur.func.layout.entry_block().unwrap(), block3); in non_zero_entry_block()
686 assert_eq!(cur.func.layout.entry_block(), Some(block0)); in backwards_layout()
H A Dtraversals.rs56 if let Some(e) = func.layout.entry_block() { in iter()
H A Dcursor.rs322 self.layout().entry_block() in next_block_position()
H A Dalias_analysis.rs209 let entry = func.layout.entry_block().unwrap(); in compute_block_input_states()
H A Dinline.rs1038 let mut next_callee_block = callee.layout.entry_block(); in inline_block_layout()
1206 .entry_block() in replace_call_with_jump()
1388 if callee.layout.entry_block() != Some(callee_block) { in create_blocks()
/wasmtime-44.0.1/cranelift/src/
H A Dbugpoint.rs113 let first_block = func.layout.entry_block().unwrap(); in new()
150 let first_block = func.layout.entry_block().unwrap(); in new()
240 let first_block = func.layout.entry_block().unwrap(); in new()
277 let first_block = func.layout.entry_block().unwrap(); in new()
295 let first_block = func.layout.entry_block().unwrap(); in mutate()
325 block: func.layout.entry_block().unwrap(), in new()
359 let first_block = func.layout.entry_block().unwrap(); in new()
403 if Some(self.block) == func.layout.entry_block() { in mutate()
641 block: func.layout.entry_block().unwrap(), in new()
/wasmtime-44.0.1/cranelift/codegen/src/dominator_tree/
H A Dsimple.rs266 let (entry_block, postorder) = match self.postorder.as_slice().split_last() { in compute_domtree()
270 debug_assert_eq!(Some(entry_block), func.layout.entry_block()); in compute_domtree()
273 self.nodes[entry_block].rpo_number = 2 * STRIDE; in compute_domtree()
447 assert_eq!(cur.func.layout.entry_block().unwrap(), block3); in non_zero_entry_block()
497 assert_eq!(cur.func.layout.entry_block(), Some(block0)); in backwards_layout()
/wasmtime-44.0.1/cranelift/filetests/src/
H A Dtest_domtree.rs131 stack.extend(func.layout.entry_block()); in filecheck_text()
/wasmtime-44.0.1/cranelift/codegen/src/verifier/
H A Dmod.rs734 if let Some(entry_block) = self.func.layout.entry_block() { in verify_block()
735 if e == entry_block { in verify_block()
1223 if let Some(block) = self.func.layout.entry_block() { in typecheck_entry_block_params()
1256 if let Some(entry_block) = self.func.layout.entry_block() { in check_entry_not_cold()
1257 if self.func.layout.is_cold(entry_block) { in check_entry_not_cold()
1259 .fatal((entry_block, format!("entry block cannot be marked as cold"))); in check_entry_not_cold()
/wasmtime-44.0.1/cranelift/codegen/src/ir/
H A Dlayout.rs327 pub fn entry_block(&self) -> Option<Block> { in entry_block() method
1094 assert_eq!(layout.entry_block(), None); in multiple_blocks()
1096 assert_eq!(layout.entry_block(), Some(e0)); in multiple_blocks()
1098 assert_eq!(layout.entry_block(), Some(e0)); in multiple_blocks()
H A Dfunction.rs276 let entry = self.layout.entry_block().expect("Function is empty"); in special_param()
/wasmtime-44.0.1/cranelift/codegen/src/egraph/
H A Dmod.rs265 .unwrap_or(self.func.layout.entry_block().unwrap()) in get_available_block()
806 let root = cursor.layout().entry_block().unwrap(); in remove_pure_and_optimize()
H A Delaborate.rs821 block: self.func.layout.entry_block().unwrap(), in elaborate_domtree()
/wasmtime-44.0.1/cranelift/codegen/src/machinst/
H A Dlower.rs442 let entry_bb = f.stencil.layout.entry_block().unwrap(); in new()
526 if let Some(entry_bb) = self.f.layout.entry_block() { in gen_arg_setup()
H A Dvcode.rs1535 fn entry_block(&self) -> BlockIndex { in entry_block() method
/wasmtime-44.0.1/cranelift/frontend/src/
H A Dfrontend.rs794 let is_entry = match self.func.layout.entry_block() { in is_unreachable()
/wasmtime-44.0.1/crates/cranelift/src/
H A Dfunc_environ.rs625 .block_params(builder.func.layout.entry_block().unwrap()); in hook_malloc_exit()
648 .block_params(builder.func.layout.entry_block().unwrap()); in hook_free_exit()