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

Class PredIter

cranelift/codegen/src/flowgraph.rs:183–183  ·  view source on GitHub ↗

An iterator over block predecessors. The iterator type is `BlockPredecessor`. Each predecessor is an instruction that branches to the block.

Source from the content-addressed store, hash-verified

181///
182/// Each predecessor is an instruction that branches to the block.
183pub struct PredIter<'a>(bforest::MapIter<'a, Inst, Block>);
184
185impl<'a> Iterator for PredIter<'a> {
186 type Item = BlockPredecessor;

Callers 1

pred_iterMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected