| /wasmtime-44.0.1/cranelift/codegen/src/ |
| H A D | cfg_printer.rs | 7 use crate::flowgraph::{BlockPredecessor, ControlFlowGraph}; 14 cfg: ControlFlowGraph, 23 cfg: ControlFlowGraph::with_function(func), in new()
|
| H A D | loop_analysis.rs | 8 use crate::flowgraph::ControlFlowGraph; 164 pub fn compute(&mut self, func: &Function, cfg: &ControlFlowGraph, domtree: &DominatorTree) { in compute() argument 195 fn is_block_loop_header(block: Block, cfg: &ControlFlowGraph, domtree: &DominatorTree) -> bool { in is_block_loop_header() argument 203 fn find_loop_headers(&mut self, cfg: &ControlFlowGraph, domtree: &DominatorTree) { in find_loop_headers() argument 217 fn discover_loop_blocks(&mut self, cfg: &ControlFlowGraph, domtree: &DominatorTree) { in discover_loop_blocks() argument 308 use crate::flowgraph::ControlFlowGraph; 343 let mut cfg = ControlFlowGraph::new(); in nested_loops_detection() 407 let cfg = ControlFlowGraph::with_function(&func); in complex_loop_detection()
|
| H A D | flowgraph.rs | 71 pub struct ControlFlowGraph { struct 78 impl ControlFlowGraph { argument 206 ControlFlowGraph::with_function(&func); in empty() 219 let cfg = ControlFlowGraph::with_function(&func); in no_predecessors() 252 let mut cfg = ControlFlowGraph::with_function(&func); in branches_and_jumps()
|
| H A D | unreachable_code.rs | 7 use crate::flowgraph::ControlFlowGraph; 19 cfg: &mut ControlFlowGraph, in eliminate_unreachable_code() argument
|
| H A D | dominator_tree.rs | 4 use crate::flowgraph::{BlockPredecessor, ControlFlowGraph}; 287 pub fn with_function(func: &Function, cfg: &ControlFlowGraph) -> Self { in with_function() 309 pub fn compute(&mut self, func: &Function, cfg: &ControlFlowGraph) { in compute() argument 423 fn compute_domtree(&mut self, cfg: &ControlFlowGraph) { in compute_domtree() argument 544 let cfg = ControlFlowGraph::with_function(&func); in empty() 576 let cfg = ControlFlowGraph::with_function(cur.func); in unreachable_node() 627 let cfg = ControlFlowGraph::with_function(cur.func); in non_zero_entry_block() 683 let cfg = ControlFlowGraph::with_function(cur.func); in backwards_layout() 747 let cfg = ControlFlowGraph::with_function(cur.func); in insts_same_block()
|
| H A D | context.rs | 15 use crate::flowgraph::ControlFlowGraph; 45 pub cfg: ControlFlowGraph, 76 cfg: ControlFlowGraph::new(), in for_function()
|
| /wasmtime-44.0.1/cranelift/codegen/src/dominator_tree/ |
| H A D | simple.rs | 7 use crate::flowgraph::{BlockPredecessor, ControlFlowGraph}; 208 pub fn with_function(func: &Function, cfg: &ControlFlowGraph) -> Self { in with_function() 221 pub fn compute(&mut self, func: &Function, cfg: &ControlFlowGraph) { in compute() argument 257 fn compute_domtree(&mut self, func: &Function, cfg: &ControlFlowGraph) { in compute_domtree() argument 309 fn compute_idom(&self, block: Block, cfg: &ControlFlowGraph) -> Block { in compute_idom() 341 let cfg = ControlFlowGraph::with_function(&func); in empty() 373 let cfg = ControlFlowGraph::with_function(cur.func); in unreachable_node() 424 let cfg = ControlFlowGraph::with_function(cur.func); in non_zero_entry_block() 494 let cfg = ControlFlowGraph::with_function(cur.func); in backwards_layout() 558 let cfg = ControlFlowGraph::with_function(cur.func); in insts_same_block()
|
| /wasmtime-44.0.1/cranelift/filetests/src/ |
| H A D | test_domtree.rs | 18 use cranelift_codegen::flowgraph::ControlFlowGraph; 44 let cfg = ControlFlowGraph::with_function(func); in run()
|
| /wasmtime-44.0.1/fuzz/fuzz_targets/ |
| H A D | misc.rs | 104 use cranelift_codegen::flowgraph::ControlFlowGraph; in dominator_tree() 170 let cfg = ControlFlowGraph::with_function(&func); in dominator_tree()
|
| /wasmtime-44.0.1/cranelift/codegen/src/machinst/ |
| H A D | blockorder.rs | 349 use crate::flowgraph::ControlFlowGraph; 394 let mut cfg = ControlFlowGraph::new(); in build_test_func()
|
| /wasmtime-44.0.1/cranelift/src/ |
| H A D | bugpoint.rs | 9 use cranelift_codegen::flowgraph::ControlFlowGraph; 388 let mut cfg = ControlFlowGraph::new(); in mutate() 660 let mut cfg = ControlFlowGraph::new(); in mutate()
|
| /wasmtime-44.0.1/cranelift/codegen/src/verifier/ |
| H A D | mod.rs | 69 use crate::flowgraph::{BlockPredecessor, ControlFlowGraph}; 279 cfg: &ControlFlowGraph, in verify_context() argument 304 expected_cfg: ControlFlowGraph, 311 let expected_cfg = ControlFlowGraph::with_function(func); in new() 1753 cfg: &ControlFlowGraph, in cfg_integrity() argument
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/ |
| H A D | mod.rs | 245 fn(ir::Inst, &mut ir::Function, &mut flowgraph::ControlFlowGraph, &dyn TargetIsa) -> bool;
|