pub struct Inst { /* fields omitted */ }
Create a new instruction.
Obtain a reference to this instruction.
Determine the mnemonic for this instruction. The mnemonic is a short
sequence of characters that uniquely identifies the instruction in human
readable assembly text.
Obtain a reference to the data for this instruction. See InstKind
.
Get the unique ID of the value.
Get the type of the value.
Get the optional name of the value.
Whether this value is global or not. Global values are considered during linking, and are visible in a module's symbol table. Local values are not, and are only visible within the surrounding context (module or unit). Read more
Formats the value using the given formatter. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more