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

Method children

cranelift/codegen/src/dominator_tree.rs:305–310  ·  view source on GitHub ↗

Get an iterator over the direct children of `block` in the dominator tree. These are the blocks whose immediate dominator is `block`, ordered by decreasing CFG post-order number.

(&self, block: Block)

Source from the content-addressed store, hash-verified

303 /// These are the blocks whose immediate dominator is `block`, ordered by
304 /// decreasing CFG post-order number.
305 pub fn children(&self, block: Block) -> ChildIter<'_> {
306 ChildIter {
307 domtree: self,
308 next: self.nodes[block].child,
309 }
310 }
311}
312
313impl DominatorTree {

Callers 4

filecheck_textFunction · 0.80
fmt_blockMethod · 0.80
nextMethod · 0.80
elaborate_domtreeMethod · 0.80

Calls

no outgoing calls

Tested by 1

filecheck_textFunction · 0.64