Package | Description |
---|---|
com.aparapi | |
com.aparapi.internal.exception | |
com.aparapi.internal.instruction | |
com.aparapi.internal.model | |
com.aparapi.internal.tool | |
com.aparapi.internal.writer |
Modifier and Type | Method and Description |
---|---|
void |
Config.InstructionListener.showAndTell(String message,
Instruction _start,
Instruction _instruction) |
Modifier and Type | Method and Description |
---|---|
Instruction |
ClassParseException.getInstruction() |
Constructor and Description |
---|
ClassParseException(Instruction _instruction,
ClassParseException.TYPE _type) |
Modifier and Type | Method and Description |
---|---|
Instruction |
ExpressionList.add(Instruction _instruction)
Add this instruction to the end of the list.
|
static Instruction |
InstructionSet.ByteCode.create(MethodModel _methodModel,
ByteReader _byteReader) |
Instruction |
ExpressionList.createList(Instruction _newTail)
[1] [2] [3] [4]
Note that passing null here essentially deletes the existing expression list and returns the expression
|
Instruction |
InstructionSet.I_INVOKEINTERFACE.getArg(int _arg) |
Instruction |
InstructionSet.I_INVOKEDYNAMIC.getArg(int _arg) |
Instruction |
InstructionSet.I_INVOKESPECIAL.getArg(int _arg) |
Instruction |
InstructionSet.I_INVOKESTATIC.getArg(int _arg) |
Instruction |
InstructionSet.I_INVOKEVIRTUAL.getArg(int _arg) |
Instruction |
InstructionSet.MethodCall.getArg(int _arg) |
Instruction |
InstructionSet.InterfaceConstantPoolMethodIndexAccessor.getArg(int _arg) |
Instruction |
InstructionSet.ArrayAccess.getArrayIndex() |
Instruction |
InstructionSet.ArrayAccess.getArrayRef() |
Instruction |
InstructionSet.MultiAssignInstruction.getCommon() |
Instruction |
BranchSet.getFallThrough() |
Instruction |
InstructionSet.IncrementInstruction.getFieldOrVariableReference() |
Instruction |
Instruction.getFirstChild() |
Instruction |
InstructionSet.MultiAssignInstruction.getFrom() |
Instruction |
ExpressionList.getHead() |
Instruction |
InstructionSet.I_GETFIELD.getInstance() |
Instruction |
InstructionSet.I_PUTFIELD.getInstance() |
Instruction |
InstructionSet.AccessInstanceField.getInstance() |
Instruction |
InstructionSet.AssignToInstanceField.getInstance() |
Instruction |
InstructionSet.I_INVOKEINTERFACE.getInstanceReference() |
Instruction |
InstructionSet.I_INVOKEDYNAMIC.getInstanceReference() |
Instruction |
InstructionSet.I_INVOKESPECIAL.getInstanceReference() |
Instruction |
InstructionSet.I_INVOKEVIRTUAL.getInstanceReference() |
Instruction |
InstructionSet.VirtualMethodCall.getInstanceReference() |
Instruction |
InstructionSet.InterfaceConstantPoolMethodIndexAccessor.getInstanceReference() |
Instruction |
Instruction.getLastChild() |
Instruction |
InstructionSet.BinaryOperator.getLhs() |
Instruction |
InstructionSet.If.getLhs() |
Instruction |
InstructionSet.Binary.getLhs() |
Instruction |
Instruction.getNextExpr() |
Instruction |
Instruction.getNextPC() |
Instruction |
Instruction.getParentExpr() |
Instruction |
Instruction.getPrevExpr() |
Instruction |
Instruction.getPrevPC() |
Instruction |
Instruction.getReal() |
Instruction |
InstructionSet.CloneInstruction.getReal() |
Instruction |
InstructionSet.BinaryOperator.getRhs() |
Instruction |
InstructionSet.If.getRhs() |
Instruction |
InstructionSet.Binary.getRhs() |
Instruction |
InstructionSet.InlineAssignInstruction.getRhs() |
Instruction |
InstructionSet.FieldArrayElementAssign.getRhs() |
Instruction |
Instruction.getRootExpr() |
Instruction |
Instruction.getStartInstruction() |
Instruction |
InstructionSet.IncrementInstruction.getStartInstruction() |
Instruction |
ExpressionList.getTail() |
Instruction |
BranchSet.getTarget() |
Instruction |
InstructionSet.Branch.getTarget() |
Instruction |
InstructionSet.Switch.getTarget(int _index) |
Instruction |
InstructionSet.MultiAssignInstruction.getTo() |
Instruction |
InstructionSet.UnaryOperator.getUnary() |
Instruction |
InstructionSet.IfUnary.getUnary() |
Instruction |
InstructionSet.Unary.getUnary() |
Instruction |
InstructionSet.AssignToArrayElement.getValue() |
Instruction |
InstructionSet.I_PUTFIELD.getValueToAssign() |
Instruction |
InstructionSet.I_PUTSTATIC.getValueToAssign() |
Instruction |
InstructionSet.AssignToField.getValueToAssign() |
Instruction |
InstructionSet.ByteCode.newInstruction(MethodModel _methodModel,
ByteReader byteReader,
boolean _isWide) |
Instruction |
Instruction.toInstruction() |
abstract Instruction |
InstructionTransformer.transform(ExpressionList _expressionList,
Instruction i) |
Modifier and Type | Method and Description |
---|---|
Instruction |
ExpressionList.add(Instruction _instruction)
Add this instruction to the end of the list.
|
int |
Instruction.compareTo(Instruction _other) |
static InstructionSet.CompositeInstruction |
InstructionSet.CompositeInstruction.create(InstructionSet.ByteCode _byteCode,
MethodModel _methodModel,
Instruction _firstChild,
Instruction _lastChild,
BranchSet _branchSet) |
Instruction |
ExpressionList.createList(Instruction _newTail)
[1] [2] [3] [4]
Note that passing null here essentially deletes the existing expression list and returns the expression
|
boolean |
ExpressionList.doesNotContainCompositeOrBranch(Instruction _start,
Instruction _exclusiveEnd) |
boolean |
ExpressionList.doesNotContainContinueOrBreak(Instruction _start,
Instruction _extent)
Determine whether the sequence of instructions from _start to _extent is free of branches which extend beyond _extent.
|
String |
ExpressionList.dumpDiagram(Instruction _instruction)
Aids debugging.
|
InstructionSet.ConditionalBranch |
InstructionSet.ConditionalBranch.findEndOfConditionalBranchSet(Instruction _extent) |
boolean |
ExpressionList.foldComposite(Instruction _instruction)
Fold headTail.tail into valid composites
|
void |
ExpressionList.insertBetween(Instruction _prev,
Instruction _next,
Instruction _newOne)
Insert the given instruction (_newone) between the existing entries (_prev and _next).
|
boolean |
Instruction.isAfter(Instruction _other) |
boolean |
Instruction.isAfterOrEqual(Instruction _other) |
boolean |
Instruction.isBefore(Instruction _other) |
boolean |
Instruction.isBeforeOrEqual(Instruction _other) |
InstructionPattern.InstructionMatch |
InstructionPattern.AssignableInstructionMatcher.matches(Instruction _instruction) |
InstructionPattern.InstructionMatch |
InstructionPattern.InstructionMatcher.matches(Instruction _instruction,
InstructionPattern.InstructionMatcher _instructionMatcher) |
void |
ExpressionList.replaceInclusive(Instruction _head,
Instruction _tail,
Instruction _newOne)
Inclusive replace between _head and _tail with _newOne.
|
void |
InstructionSet.Branch.retarget(Instruction _newTarget) |
boolean |
Instruction.sameAs(Instruction _other) |
void |
Instruction.setChildren(Instruction _firstChild,
Instruction _lastChild) |
void |
Instruction.setNextExpr(Instruction _nextExpr) |
void |
Instruction.setNextPC(Instruction _nextByPC) |
void |
Instruction.setParentExpr(Instruction _parentExpr) |
void |
Instruction.setPrevExpr(Instruction _prevExpr) |
void |
Instruction.setPrevPC(Instruction _prevByPC) |
void |
InstructionSet.Branch.setTarget(Instruction _target) |
void |
InstructionSet.Switch.setTarget(int _index,
Instruction _instruction) |
abstract Instruction |
InstructionTransformer.transform(ExpressionList _expressionList,
Instruction i) |
Modifier and Type | Method and Description |
---|---|
Instruction |
MethodModel.getExprHead() |
Instruction |
MethodModel.getPCHead() |
Modifier and Type | Method and Description |
---|---|
Map<Integer,Instruction> |
MethodModel.createListOfInstructions()
Create a linked list of instructions (from pcHead to pcTail).
|
Modifier and Type | Method and Description |
---|---|
void |
MethodModel.setRequiredPragmas(Instruction instruction)
Look at each instruction for use of long/double or byte writes which
require pragmas to be used in the OpenCL source
|
void |
MethodModel.txFormDups(ExpressionList _expressionList,
Instruction _instruction)
DUP family of instructions break our stack unwind model (whereby we treat instructions like the oeprands they create/consume).
|
Modifier and Type | Method and Description |
---|---|
void |
MethodModel.buildBranchGraphs(Map<Integer,Instruction> pcMap)
Here we connect the branch nodes to the instruction that they branch to.
|
Constructor and Description |
---|
FakeLocalVariableTableEntry(Map<Integer,Instruction> _pcMap,
ClassModel.ClassModelMethod _method) |
Modifier and Type | Field and Description |
---|---|
Instruction |
InstructionViewer.InstructionView.branchTarget |
Instruction |
InstructionViewer.InstructionView.collapsedBranchTarget |
Modifier and Type | Method and Description |
---|---|
Instruction |
InstructionHelper.BranchVector.getEnd() |
Instruction |
InstructionHelper.BranchVector.getFrom() |
Instruction |
InstructionHelper.BranchVector.getStart() |
Instruction |
InstructionHelper.BranchVector.getTo() |
Modifier and Type | Method and Description |
---|---|
static String |
InstructionHelper.getLabel(Instruction instruction,
boolean showNumber,
boolean showExpressions,
boolean verboseBytecodeLabels) |
void |
InstructionViewer.showAndTell(String message,
Instruction head,
Instruction _instruction) |
Constructor and Description |
---|
BranchVector(Instruction _from,
Instruction _to) |
InstructionView(Instruction _instruction) |
Modifier and Type | Method and Description |
---|---|
Instruction |
BlockWriter.writeConditional(BranchSet _branchSet) |
Instruction |
BlockWriter.writeConditional(BranchSet _branchSet,
boolean _invert) |
Modifier and Type | Method and Description |
---|---|
void |
BlockWriter.writeBlock(Instruction _first,
Instruction _last) |
void |
BlockWriter.writeInstruction(Instruction _instruction) |
void |
KernelWriter.writeInstruction(Instruction _instruction) |
void |
BlockWriter.writeSequence(Instruction _first,
Instruction _last) |
Copyright © 2016 Syncleus. All rights reserved.