Instructions

amyc.backend.wasm.Instructions$
object Instructions

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class Code(instructions: List[Instruction]) extends Instruction

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Instruction
class Object
trait Matchable
class Any
Show all
case class Comment(msg: String) extends Instruction

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Instruction
class Object
trait Matchable
class Any
Show all
sealed abstract class Instruction

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Block
class Code
class Comment
class Loop
class `else`
class `if`
object `return`.type
class br
class br_if
class br_table
class call
class drop
object drop.type
class drop
object end.type
class get
class set
object add.type
object and.type
object clz.type
class const
object ctz.type
object div_s.type
object div_u.type
object eq.type
object eqz.type
object extend16_s.type
object extend8_s.type
object ge_s.type
object ge_u.type
object gt_s.type
object gt_u.type
object le_s.type
object le_u.type
object load.type
object load16_s.type
object load16_u.type
object load8_s.type
object load8_u.type
object lt_s.type
object lt_u.type
object mul.type
object ne.type
object or.type
object popcnt.type
object reinterpret_f32.type
object rem_s.type
object rem_u.type
object rotl.type
object rotr.type
object shl.type
object shr_s.type
object shr_u.type
object store.type
object store16.type
object store8.type
object sub.type
object trunc_f32_s.type
object trunc_f32_u.type
object trunc_f64_s.type
object trunc_f64_u.type
object trunc_sat_f32_s.type
object trunc_sat_f32_u.type
object trunc_sat_f64_s.type
object trunc_sat_f64_u.type
object wrap_i64.type
object xor.type
class get
class set
class tee
object copy.type
object fill.type
object grow.type
class init
object size.type
object nop.type
class `null`
class func
object is_null.type
class copy
class fill
class get
class grow
class init
class set
class size
object unreachable.type
Show all
case class `else`(l: Option[id]) extends Instruction

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Instruction
class Object
trait Matchable
class Any
Show all
case class `if`(label: Option[id], blocktype: Option[result]) extends Instruction

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Instruction
class Object
trait Matchable
class Any
Show all
case object `return` extends Instruction

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Instruction
class Object
trait Matchable
class Any
Show all
Self type
`return`.type
case class br(l: labelidx) extends Instruction

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Instruction
class Object
trait Matchable
class Any
Show all
case class br_if(l: labelidx) extends Instruction

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Instruction
class Object
trait Matchable
class Any
Show all
case class br_table(l: List[labelidx], ln: labelidx) extends Instruction

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Instruction
class Object
trait Matchable
class Any
Show all
case class call(x: funcidx) extends Instruction

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Instruction
class Object
trait Matchable
class Any
Show all
case class call_indirect(tpe: typeuse, x: tableidx) extends Instruction

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Instruction
class Object
trait Matchable
class Any
Show all
object data

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
data.type
case object drop extends Instruction

https://webassembly.github.io/spec/core/text/instructions.html#parametric-instructions

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Instruction
class Object
trait Matchable
class Any
Show all
Self type
drop.type
object elem

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
elem.type
case object end extends Instruction

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Instruction
class Object
trait Matchable
class Any
Show all
Self type
end.type
case object f32 extends numtype

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class numtype
class valtype
class Object
trait Matchable
class Any
Show all
Self type
f32.type
case object f64 extends numtype

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class numtype
class valtype
class Object
trait Matchable
class Any
Show all
Self type
f64.type
object global

https://webassembly.github.io/spec/core/text/instructions.html#variable-instructions

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
global.type
case object i32 extends numtype

For Numeric Instructions : https://webassembly.github.io/spec/core/text/instructions.html#numeric-instructions For Memory Instructions : https://webassembly.github.io/spec/core/text/instructions.html#memory-instructions

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class numtype
class valtype
class Object
trait Matchable
class Any
Show all
Self type
i32.type
case object i64 extends numtype

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class numtype
class valtype
class Object
trait Matchable
class Any
Show all
Self type
i64.type
object local

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
local.type
object memory

https://webassembly.github.io/spec/core/text/instructions.html#memory-instructions

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
memory.type
case object nop extends Instruction

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Instruction
class Object
trait Matchable
class Any
Show all
Self type
nop.type
object ref

https://webassembly.github.io/spec/core/text/instructions.html#reference-instructions

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
ref.type
object table

https://webassembly.github.io/spec/core/text/instructions.html#table-instructions

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
table.type
case object unreachable extends Instruction

https://webassembly.github.io/spec/core/text/instructions.html#control-instructions

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Instruction
class Object
trait Matchable
class Any
Show all
Self type
case object v128 extends vectype

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class vectype
class valtype
class Object
trait Matchable
class Any
Show all
Self type
v128.type

Deprecated classlikes

case class Block(label: String) extends Instruction

Attributes

Deprecated
true
Supertypes
trait Serializable
trait Product
trait Equals
class Instruction
class Object
trait Matchable
class Any
Show all
case class Loop(label: String, tpe: Option[result]) extends Instruction

Attributes

Deprecated
true
Supertypes
trait Serializable
trait Product
trait Equals
class Instruction
class Object
trait Matchable
class Any
Show all

Implicits

Implicits

implicit def cs2c(cs: List[Code]): Code
implicit def i2c(i: Instruction): Code
implicit def is2c(is: List[Instruction]): Code