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

Enum Operand

cranelift/codegen/meta/src/pulley.rs:29–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27const EXTENDED_OPS: &[Inst<'_>] = pulley_interpreter::for_each_extended_op!(define);
28
29enum Operand<'a> {
30 Normal {
31 name: &'a str,
32 ty: &'a str,
33 },
34 Writable {
35 name: &'a str,
36 ty: &'a str,
37 },
38 TrapCode {
39 name: &'a str,
40 ty: &'a str,
41 },
42 Binop {
43 dst: &'a str,
44 src1: &'a str,
45 src2: &'a str,
46 },
47}
48
49impl Inst<'_> {
50 fn operands(&self) -> impl Iterator<Item = Operand<'_>> + use<'_> {

Callers 15

visit_i32_loadMethod · 0.50
visit_i32_storeMethod · 0.50
visit_i32_store8Method · 0.50
visit_i32_store16Method · 0.50
visit_i64_loadMethod · 0.50
visit_i64_storeMethod · 0.50
visit_i64_store8Method · 0.50
visit_i64_store16Method · 0.50
visit_i64_store32Method · 0.50
visit_f32_loadMethod · 0.50
visit_f32_storeMethod · 0.50
visit_f64_loadMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected