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

Method post_order_iter

cranelift/codegen/src/traversals.rs:72–74  ·  view source on GitHub ↗

Perform a post-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

70 ///
71 /// Yields `ir::Block` items.
72 pub fn post_order_iter<'a>(&'a mut self, func: &'a ir::Function) -> DfsPostOrderIter<'a> {
73 DfsPostOrderIter(self.iter(func))
74 }
75
76 /// Clear this DFS, but keep its allocations for future reuse.
77 pub fn clear(&mut self) {

Callers 2

runMethod · 0.80
compute_postorderMethod · 0.80

Calls 2

DfsPostOrderIterClass · 0.85
iterMethod · 0.45

Tested by

no test coverage detected