pub(crate) struct InstructionBuilder {
Show 14 fields name: String, doc: String, format: Rc<InstructionFormat>, operands_in: Option<Vec<Operand>>, operands_out: Option<Vec<Operand>>, is_terminator: bool, is_branch: bool, is_call: bool, is_return: bool, can_load: bool, can_store: bool, can_trap: bool, other_side_effects: bool, side_effects_idempotent: bool,
}

Fields§

§name: String§doc: String§format: Rc<InstructionFormat>§operands_in: Option<Vec<Operand>>§operands_out: Option<Vec<Operand>>§is_terminator: bool§is_branch: bool§is_call: bool§is_return: bool§can_load: bool§can_store: bool§can_trap: bool§other_side_effects: bool§side_effects_idempotent: bool

Implementations§

Mark this instruction as a block terminator.

Mark this instruction as a branch instruction. This also implies that the instruction is a block terminator.

Mark this instruction as a call instruction.

Mark this instruction as a return instruction. This also implies that the instruction is a block terminator.

Mark this instruction as one that can load from memory.

Mark this instruction as one that can store to memory.

Mark this instruction as possibly trapping.

Mark this instruction as one that has side-effects.

Mark this instruction as one whose side-effects may be de-duplicated.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.