| /wasmtime-44.0.1/crates/cranelift/src/translate/ |
| H A D | func_translator.rs | 71 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 D | remove_constant_phis.rs | 262 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 D | cfg_printer.rs | 37 if let Some(entry) = self.func.layout.entry_block() { in header()
|
| H A D | dominator_tree.rs | 345 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 D | traversals.rs | 56 if let Some(e) = func.layout.entry_block() { in iter()
|
| H A D | cursor.rs | 322 self.layout().entry_block() in next_block_position()
|
| H A D | alias_analysis.rs | 209 let entry = func.layout.entry_block().unwrap(); in compute_block_input_states()
|
| H A D | inline.rs | 1038 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 D | bugpoint.rs | 113 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 D | simple.rs | 266 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 D | test_domtree.rs | 131 stack.extend(func.layout.entry_block()); in filecheck_text()
|
| /wasmtime-44.0.1/cranelift/codegen/src/verifier/ |
| H A D | mod.rs | 734 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 D | layout.rs | 327 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 D | function.rs | 276 let entry = self.layout.entry_block().expect("Function is empty"); in special_param()
|
| /wasmtime-44.0.1/cranelift/codegen/src/egraph/ |
| H A D | mod.rs | 265 .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 D | elaborate.rs | 821 block: self.func.layout.entry_block().unwrap(), in elaborate_domtree()
|
| /wasmtime-44.0.1/cranelift/codegen/src/machinst/ |
| H A D | lower.rs | 442 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 D | vcode.rs | 1535 fn entry_block(&self) -> BlockIndex { in entry_block() method
|
| /wasmtime-44.0.1/cranelift/frontend/src/ |
| H A D | frontend.rs | 794 let is_entry = match self.func.layout.entry_block() { in is_unreachable()
|
| /wasmtime-44.0.1/crates/cranelift/src/ |
| H A D | func_environ.rs | 625 .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()
|