Class: LLVM::User

Inherits:
Value
  • Object
show all
Defined in:
lib/llvm/core/value.rb

Direct Known Subclasses

Constant, Instruction

Defined Under Namespace

Classes: OperandCollection

Instance Method Summary collapse

Methods inherited from Value

#add_attribute, #allocated_type, #allocated_type?, #constant?, #dump, from_ptr, from_ptr_kind, #gep_source_element_type, #gep_source_element_type?, #global_parent, #kind, #name, #name=, #null?, #poison?, #remove_attribute, to_ptr, #to_s, type, #type, #undef?

Methods included from PointerIdentity

#==, #eql?, #hash, #to_ptr

Instance Method Details

#operandsObject

Returns an Enumerable of the operands in this user.



269
270
271
# File 'lib/llvm/core/value.rb', line 269

def operands
  @operand_collection ||= OperandCollection.new(self)
end