Package iota
Class NHirPhiFunction
java.lang.Object
iota.NHirInstruction
iota.NHirPhiFunction
Representation of a phi function.
-
Field Summary
FieldsModifier and TypeFieldDescriptionFunction arguments.int
Index of the variable to which the function is bound (-1 if there is no variable associated with the function). -
Constructor Summary
ConstructorsConstructorDescriptionNHirPhiFunction
(NBasicBlock block, int id, ArrayList<NHirInstruction> args, int index) Constructs an NHirPhiFunction object. -
Method Summary
Methods inherited from class iota.NHirInstruction
id
-
Field Details
-
args
Function arguments. -
index
public int indexIndex of the variable to which the function is bound (-1 if there is no variable associated with the function).
-
-
Constructor Details
-
NHirPhiFunction
Constructs an NHirPhiFunction object.- Parameters:
block
- enclosing basic block.id
- instruction id.args
- function arguments.index
- index of the variable to which the function is bound.
-
-
Method Details
-
toLir
Converts and returns a low-level representation (LIR) of this instruction.- Specified by:
toLir
in classNHirInstruction
- Returns:
- the LIR instruction corresponding to this instruction.
-
toString
Returns a string representation of this instruction.- Overrides:
toString
in classNHirInstruction
- Returns:
- a string representation of this instruction.
-