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, #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.



213
214
215
# File 'lib/llvm/core/value.rb', line 213

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