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

Method memflags_data

cranelift/codegen/src/ir/instructions.rs:573–575  ·  view source on GitHub ↗

If this is a load/store instruction, resolve its memory flags to data through the DFG.

(&self, dfg: &super::dfg::DataFlowGraph)

Source from the content-addressed store, hash-verified

571 /// If this is a load/store instruction, resolve its memory flags to data
572 /// through the DFG.
573 pub fn memflags_data(&self, dfg: &super::dfg::DataFlowGraph) -> Option<super::MemFlagsData> {
574 self.memflags().map(|f| dfg.mem_flags[f])
575 }
576
577 /// If this instruction references a stack slot, return it
578 pub fn stack_slot(&self) -> Option<StackSlot> {

Callers

nothing calls this directly

Calls 2

mapMethod · 0.45
memflagsMethod · 0.45

Tested by

no test coverage detected