Home
last modified time | relevance | path

Searched refs:ControlFlowGraph (Results 1 – 13 of 13) sorted by relevance

/wasmtime-44.0.1/cranelift/codegen/src/
H A Dcfg_printer.rs7 use crate::flowgraph::{BlockPredecessor, ControlFlowGraph};
14 cfg: ControlFlowGraph,
23 cfg: ControlFlowGraph::with_function(func), in new()
H A Dloop_analysis.rs8 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 Dflowgraph.rs71 pub struct ControlFlowGraph { struct
78 impl ControlFlowGraph { impl
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 Dunreachable_code.rs7 use crate::flowgraph::ControlFlowGraph;
19 cfg: &mut ControlFlowGraph, in eliminate_unreachable_code() argument
H A Ddominator_tree.rs4 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 Dcontext.rs15 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 Dsimple.rs7 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 Dtest_domtree.rs18 use cranelift_codegen::flowgraph::ControlFlowGraph;
44 let cfg = ControlFlowGraph::with_function(func); in run()
/wasmtime-44.0.1/fuzz/fuzz_targets/
H A Dmisc.rs104 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 Dblockorder.rs349 use crate::flowgraph::ControlFlowGraph;
394 let mut cfg = ControlFlowGraph::new(); in build_test_func()
/wasmtime-44.0.1/cranelift/src/
H A Dbugpoint.rs9 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 Dmod.rs69 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 Dmod.rs245 fn(ir::Inst, &mut ir::Function, &mut flowgraph::ControlFlowGraph, &dyn TargetIsa) -> bool;