MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / pre_order_iter

Method pre_order_iter

cranelift/codegen/src/traversals.rs:65–67  ·  view source on GitHub ↗

Perform a pre-order traversal over the given function. Yields `ir::Block` items.

(&'a mut self, func: &'a ir::Function)

Source from the content-addressed store, hash-verified

63 ///
64 /// Yields `ir::Block` items.
65 pub fn pre_order_iter<'a>(&'a mut self, func: &'a ir::Function) -> DfsPreOrderIter<'a> {
66 DfsPreOrderIter(self.iter(func))
67 }
68
69 /// Perform a post-order traversal over the given function.
70 ///

Callers 2

inline_oneFunction · 0.80
topo_sorted_valuesMethod · 0.80

Calls 2

DfsPreOrderIterClass · 0.85
iterMethod · 0.45

Tested by

no test coverage detected