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
-
Field Summary
FieldsFields inherited from class com.aparapi.internal.instruction.Instruction
method, pc
-
Constructor Summary
ConstructorsConstructorDescriptionCompositeInstruction
(MethodModel method, InstructionSet.ByteCode _byteCode, Instruction _firstChild, Instruction _lastChild, BranchSet _branchSet) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(InstructionSet.ByteCode _byteCode, MethodModel _methodModel, Instruction _firstChild, Instruction _lastChild, BranchSet _branchSet) int
int
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 Details
-
branchSet
-
-
Constructor Details
-
CompositeInstruction
public CompositeInstruction(MethodModel method, InstructionSet.ByteCode _byteCode, Instruction _firstChild, Instruction _lastChild, BranchSet _branchSet)
-
-
Method Details
-
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
-