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
-
Constructor Summary
Constructors Constructor Description CompositeInstruction(MethodModel method, InstructionSet.ByteCode _byteCode, Instruction _firstChild, Instruction _lastChild, BranchSet _branchSet)
-
Method Summary
Modifier and Type Method Description static InstructionSet.CompositeInstruction
create(InstructionSet.ByteCode _byteCode, MethodModel _methodModel, Instruction _firstChild, Instruction _lastChild, BranchSet _branchSet)
BranchSet
getBranchSet()
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
-
Constructor Details
-
CompositeInstruction
public CompositeInstruction(MethodModel method, InstructionSet.ByteCode _byteCode, Instruction _firstChild, Instruction _lastChild, BranchSet _branchSet)
-
-
Method Details
-
getDescription
-
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
-