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

Method merge_availability

cranelift/codegen/src/egraph/mod.rs:456–464  ·  view source on GitHub ↗
(&self, a: Value, b: Value)

Source from the content-addressed store, hash-verified

454 }
455
456 fn merge_availability(&self, a: Value, b: Value) -> Block {
457 let a = self.available_block[a];
458 let b = self.available_block[b];
459 if self.domtree.block_dominates(a, b) {
460 a
461 } else {
462 b
463 }
464 }
465
466 /// Optimize a "skeleton" instruction.
467 ///

Callers 1

optimize_pure_enodeMethod · 0.80

Calls 1

block_dominatesMethod · 0.45

Tested by

no test coverage detected