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

Methods included from PointerIdentity

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

Instance Method Details

#operandsObject

Returns an Enumerable of the operands in this user.



164
165
166
# File 'lib/llvm/core/value.rb', line 164

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