Class: RLTK::CG::PhiInst

Inherits:
Instruction show all
Defined in:
lib/rltk/cg/instruction.rb

Overview

An Instruction representing a Phi node.

Defined Under Namespace

Classes: IncomingCollection

Constant Summary

Constants inherited from Instruction

Instruction::TESTABLE

Instance Attribute Summary

Attributes included from BindingClass

#ptr

Instance Method Summary collapse

Methods inherited from Instruction

from_ptr, #initialize, #next, #parent, #previous

Methods inherited from User

#operands

Methods inherited from Value

#==, #attributes, #bitcast, #constant?, #dump, #hash, #initialize, #name, #name=, #null?, #print, #trunc, #trunc_or_bitcast, #type, #undefined?, #zextend, #zextend_or_bitcast

Methods included from BindingClass

#==

Constructor Details

This class inherits a constructor from RLTK::CG::Instruction

Instance Method Details

#incomingIncomingCollection

Returns Proxy object for inspecting the incoming BasicBlock/Value pairs.

Returns:



168
169
170
# File 'lib/rltk/cg/instruction.rb', line 168

def incoming
	@incoming_collection ||= IncomingCollection.new(self)
end