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

Method cfg_postorder

cranelift/codegen/src/dominator_tree.rs:213–216  ·  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

211 /// Note that this post-order is not updated automatically when the CFG is modified. It is
212 /// computed from scratch and cached by `compute()`.
213 pub fn cfg_postorder(&self) -> &[Block] {
214 debug_assert!(self.is_valid());
215 &self.postorder
216 }
217
218 /// Get an iterator over CFG reverse post-order of blocks used to compute the dominator tree.
219 ///

Callers 2

filecheck_textFunction · 0.45
do_remove_constant_phisFunction · 0.45

Calls

no outgoing calls

Tested by 1

filecheck_textFunction · 0.36