wasmer/rustdoc/cranelift_codegen/ir/instructions/enum.InstructionData.html

294 lines
130 KiB
HTML
Raw Permalink Normal View History

2019-09-16 15:53:39 -07:00
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `InstructionData` enum in crate `cranelift_codegen`."><meta name="keywords" content="rust, rustlang, rust-lang, InstructionData"><title>cranelift_codegen::ir::instructions::InstructionData - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc enum"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../cranelift_codegen/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Enum InstructionData</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#variants">Variants</a><div class="sidebar-links"><a href="#variant.Unary">Unary</a><a href="#variant.UnaryImm">UnaryImm</a><a href="#variant.UnaryIeee32">UnaryIeee32</a><a href="#variant.UnaryIeee64">UnaryIeee64</a><a href="#variant.UnaryBool">UnaryBool</a><a href="#variant.UnaryGlobalValue">UnaryGlobalValue</a><a href="#variant.Binary">Binary</a><a href="#variant.BinaryImm">BinaryImm</a><a href="#variant.Ternary">Ternary</a><a href="#variant.MultiAry">MultiAry</a><a href="#variant.NullAry">NullAry</a><a href="#variant.InsertLane">InsertLane</a><a href="#variant.ExtractLane">ExtractLane</a><a href="#variant.IntCompare">IntCompare</a><a href="#variant.IntCompareImm">IntCompareImm</a><a href="#variant.IntCond">IntCond</a><a href="#variant.FloatCompare">FloatCompare</a><a href="#variant.FloatCond">FloatCond</a><a href="#variant.IntSelect">IntSelect</a><a href="#variant.Jump">Jump</a><a href="#variant.Branch">Branch</a><a href="#variant.BranchInt">BranchInt</a><a href="#variant.BranchFloat">BranchFloat</a><a href="#variant.BranchIcmp">BranchIcmp</a><a href="#variant.BranchTable">BranchTable</a><a href="#variant.BranchTableEntry">BranchTableEntry</a><a href="#variant.BranchTableBase">BranchTableBase</a><a href="#variant.IndirectJump">IndirectJump</a><a href="#variant.Call">Call</a><a href="#variant.CallIndirect">CallIndirect</a><a href="#variant.FuncAddr">FuncAddr</a><a href="#variant.Load">Load</a><a href="#variant.LoadComplex">LoadComplex</a><a href="#variant.Store">Store</a><a href="#variant.StoreComplex">StoreComplex</a><a href="#variant.StackLoad">StackLoad</a><a href="#variant.StackStore">StackStore</a><a href="#variant.HeapAddr">HeapAddr</a><a href="#variant.TableAddr">TableAddr</a><a href="#variant.RegMove">RegMove</a><a href="#variant.CopySpecial">CopySpecial</a><a href="#variant.RegSpill">RegSpill</a><a href="#variant.RegFill">RegFill</a><a href="#variant.Trap">Trap</a><a href="#variant.CondTrap">CondTrap</a><a href="#variant.IntCondTrap">IntCondTrap</a><a href="#variant.FloatCondTrap">FloatCondTrap</a></div><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.analyze_branch">analyze_branch</a><a href="#method.analyze_call">analyze_call</a><a href="#method.arguments">arguments</a><a href="#method.arguments_mut">arguments_mut</a><a href="#method.branch_destination">branch_destination</a><a href="#method.branch_destination_mut">branch_destination_mut</a><a href="#method.eq">eq</a><a href="#method.hash">hash</a><a href="#method.opcode">opcode</a><a href="#method.put_value_list">put_value_list</a><a href="#method.take_
2019-09-06 15:57:44 -07:00
Unary {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
arg: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a>,
},
UnaryImm {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
imm: <a class="struct" href="../../../cranelift_codegen/ir/immediates/struct.Imm64.html" title="struct cranelift_codegen::ir::immediates::Imm64">Imm64</a>,
},
UnaryIeee32 {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
imm: <a class="struct" href="../../../cranelift_codegen/ir/immediates/struct.Ieee32.html" title="struct cranelift_codegen::ir::immediates::Ieee32">Ieee32</a>,
},
UnaryIeee64 {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
imm: <a class="struct" href="../../../cranelift_codegen/ir/immediates/struct.Ieee64.html" title="struct cranelift_codegen::ir::immediates::Ieee64">Ieee64</a>,
},
UnaryBool {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
imm: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
},
UnaryGlobalValue {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
global_value: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.GlobalValue.html" title="struct cranelift_codegen::ir::entities::GlobalValue">GlobalValue</a>,
},
Binary {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
args: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>,
},
BinaryImm {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
arg: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a>,
imm: <a class="struct" href="../../../cranelift_codegen/ir/immediates/struct.Imm64.html" title="struct cranelift_codegen::ir::immediates::Imm64">Imm64</a>,
},
Ternary {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
args: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a>,
},
MultiAry {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
args: <a class="type" href="../../../cranelift_codegen/ir/instructions/type.ValueList.html" title="type cranelift_codegen::ir::instructions::ValueList">ValueList</a>,
},
NullAry {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
},
InsertLane {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
args: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>,
lane: <a class="type" href="../../../cranelift_codegen/ir/immediates/type.Uimm8.html" title="type cranelift_codegen::ir::immediates::Uimm8">Uimm8</a>,
},
ExtractLane {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
arg: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a>,
lane: <a class="type" href="../../../cranelift_codegen/ir/immediates/type.Uimm8.html" title="type cranelift_codegen::ir::immediates::Uimm8">Uimm8</a>,
},
IntCompare {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
args: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>,
cond: <a class="enum" href="../../../cranelift_codegen/ir/condcodes/enum.IntCC.html" title="enum cranelift_codegen::ir::condcodes::IntCC">IntCC</a>,
},
IntCompareImm {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
arg: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a>,
cond: <a class="enum" href="../../../cranelift_codegen/ir/condcodes/enum.IntCC.html" title="enum cranelift_codegen::ir::condcodes::IntCC">IntCC</a>,
imm: <a class="struct" href="../../../cranelift_codegen/ir/immediates/struct.Imm64.html" title="struct cranelift_codegen::ir::immediates::Imm64">Imm64</a>,
},
IntCond {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
arg: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a>,
cond: <a class="enum" href="../../../cranelift_codegen/ir/condcodes/enum.IntCC.html" title="enum cranelift_codegen::ir::condcodes::IntCC">IntCC</a>,
},
FloatCompare {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
args: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>,
cond: <a class="enum" href="../../../cranelift_codegen/ir/condcodes/enum.FloatCC.html" title="enum cranelift_codegen::ir::condcodes::FloatCC">FloatCC</a>,
},
FloatCond {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
arg: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a>,
cond: <a class="enum" href="../../../cranelift_codegen/ir/condcodes/enum.FloatCC.html" title="enum cranelift_codegen::ir::condcodes::FloatCC">FloatCC</a>,
},
IntSelect {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
args: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a>,
cond: <a class="enum" href="../../../cranelift_codegen/ir/condcodes/enum.IntCC.html" title="enum cranelift_codegen::ir::condcodes::IntCC">IntCC</a>,
},
Jump {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
args: <a class="type" href="../../../cranelift_codegen/ir/instructions/type.ValueList.html" title="type cranelift_codegen::ir::instructions::ValueList">ValueList</a>,
destination: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Ebb.html" title="struct cranelift_codegen::ir::entities::Ebb">Ebb</a>,
},
Branch {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
args: <a class="type" href="../../../cranelift_codegen/ir/instructions/type.ValueList.html" title="type cranelift_codegen::ir::instructions::ValueList">ValueList</a>,
destination: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Ebb.html" title="struct cranelift_codegen::ir::entities::Ebb">Ebb</a>,
},
BranchInt {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
args: <a class="type" href="../../../cranelift_codegen/ir/instructions/type.ValueList.html" title="type cranelift_codegen::ir::instructions::ValueList">ValueList</a>,
cond: <a class="enum" href="../../../cranelift_codegen/ir/condcodes/enum.IntCC.html" title="enum cranelift_codegen::ir::condcodes::IntCC">IntCC</a>,
destination: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Ebb.html" title="struct cranelift_codegen::ir::entities::Ebb">Ebb</a>,
},
BranchFloat {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
args: <a class="type" href="../../../cranelift_codegen/ir/instructions/type.ValueList.html" title="type cranelift_codegen::ir::instructions::ValueList">ValueList</a>,
cond: <a class="enum" href="../../../cranelift_codegen/ir/condcodes/enum.FloatCC.html" title="enum cranelift_codegen::ir::condcodes::FloatCC">FloatCC</a>,
destination: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Ebb.html" title="struct cranelift_codegen::ir::entities::Ebb">Ebb</a>,
},
BranchIcmp {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
args: <a class="type" href="../../../cranelift_codegen/ir/instructions/type.ValueList.html" title="type cranelift_codegen::ir::instructions::ValueList">ValueList</a>,
cond: <a class="enum" href="../../../cranelift_codegen/ir/condcodes/enum.IntCC.html" title="enum cranelift_codegen::ir::condcodes::IntCC">IntCC</a>,
destination: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Ebb.html" title="struct cranelift_codegen::ir::entities::Ebb">Ebb</a>,
},
BranchTable {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
arg: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a>,
destination: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Ebb.html" title="struct cranelift_codegen::ir::entities::Ebb">Ebb</a>,
table: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.JumpTable.html" title="struct cranelift_codegen::ir::entities::JumpTable">JumpTable</a>,
},
BranchTableEntry {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
args: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>,
imm: <a class="type" href="../../../cranelift_codegen/ir/immediates/type.Uimm8.html" title="type cranelift_codegen::ir::immediates::Uimm8">Uimm8</a>,
table: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.JumpTable.html" title="struct cranelift_codegen::ir::entities::JumpTable">JumpTable</a>,
},
BranchTableBase {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
table: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.JumpTable.html" title="struct cranelift_codegen::ir::entities::JumpTable">JumpTable</a>,
},
IndirectJump {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
arg: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a>,
table: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.JumpTable.html" title="struct cranelift_codegen::ir::entities::JumpTable">JumpTable</a>,
},
Call {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
args: <a class="type" href="../../../cranelift_codegen/ir/instructions/type.ValueList.html" title="type cranelift_codegen::ir::instructions::ValueList">ValueList</a>,
func_ref: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.FuncRef.html" title="struct cranelift_codegen::ir::entities::FuncRef">FuncRef</a>,
},
CallIndirect {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
args: <a class="type" href="../../../cranelift_codegen/ir/instructions/type.ValueList.html" title="type cranelift_codegen::ir::instructions::ValueList">ValueList</a>,
sig_ref: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.SigRef.html" title="struct cranelift_codegen::ir::entities::SigRef">SigRef</a>,
},
FuncAddr {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
func_ref: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.FuncRef.html" title="struct cranelift_codegen::ir::entities::FuncRef">FuncRef</a>,
},
Load {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
arg: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a>,
flags: <a class="struct" href="../../../cranelift_codegen/ir/struct.MemFlags.html" title="struct cranelift_codegen::ir::MemFlags">MemFlags</a>,
offset: <a class="struct" href="../../../cranelift_codegen/ir/immediates/struct.Offset32.html" title="struct cranelift_codegen::ir::immediates::Offset32">Offset32</a>,
},
LoadComplex {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
args: <a class="type" href="../../../cranelift_codegen/ir/instructions/type.ValueList.html" title="type cranelift_codegen::ir::instructions::ValueList">ValueList</a>,
flags: <a class="struct" href="../../../cranelift_codegen/ir/struct.MemFlags.html" title="struct cranelift_codegen::ir::MemFlags">MemFlags</a>,
offset: <a class="struct" href="../../../cranelift_codegen/ir/immediates/struct.Offset32.html" title="struct cranelift_codegen::ir::immediates::Offset32">Offset32</a>,
},
Store {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
args: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>,
flags: <a class="struct" href="../../../cranelift_codegen/ir/struct.MemFlags.html" title="struct cranelift_codegen::ir::MemFlags">MemFlags</a>,
offset: <a class="struct" href="../../../cranelift_codegen/ir/immediates/struct.Offset32.html" title="struct cranelift_codegen::ir::immediates::Offset32">Offset32</a>,
},
StoreComplex {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
args: <a class="type" href="../../../cranelift_codegen/ir/instructions/type.ValueList.html" title="type cranelift_codegen::ir::instructions::ValueList">ValueList</a>,
flags: <a class="struct" href="../../../cranelift_codegen/ir/struct.MemFlags.html" title="struct cranelift_codegen::ir::MemFlags">MemFlags</a>,
offset: <a class="struct" href="../../../cranelift_codegen/ir/immediates/struct.Offset32.html" title="struct cranelift_codegen::ir::immediates::Offset32">Offset32</a>,
},
StackLoad {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
stack_slot: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.StackSlot.html" title="struct cranelift_codegen::ir::entities::StackSlot">StackSlot</a>,
offset: <a class="struct" href="../../../cranelift_codegen/ir/immediates/struct.Offset32.html" title="struct cranelift_codegen::ir::immediates::Offset32">Offset32</a>,
},
StackStore {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
arg: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a>,
stack_slot: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.StackSlot.html" title="struct cranelift_codegen::ir::entities::StackSlot">StackSlot</a>,
offset: <a class="struct" href="../../../cranelift_codegen/ir/immediates/struct.Offset32.html" title="struct cranelift_codegen::ir::immediates::Offset32">Offset32</a>,
},
HeapAddr {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
arg: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a>,
heap: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Heap.html" title="struct cranelift_codegen::ir::entities::Heap">Heap</a>,
imm: <a class="struct" href="../../../cranelift_codegen/ir/immediates/struct.Uimm32.html" title="struct cranelift_codegen::ir::immediates::Uimm32">Uimm32</a>,
},
TableAddr {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
arg: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a>,
table: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Table.html" title="struct cranelift_codegen::ir::entities::Table">Table</a>,
offset: <a class="struct" href="../../../cranelift_codegen/ir/immediates/struct.Offset32.html" title="struct cranelift_codegen::ir::immediates::Offset32">Offset32</a>,
},
RegMove {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
arg: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a>,
src: <a class="type" href="../../../cranelift_codegen/isa/registers/type.RegUnit.html" title="type cranelift_codegen::isa::registers::RegUnit">RegUnit</a>,
dst: <a class="type" href="../../../cranelift_codegen/isa/registers/type.RegUnit.html" title="type cranelift_codegen::isa::registers::RegUnit">RegUnit</a>,
},
CopySpecial {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
src: <a class="type" href="../../../cranelift_codegen/isa/registers/type.RegUnit.html" title="type cranelift_codegen::isa::registers::RegUnit">RegUnit</a>,
dst: <a class="type" href="../../../cranelift_codegen/isa/registers/type.RegUnit.html" title="type cranelift_codegen::isa::registers::RegUnit">RegUnit</a>,
},
RegSpill {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
arg: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a>,
src: <a class="type" href="../../../cranelift_codegen/isa/registers/type.RegUnit.html" title="type cranelift_codegen::isa::registers::RegUnit">RegUnit</a>,
dst: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.StackSlot.html" title="struct cranelift_codegen::ir::entities::StackSlot">StackSlot</a>,
},
RegFill {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
arg: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a>,
src: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.StackSlot.html" title="struct cranelift_codegen::ir::entities::StackSlot">StackSlot</a>,
dst: <a class="type" href="../../../cranelift_codegen/isa/registers/type.RegUnit.html" title="type cranelift_codegen::isa::registers::RegUnit">RegUnit</a>,
},
Trap {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
code: <a class="enum" href="../../../cranelift_codegen/ir/enum.TrapCode.html" title="enum cranelift_codegen::ir::TrapCode">TrapCode</a>,
},
CondTrap {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
arg: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a>,
code: <a class="enum" href="../../../cranelift_codegen/ir/enum.TrapCode.html" title="enum cranelift_codegen::ir::TrapCode">TrapCode</a>,
},
IntCondTrap {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
arg: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a>,
cond: <a class="enum" href="../../../cranelift_codegen/ir/condcodes/enum.IntCC.html" title="enum cranelift_codegen::ir::condcodes::IntCC">IntCC</a>,
code: <a class="enum" href="../../../cranelift_codegen/ir/enum.TrapCode.html" title="enum cranelift_codegen::ir::TrapCode">TrapCode</a>,
},
FloatCondTrap {
opcode: <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a>,
arg: <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a>,
cond: <a class="enum" href="../../../cranelift_codegen/ir/condcodes/enum.FloatCC.html" title="enum cranelift_codegen::ir::condcodes::FloatCC">FloatCC</a>,
code: <a class="enum" href="../../../cranelift_codegen/ir/enum.TrapCode.html" title="enum cranelift_codegen::ir::TrapCode">TrapCode</a>,
},
}</pre></div><h2 id='variants' class='variants small-section-header'>
Variants<a href='#variants' class='anchor'></a></h2>
2019-09-16 15:53:39 -07:00
<span id="variant.Unary" class="variant small-section-header"><a href="#variant.Unary" class="anchor field"></a><code id='Unary.v'>Unary</code></span><span class='autohide sub-variant' id='variant.Unary.fields'><h3>Fields of <b>Unary</b></h3><div><span id="variant.Unary.field.opcode" class="variant small-section-header"><a href="#variant.Unary.field.opcode" class="anchor field"></a><code id='Unary.v.opcode.v'>opcode:&nbsp;<a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a></code></span><span id="variant.Unary.field.arg" class="variant small-section-header"><a href="#variant.Unary.field.arg" class="anchor field"></a><code id='Unary.v.arg.v'>arg:&nbsp;<a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a></code></span></div></span><span id="variant.UnaryImm" class="variant small-section-header"><a href="#variant.UnaryImm" class="anchor field"></a><code id='UnaryImm.v'>UnaryImm</code></span><span class='autohide sub-variant' id='variant.UnaryImm.fields'><h3>Fields of <b>UnaryImm</b></h3><div><span id="variant.UnaryImm.field.opcode" class="variant small-section-header"><a href="#variant.UnaryImm.field.opcode" class="anchor field"></a><code id='UnaryImm.v.opcode.v'>opcode:&nbsp;<a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a></code></span><span id="variant.UnaryImm.field.imm" class="variant small-section-header"><a href="#variant.UnaryImm.field.imm" class="anchor field"></a><code id='UnaryImm.v.imm.v'>imm:&nbsp;<a class="struct" href="../../../cranelift_codegen/ir/immediates/struct.Imm64.html" title="struct cranelift_codegen::ir::immediates::Imm64">Imm64</a></code></span></div></span><span id="variant.UnaryIeee32" class="variant small-section-header"><a href="#variant.UnaryIeee32" class="anchor field"></a><code id='UnaryIeee32.v'>UnaryIeee32</code></span><span class='autohide sub-variant' id='variant.UnaryIeee32.fields'><h3>Fields of <b>UnaryIeee32</b></h3><div><span id="variant.UnaryIeee32.field.opcode" class="variant small-section-header"><a href="#variant.UnaryIeee32.field.opcode" class="anchor field"></a><code id='UnaryIeee32.v.opcode.v'>opcode:&nbsp;<a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a></code></span><span id="variant.UnaryIeee32.field.imm" class="variant small-section-header"><a href="#variant.UnaryIeee32.field.imm" class="anchor field"></a><code id='UnaryIeee32.v.imm.v'>imm:&nbsp;<a class="struct" href="../../../cranelift_codegen/ir/immediates/struct.Ieee32.html" title="struct cranelift_codegen::ir::immediates::Ieee32">Ieee32</a></code></span></div></span><span id="variant.UnaryIeee64" class="variant small-section-header"><a href="#variant.UnaryIeee64" class="anchor field"></a><code id='UnaryIeee64.v'>UnaryIeee64</code></span><span class='autohide sub-variant' id='variant.UnaryIeee64.fields'><h3>Fields of <b>UnaryIeee64</b></h3><div><span id="variant.UnaryIeee64.field.opcode" class="variant small-section-header"><a href="#variant.UnaryIeee64.field.opcode" class="anchor field"></a><code id='UnaryIeee64.v.opcode.v'>opcode:&nbsp;<a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.Opcode.html" title="enum cranelift_codegen::ir::instructions::Opcode">Opcode</a></code></span><span id="variant.UnaryIeee64.field.imm" class="variant small-section-header"><a href="#variant.UnaryIeee64.field.imm" class="anchor field"></a><code id='UnaryIeee64.v.imm.v'>imm:&nbsp;<a class="struct" href="../../../cranelift_codegen/ir/immediates/struct.Ieee64.html" title="struct cranelift_codegen::ir::immediates::Ieee64">Ieee64</a></code></span></div></span><span id="variant.UnaryBool" class="variant small-section-header"><a href="#variant.UnaryBool" class="anchor field"></a><code id='UnaryBool.v'>UnaryBool</code></span><span class='au
</div><h4 id='method.typevar_operand' class="method"><code id='typevar_operand.v'>pub fn <a href='#method.typevar_operand' class='fnname'>typevar_operand</a>(&amp;self, pool: &amp;<a class="type" href="../../../cranelift_codegen/ir/instructions/type.ValueListPool.html" title="type cranelift_codegen::ir::instructions::ValueListPool">ValueListPool</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a>&gt;</code><a class='srclink' href='../../../src/cranelift_codegen/Users/syrusakbary/Development/wasmer/target/release/build/cranelift-codegen-107194823cb14791/out/opcodes.rs.html#553-615' title='goto source code'>[src]</a></h4><div class='docblock'><p>Get the controlling type variable operand.</p>
</div><h4 id='method.arguments' class="method"><code id='arguments.v'>pub fn <a href='#method.arguments' class='fnname'>arguments</a>&lt;'a&gt;(&amp;'a self, pool: &amp;'a <a class="type" href="../../../cranelift_codegen/ir/instructions/type.ValueListPool.html" title="type cranelift_codegen::ir::instructions::ValueListPool">ValueListPool</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;[</a><a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a></code><a class='srclink' href='../../../src/cranelift_codegen/Users/syrusakbary/Development/wasmer/target/release/build/cranelift-codegen-107194823cb14791/out/opcodes.rs.html#618-678' title='goto source code'>[src]</a></h4><div class='docblock'><p>Get the value arguments to this instruction.</p>
</div><h4 id='method.arguments_mut' class="method"><code id='arguments_mut.v'>pub fn <a href='#method.arguments_mut' class='fnname'>arguments_mut</a>&lt;'a&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'a mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;pool: &amp;'a mut <a class="type" href="../../../cranelift_codegen/ir/instructions/type.ValueListPool.html" title="type cranelift_codegen::ir::instructions::ValueListPool">ValueListPool</a><br>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;mut [</a><a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Value.html" title="struct cranelift_codegen::ir::entities::Value">Value</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a></code><a class='srclink' href='../../../src/cranelift_codegen/Users/syrusakbary/Development/wasmer/target/release/build/cranelift-codegen-107194823cb14791/out/opcodes.rs.html#682-742' title='goto source code'>[src]</a></h4><div class='docblock'><p>Get mutable references to the value arguments to this
2019-09-06 15:57:44 -07:00
instruction.</p>
2019-09-16 15:53:39 -07:00
</div><h4 id='method.take_value_list' class="method"><code id='take_value_list.v'>pub fn <a href='#method.take_value_list' class='fnname'>take_value_list</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="type" href="../../../cranelift_codegen/ir/instructions/type.ValueList.html" title="type cranelift_codegen::ir::instructions::ValueList">ValueList</a>&gt;</code><a class='srclink' href='../../../src/cranelift_codegen/Users/syrusakbary/Development/wasmer/target/release/build/cranelift-codegen-107194823cb14791/out/opcodes.rs.html#749-767' title='goto source code'>[src]</a></h4><div class='docblock'><p>Take out the value list with all the value arguments and return
2019-09-06 15:57:44 -07:00
it.</p>
<p>This leaves the value list in the instruction empty. Use
<code>put_value_list</code> to put the value list back.</p>
2019-09-16 15:53:39 -07:00
</div><h4 id='method.put_value_list' class="method"><code id='put_value_list.v'>pub fn <a href='#method.put_value_list' class='fnname'>put_value_list</a>(&amp;mut self, vlist: <a class="type" href="../../../cranelift_codegen/ir/instructions/type.ValueList.html" title="type cranelift_codegen::ir::instructions::ValueList">ValueList</a>)</code><a class='srclink' href='../../../src/cranelift_codegen/Users/syrusakbary/Development/wasmer/target/release/build/cranelift-codegen-107194823cb14791/out/opcodes.rs.html#775-791' title='goto source code'>[src]</a></h4><div class='docblock'><p>Put back a value list.</p>
2019-09-06 15:57:44 -07:00
<p>After removing a value list with <code>take_value_list()</code>, use this
method to put it back. It is required that this instruction has
a format that accepts a value list, and that the existing value
list is empty. This avoids leaking list pool memory.</p>
2019-09-16 15:53:39 -07:00
</div><h4 id='method.eq' class="method"><code id='eq.v'>pub fn <a href='#method.eq' class='fnname'>eq</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self, pool: &amp;<a class="type" href="../../../cranelift_codegen/ir/instructions/type.ValueListPool.html" title="type cranelift_codegen::ir::instructions::ValueListPool">ValueListPool</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../../src/cranelift_codegen/Users/syrusakbary/Development/wasmer/target/release/build/cranelift-codegen-107194823cb14791/out/opcodes.rs.html#797-1043' title='goto source code'>[src]</a></h4><div class='docblock'><p>Compare two <code>InstructionData</code> for equality.</p>
2019-09-06 15:57:44 -07:00
<p>This operation requires a reference to a <code>ValueListPool</code> to
determine if the contents of any <code>ValueLists</code> are equal.</p>
2019-09-16 15:53:39 -07:00
</div><h4 id='method.hash' class="method"><code id='hash.v'>pub fn <a href='#method.hash' class='fnname'>hash</a>&lt;H:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>&gt;(&amp;self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>H, pool: &amp;<a class="type" href="../../../cranelift_codegen/ir/instructions/type.ValueListPool.html" title="type cranelift_codegen::ir::instructions::ValueListPool">ValueListPool</a>)</code><a class='srclink' href='../../../src/cranelift_codegen/Users/syrusakbary/Development/wasmer/target/release/build/cranelift-codegen-107194823cb14791/out/opcodes.rs.html#1049-1349' title='goto source code'>[src]</a></h4><div class='docblock'><p>Hash an <code>InstructionData</code>.</p>
2019-09-06 15:57:44 -07:00
<p>This operation requires a reference to a <code>ValueListPool</code> to
hash the contents of any <code>ValueLists</code>.</p>
</div></div><h3 id='impl-1' class='impl'><code class='in-band'>impl <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.InstructionData.html" title="enum cranelift_codegen::ir::instructions::InstructionData">InstructionData</a></code><a href='#impl-1' class='anchor'></a><a class='srclink' href='../../../src/cranelift_codegen/ir/instructions.rs.html#165-278' title='goto source code'>[src]</a></h3><div class='docblock'><p>Analyzing an instruction.</p>
<p>Avoid large matches on instruction formats by using the methods defined here to examine
instructions.</p>
</div><div class='impl-items'><h4 id='method.analyze_branch' class="method"><code id='analyze_branch.v'>pub fn <a href='#method.analyze_branch' class='fnname'>analyze_branch</a>&lt;'a&gt;(&amp;'a self, pool: &amp;'a <a class="type" href="../../../cranelift_codegen/ir/instructions/type.ValueListPool.html" title="type cranelift_codegen::ir::instructions::ValueListPool">ValueListPool</a>) -&gt; <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.BranchInfo.html" title="enum cranelift_codegen::ir::instructions::BranchInfo">BranchInfo</a>&lt;'a&gt;</code><a class='srclink' href='../../../src/cranelift_codegen/ir/instructions.rs.html#170-206' title='goto source code'>[src]</a></h4><div class='docblock'><p>Return information about the destination of a branch or jump instruction.</p>
<p>Any instruction that can transfer control to another EBB reveals its possible destinations
here.</p>
</div><h4 id='method.branch_destination' class="method"><code id='branch_destination.v'>pub fn <a href='#method.branch_destination' class='fnname'>branch_destination</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Ebb.html" title="struct cranelift_codegen::ir::entities::Ebb">Ebb</a>&gt;</code><a class='srclink' href='../../../src/cranelift_codegen/ir/instructions.rs.html#212-225' title='goto source code'>[src]</a></h4><div class='docblock'><p>Get the single destination of this branch instruction, if it is a single destination
branch or jump.</p>
<p>Multi-destination branches like <code>br_table</code> return <code>None</code>.</p>
</div><h4 id='method.branch_destination_mut' class="method"><code id='branch_destination_mut.v'>pub fn <a href='#method.branch_destination_mut' class='fnname'>branch_destination_mut</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;mut <a class="struct" href="../../../cranelift_codegen/ir/entities/struct.Ebb.html" title="struct cranelift_codegen::ir::entities::Ebb">Ebb</a>&gt;</code><a class='srclink' href='../../../src/cranelift_codegen/ir/instructions.rs.html#231-259' title='goto source code'>[src]</a></h4><div class='docblock'><p>Get a mutable reference to the single destination of this branch instruction, if it is a
single destination branch or jump.</p>
<p>Multi-destination branches like <code>br_table</code> return <code>None</code>.</p>
</div><h4 id='method.analyze_call' class="method"><code id='analyze_call.v'>pub fn <a href='#method.analyze_call' class='fnname'>analyze_call</a>&lt;'a&gt;(&amp;'a self, pool: &amp;'a <a class="type" href="../../../cranelift_codegen/ir/instructions/type.ValueListPool.html" title="type cranelift_codegen::ir::instructions::ValueListPool">ValueListPool</a>) -&gt; <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.CallInfo.html" title="enum cranelift_codegen::ir::instructions::CallInfo">CallInfo</a>&lt;'a&gt;</code><a class='srclink' href='../../../src/cranelift_codegen/ir/instructions.rs.html#264-277' title='goto source code'>[src]</a></h4><div class='docblock'><p>Return information about a call instruction.</p>
<p>Any instruction that can call another function reveals its call signature here.</p>
2019-09-16 15:53:39 -07:00
</div></div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-From%3C%26%27a%20InstructionData%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;&amp;'a <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.InstructionData.html" title="enum cranelift_codegen::ir::instructions::InstructionData">InstructionData</a>&gt; for <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.InstructionFormat.html" title="enum cranelift_codegen::ir::instructions::InstructionFormat">InstructionFormat</a></code><a href='#impl-From%3C%26%27a%20InstructionData%3E' class='anchor'></a><a class='srclink' href='../../../src/cranelift_codegen/Users/syrusakbary/Development/wasmer/target/release/build/cranelift-codegen-107194823cb14791/out/opcodes.rs.html#104-250' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code id='from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(inst: &amp;'a <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.InstructionData.html" title="enum cranelift_codegen::ir::instructions::InstructionData">InstructionData</a>) -&gt; Self</code><a class='srclink' href='../../../src/cranelift_codegen/Users/syrusakbary/Development/wasmer/target/release/build/cranelift-codegen-107194823cb14791/out/opcodes.rs.html#105-249' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.InstructionData.html" title="enum cranelift_codegen::ir::instructions::InstructionData">InstructionData</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../../src/cranelift_codegen/Users/syrusakbary/Development/wasmer/target/release/build/cranelift-codegen-107194823cb14791/out/opcodes.rs.html#252' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../../src/cranelift_codegen/Users/syrusakbary/Development/wasmer/target/release/build/cranelift-codegen-107194823cb14791/out/opcodes.rs.html#252' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.InstructionData.html" title="enum cranelift_codegen::ir::instructions::InstructionData">InstructionData</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../../src/cranelift_codegen/Users/syrusakbary/Development/wasmer/target/release/build/cranelift-codegen-107194823cb14791/out/opcodes.rs.html#252' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.InstructionData.html" title="enum cranelift_codegen::ir::instructions::InstructionData">InstructionData</a></code><a class='srclink' href='../../../src/cranelift_codegen/Users/syrusakbary/Development/wasmer/target/release/build/cranelift-codegen-107194823cb14791/out/opcodes.rs.html#252' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
2019-09-06 15:57:44 -07:00
</div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
2019-09-16 15:53:39 -07:00
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.InstructionData.html" title="enum cranelift_codegen::ir::instructions::InstructionData">InstructionData</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.InstructionData.html" title="enum cranelift_codegen::ir::instructions::InstructionData">InstructionData</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.InstructionData.html" title="enum cranelift_codegen::ir::instructions::InstructionData">InstructionData</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.InstructionData.html" title="enum cranelift_codegen::ir::instructions::InstructionData">InstructionData</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="enum" href="../../../cranelift_codegen/ir/instructions/enum.InstructionData.html" title="enum cranelift_codegen::ir::instructions::InstructionData">InstructionData</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-From%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</code><a href='#impl-From%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#552-554' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-1' class="method hidden"><code id='from.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(t: T) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#553' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
2019-09-06 15:57:44 -07:00
</div></div><h3 id='impl-TryFrom%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-TryFrom%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#571-577' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error' class="type"><code id='Error.t'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id='method.try_from' class="method hidden"><code id='try_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from' class='fnname'>try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#574-576' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-Into%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-Into%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#543-548' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into' class="method hidden"><code id='into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -&gt; U</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#545-547' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-TryInto%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-TryInto%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#559-566' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-1' class="type"><code id='Error.t-1'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error' class="type">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id='method.try_into' class="method hidden"><code id='try_into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#563-565' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-Borrow%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-Borrow%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213-215' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow' class="method hidden"><code id='borrow.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow' class='fnname'>borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></div><h3 id='impl-BorrowMut%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-BorrowMut%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-220' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow_mut' class="method hidden"><code id='borrow_mut.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut' class='fnname'>borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></div><h3 id='impl-Any' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-Any' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#100-102' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.type_id' class="method hidden"><code id='type_id.v'>fn <a href='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id' class='fnname'>type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#101' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></div><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
</details></div></div><div class='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
</div></div></div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../";window.currentCrate = "cranelift_codegen";</script><script src="../../../aliases.js"></script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>