[−][src]Trait llir::values::InstructionTrait
Provided methods
fn parent_block(&self) -> Block<'ctx>
Get the parent block
fn parent_function(&self) -> Function<'ctx>
Get the parent function
fn prev_instruction(&self) -> Option<Instruction<'ctx>>
Get the previous instruction of this one
fn next_instruction(&self) -> Option<Instruction<'ctx>>
Get the next instruction of this one
fn num_operands(&self) -> usize
Get the number of operands used in this instruction
fn operand(&self, index: usize) -> Option<Operand<'ctx>>
Get the operand at a given index
fn to_string(&self) -> String
Get the string representation of the instruction