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

Constructor Details

This class inherits a constructor from LLVM::Value

Instance Method Details

#operandsObject

Returns an Enumerable of the operands in this user.



187
188
189
# File 'lib/llvm/core/value.rb', line 187

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