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

Method flowgraph

cranelift/codegen/src/context.rs:326–329  ·  view source on GitHub ↗

Compute the control flow graph and dominator tree.

(&mut self)

Source from the content-addressed store, hash-verified

324
325 /// Compute the control flow graph and dominator tree.
326 pub fn flowgraph(&mut self) {
327 self.compute_cfg();
328 self.compute_domtree()
329 }
330
331 /// Perform unreachable code elimination.
332 pub fn eliminate_unreachable_code<'a, FOI>(&mut self, fisa: FOI) -> CodegenResult<()>

Callers 1

runMethod · 0.80

Calls 2

compute_cfgMethod · 0.80
compute_domtreeMethod · 0.45

Tested by 1

runMethod · 0.64