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

Method cfg_postorder

cranelift/codegen/src/dominator_tree/simple.rs:59–62  ·  view source on GitHub ↗

Get the CFG post-order of blocks that was used to compute the dominator tree. Note that this post-order is not updated automatically when the CFG is modified. It is computed from scratch and cached by `compute()`.

(&self)

Source from the content-addressed store, hash-verified

57 /// Note that this post-order is not updated automatically when the CFG is modified. It is
58 /// computed from scratch and cached by `compute()`.
59 pub fn cfg_postorder(&self) -> &[Block] {
60 debug_assert!(self.is_valid());
61 &self.postorder
62 }
63
64 /// Returns the immediate dominator of `block`.
65 ///

Callers 2

newMethod · 0.45
domtree_integrityMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected