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

Method format

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

Get the instruction format for this opcode.

(self)

Source from the content-addressed store, hash-verified

303impl Opcode {
304 /// Get the instruction format for this opcode.
305 pub fn format(self) -> InstructionFormat {
306 OPCODE_FORMAT[self as usize - 1]
307 }
308
309 /// Get the constraint descriptor for this opcode.
310 /// Panic if this is called on `NotAnOpcode`.

Callers 14

parse_inst_operandsMethod · 0.45
insert_opcodeFunction · 0.45
insert_load_storeFunction · 0.45
generate_instructionsMethod · 0.45
instruction_integrityMethod · 0.45
finishMethod · 0.45
translate_eh_peFunction · 0.45
define_dataMethod · 0.45
finishMethod · 0.45
process_relocMethod · 0.45
addReleasesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected