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, #constant?, #dump, from_ptr, from_ptr_kind, #global_parent, #kind, #name, #name=, #null?, #remove_attribute, to_ptr, #to_s, type, #type, #undefined?

Methods included from PointerIdentity

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

Instance Method Details

#operandsObject

Returns an Enumerable of the operands in this user.



243
244
245
# File 'lib/llvm/core/value.rb', line 243

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