Package com.aparapi.internal.instruction
Class InstructionSet.CompositeInstruction
- java.lang.Object
-
- com.aparapi.internal.instruction.Instruction
-
- com.aparapi.internal.instruction.InstructionSet.CompositeInstruction
-
- Direct Known Subclasses:
InstructionSet.CompositeArbitraryScopeInstruction
,InstructionSet.CompositeDoWhileInstruction
,InstructionSet.CompositeEmptyLoopInstruction
,InstructionSet.CompositeForEclipseInstruction
,InstructionSet.CompositeForSunInstruction
,InstructionSet.CompositeIfElseInstruction
,InstructionSet.CompositeIfInstruction
,InstructionSet.CompositeWhileInstruction
- Enclosing class:
- InstructionSet
public static class InstructionSet.CompositeInstruction extends Instruction
-
-
Field Summary
Fields Modifier and Type Field Description protected BranchSet
branchSet
-
Fields inherited from class com.aparapi.internal.instruction.Instruction
method, pc
-
-
Constructor Summary
Constructors Constructor Description CompositeInstruction(MethodModel method, InstructionSet.ByteCode _byteCode, Instruction _firstChild, Instruction _lastChild, BranchSet _branchSet)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstructionSet.CompositeInstruction
create(InstructionSet.ByteCode _byteCode, MethodModel _methodModel, Instruction _firstChild, Instruction _lastChild, BranchSet _branchSet)
BranchSet
getBranchSet()
java.lang.String
getDescription()
int
getStartPC()
int
getThisPC()
-
Methods inherited from class com.aparapi.internal.instruction.Instruction
addBranchTarget, asBranch, compareTo, consumesStack, getByteCode, getFirstChild, getForwardConditionalBranches, getForwardUnconditionalBranches, getLastChild, getLength, getMethod, getNextExpr, getNextPC, getParentExpr, getPrevExpr, getPrevPC, getReal, getReverseConditionalBranches, getReverseUnconditionalBranches, getRootExpr, getStackConsumeCount, getStackDelta, getStackProduceCount, getStartInstruction, isAfter, isAfterOrEqual, isBefore, isBeforeOrEqual, isBranch, isBranchTarget, isConditionalBranchTarget, isForwardBranch, isForwardBranchTarget, isForwardConditionalBranchTarget, isForwardUnconditionalBranchTarget, isReverseBranchTarget, isReverseConditionalBranchTarget, isReverseUnconditionalBranchTarget, isUnconditionalBranchTarget, producesStack, removeBranchTarget, sameAs, setChildren, setLength, setNextExpr, setNextPC, setParentExpr, setPrevExpr, setPrevPC, toInstruction, toString
-
-
-
-
Field Detail
-
branchSet
protected BranchSet branchSet
-
-
Constructor Detail
-
CompositeInstruction
public CompositeInstruction(MethodModel method, InstructionSet.ByteCode _byteCode, Instruction _firstChild, Instruction _lastChild, BranchSet _branchSet)
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in classInstruction
-
getThisPC
public int getThisPC()
- Overrides:
getThisPC
in classInstruction
-
getStartPC
public int getStartPC()
- Overrides:
getStartPC
in classInstruction
-
create
public static InstructionSet.CompositeInstruction create(InstructionSet.ByteCode _byteCode, MethodModel _methodModel, Instruction _firstChild, Instruction _lastChild, BranchSet _branchSet)
-
getBranchSet
public BranchSet getBranchSet()
-
-