Lines Matching refs:with_function
208 pub fn with_function(func: &Function, cfg: &ControlFlowGraph) -> Self { in with_function() method
341 let cfg = ControlFlowGraph::with_function(&func); in empty()
343 let dtree = SimpleDominatorTree::with_function(&func, &cfg); in empty()
373 let cfg = ControlFlowGraph::with_function(cur.func); in unreachable_node()
374 let dt = SimpleDominatorTree::with_function(cur.func, &cfg); in unreachable_node()
424 let cfg = ControlFlowGraph::with_function(cur.func); in non_zero_entry_block()
425 let dt = SimpleDominatorTree::with_function(cur.func, &cfg); in non_zero_entry_block()
494 let cfg = ControlFlowGraph::with_function(cur.func); in backwards_layout()
495 let dt = SimpleDominatorTree::with_function(cur.func, &cfg); in backwards_layout()
558 let cfg = ControlFlowGraph::with_function(cur.func); in insts_same_block()
559 let dt = SimpleDominatorTree::with_function(cur.func, &cfg); in insts_same_block()