Class: LLVM::Instruction

Inherits:
User show all
Defined in:
ext/llvmruby.c

Defined Under Namespace

Classes: BinaryOps

Instance Method Summary collapse

Methods inherited from User

#drop_all_references, #get_num_operands, #get_operand, #get_operand_list, #replace_uses_of_with, #set_operand

Methods inherited from Value

get_constant, get_double_constant, get_float_constant, #get_float_constant_value, get_immediate_constant, #get_int_constant_value, get_struct_constant, #immediate, #is_constant, #is_float_constant, #is_int_constant, #is_null, #is_undef, #llvm, #name, #name=, #num_uses, #replace_all_uses_with, #type, #used_in_basic_block?

Instance Method Details

#get_opcode_nameObject



69
# File 'ext/llvmruby.c', line 69

VALUE llvm_instruction_get_opcode_name(VALUE);

#identical_to?Boolean

Returns:

  • (Boolean)


72
# File 'ext/llvmruby.c', line 72

VALUE llvm_instruction_is_identical_to(VALUE, VALUE);

#inspectObject



68
# File 'ext/llvmruby.c', line 68

VALUE llvm_instruction_inspect(VALUE);

#may_read_from_memory?Boolean

Returns:

  • (Boolean)


70
# File 'ext/llvmruby.c', line 70

VALUE llvm_instruction_may_read_from_memory(VALUE);

#may_write_to_memory?Boolean

Returns:

  • (Boolean)


71
# File 'ext/llvmruby.c', line 71

VALUE llvm_instruction_may_write_to_memory(VALUE);

#same_operation_as?Boolean

Returns:

  • (Boolean)


73
# File 'ext/llvmruby.c', line 73

VALUE llvm_instruction_is_same_operation_as(VALUE, VALUE);

#used_outside_of_block?Boolean

Returns:

  • (Boolean)


74
# File 'ext/llvmruby.c', line 74

VALUE llvm_instruction_is_used_outside_of_block(VALUE, VALUE);