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

Method inst

cranelift/codegen/src/ir/dfg.rs:664–669  ·  view source on GitHub ↗

Get the instruction where the value was defined, if any.

(&self)

Source from the content-addressed store, hash-verified

662
663 /// Get the instruction where the value was defined, if any.
664 pub fn inst(&self) -> Option<Inst> {
665 match *self {
666 Self::Result(inst, _) => Some(inst),
667 _ => None,
668 }
669 }
670
671 /// Unwrap the block there the parameter is defined, or panic.
672 pub fn unwrap_block(&self) -> Block {

Callers 12

mutateMethod · 0.80
put_value_in_regsMethod · 0.80
emitMethod · 0.80
unwrap_instMethod · 0.80
u64_from_valueMethod · 0.80
u64_from_signed_valueMethod · 0.80
maybe_remat_argMethod · 0.80
statically_in_boundsFunction · 0.80
fill_value_as_memsetMethod · 0.80
value_as_const_intMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected