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

Method innermost_loop

cranelift/codegen/src/loop_analysis.rs:119–121  ·  view source on GitHub ↗

Return the innermost loop for a given block.

(&self, block: Block)

Source from the content-addressed store, hash-verified

117
118 /// Return the innermost loop for a given block.
119 pub fn innermost_loop(&self, block: Block) -> Option<Loop> {
120 self.block_loop_map[block].expand()
121 }
122
123 /// Determine if a Block is a loop header. If so, return the loop.
124 pub fn is_loop_header(&self, block: Block) -> Option<Loop> {

Callers 2

is_loop_headerMethod · 0.80
loop_levelMethod · 0.80

Calls 1

expandMethod · 0.45

Tested by

no test coverage detected