Class: LLVM::AllocationInst

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

Direct Known Subclasses

AllocaInst, MallocInst

Instance Method Summary collapse

Methods inherited from Instruction

#get_opcode_name, #identical_to?, #inspect, #may_read_from_memory?, #may_write_to_memory?, #same_operation_as?, #used_outside_of_block?

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

#alignmentObject



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

VALUE llvm_allocation_inst_alignment(VALUE);

#allocated_typeObject



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

VALUE llvm_allocation_inst_allocated_type(VALUE);

#array_allocation?Boolean

Returns:

  • (Boolean)


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

VALUE llvm_allocation_inst_is_array_allocation(VALUE);

#array_sizeObject



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

VALUE llvm_allocation_inst_array_size(VALUE);