Uses of Class
com.aparapi.internal.instruction.Instruction
-
Packages that use Instruction Package Description com.aparapi com.aparapi.internal.exception com.aparapi.internal.instruction com.aparapi.internal.model com.aparapi.internal.tool com.aparapi.internal.writer -
-
Uses of Instruction in com.aparapi
Methods in com.aparapi with parameters of type Instruction Modifier and Type Method Description voidConfig.InstructionListener. showAndTell(java.lang.String message, Instruction _start, Instruction _instruction) -
Uses of Instruction in com.aparapi.internal.exception
Fields in com.aparapi.internal.exception declared as Instruction Modifier and Type Field Description private InstructionClassParseException. instructionMethods in com.aparapi.internal.exception that return Instruction Modifier and Type Method Description InstructionClassParseException. getInstruction()Constructors in com.aparapi.internal.exception with parameters of type Instruction Constructor Description ClassParseException(Instruction _instruction, ClassParseException.TYPE _type) -
Uses of Instruction in com.aparapi.internal.instruction
Fields in com.aparapi.internal.instruction declared as Instruction Modifier and Type Field Description private InstructionInstructionSet.CloneInstruction. cloningprivate InstructionInstructionSet.MultiAssignInstruction. commonprivate InstructionBranchSet. fallThroughprivate InstructionInstructionSet.IncrementInstruction. fieldOrVariableprivate InstructionInstruction. firstChildprivate InstructionInstructionSet.MultiAssignInstruction. fromprivate InstructionExpressionList. headprivate InstructionExpressionList. instructionprivate InstructionInstruction. lastChildprivate InstructionInstruction. nextExprprivate InstructionInstruction. nextPCprivate InstructionInstruction. parentExprprivate InstructionInstruction. prevExprprivate InstructionInstruction. prevPCprivate InstructionInstructionSet.FieldArrayElementAssign. rhsprivate InstructionInstructionSet.InlineAssignInstruction. rhsprivate InstructionExpressionList. tailprivate InstructionBranchSet. targetprotected InstructionInstructionSet.Branch. targetprotected Instruction[]InstructionSet.Switch. targetsprivate InstructionInstructionSet.MultiAssignInstruction. toMethods in com.aparapi.internal.instruction that return Instruction Modifier and Type Method Description InstructionExpressionList. add(Instruction _instruction)Add this instruction to the end of the list.static InstructionInstructionSet.ByteCode. create(MethodModel _methodModel, ByteReader _byteReader)InstructionExpressionList. createList(Instruction _newTail)[1] [2] [3] [4] Note that passing null here essentially deletes the existing expression list and returns the expressionInstructionInstructionSet.I_INVOKEDYNAMIC. getArg(int _arg)InstructionInstructionSet.I_INVOKEINTERFACE. getArg(int _arg)InstructionInstructionSet.I_INVOKESPECIAL. getArg(int _arg)InstructionInstructionSet.I_INVOKESTATIC. getArg(int _arg)InstructionInstructionSet.I_INVOKEVIRTUAL. getArg(int _arg)InstructionInstructionSet.InterfaceConstantPoolMethodIndexAccessor. getArg(int _arg)InstructionInstructionSet.MethodCall. getArg(int _arg)InstructionInstructionSet.ArrayAccess. getArrayIndex()InstructionInstructionSet.ArrayAccess. getArrayRef()InstructionInstructionSet.MultiAssignInstruction. getCommon()InstructionBranchSet. getFallThrough()InstructionInstructionSet.IncrementInstruction. getFieldOrVariableReference()InstructionInstruction. getFirstChild()InstructionInstructionSet.MultiAssignInstruction. getFrom()InstructionExpressionList. getHead()InstructionInstructionSet.AccessInstanceField. getInstance()InstructionInstructionSet.AssignToInstanceField. getInstance()InstructionInstructionSet.I_GETFIELD. getInstance()InstructionInstructionSet.I_PUTFIELD. getInstance()InstructionInstructionSet.I_INVOKEDYNAMIC. getInstanceReference()InstructionInstructionSet.I_INVOKEINTERFACE. getInstanceReference()InstructionInstructionSet.I_INVOKESPECIAL. getInstanceReference()InstructionInstructionSet.I_INVOKEVIRTUAL. getInstanceReference()InstructionInstructionSet.InterfaceConstantPoolMethodIndexAccessor. getInstanceReference()InstructionInstructionSet.VirtualMethodCall. getInstanceReference()InstructionInstruction. getLastChild()InstructionInstructionSet.Binary. getLhs()InstructionInstructionSet.BinaryOperator. getLhs()InstructionInstructionSet.If. getLhs()InstructionInstruction. getNextExpr()InstructionInstruction. getNextPC()InstructionInstruction. getParentExpr()InstructionInstruction. getPrevExpr()InstructionInstruction. getPrevPC()InstructionInstruction. getReal()InstructionInstructionSet.CloneInstruction. getReal()InstructionInstructionSet.Binary. getRhs()InstructionInstructionSet.BinaryOperator. getRhs()InstructionInstructionSet.FieldArrayElementAssign. getRhs()InstructionInstructionSet.If. getRhs()InstructionInstructionSet.InlineAssignInstruction. getRhs()InstructionInstruction. getRootExpr()InstructionInstruction. getStartInstruction()InstructionInstructionSet.IncrementInstruction. getStartInstruction()InstructionExpressionList. getTail()InstructionBranchSet. getTarget()InstructionInstructionSet.Branch. getTarget()InstructionInstructionSet.Switch. getTarget(int _index)InstructionInstructionSet.MultiAssignInstruction. getTo()InstructionInstructionSet.IfUnary. getUnary()InstructionInstructionSet.Unary. getUnary()InstructionInstructionSet.UnaryOperator. getUnary()InstructionInstructionSet.AssignToArrayElement. getValue()InstructionInstructionSet.AssignToField. getValueToAssign()InstructionInstructionSet.I_PUTFIELD. getValueToAssign()InstructionInstructionSet.I_PUTSTATIC. getValueToAssign()InstructionInstructionSet.ByteCode. newInstruction(MethodModel _methodModel, ByteReader byteReader, boolean _isWide)InstructionInstruction. toInstruction()abstract InstructionInstructionTransformer. transform(ExpressionList _expressionList, Instruction i)Methods in com.aparapi.internal.instruction with parameters of type Instruction Modifier and Type Method Description InstructionExpressionList. add(Instruction _instruction)Add this instruction to the end of the list.private voidExpressionList. addAsComposites(InstructionSet.ByteCode _byteCode, Instruction _start, BranchSet _branchSet)private booleanInstructionPattern. compareSubTrees(Instruction _lhs, Instruction _rhs)intInstruction. compareTo(Instruction _other)static InstructionSet.CompositeInstructionInstructionSet.CompositeInstruction. create(InstructionSet.ByteCode _byteCode, MethodModel _methodModel, Instruction _firstChild, Instruction _lastChild, BranchSet _branchSet)InstructionExpressionList. createList(Instruction _newTail)[1] [2] [3] [4] Note that passing null here essentially deletes the existing expression list and returns the expressionbooleanExpressionList. doesNotContainCompositeOrBranch(Instruction _start, Instruction _exclusiveEnd)booleanExpressionList. doesNotContainContinueOrBreak(Instruction _start, Instruction _extent)Determine whether the sequence of instructions from _start to _extent is free of branches which extend beyond _extent.java.lang.StringExpressionList. dumpDiagram(Instruction _instruction)Aids debugging.InstructionSet.ConditionalBranchInstructionSet.ConditionalBranch. findEndOfConditionalBranchSet(Instruction _extent)booleanExpressionList. foldComposite(Instruction _instruction)Fold headTail.tail into valid compositesvoidExpressionList. insertBetween(Instruction _prev, Instruction _next, Instruction _newOne)Insert the given instruction (_newone) between the existing entries (_prev and _next).booleanInstruction. isAfter(Instruction _other)booleanInstruction. isAfterOrEqual(Instruction _other)booleanInstruction. isBefore(Instruction _other)booleanInstruction. isBeforeOrEqual(Instruction _other)InstructionPattern.InstructionMatchInstructionPattern.AssignableInstructionMatcher. matches(Instruction _instruction)(package private) abstract InstructionPattern.InstructionMatchInstructionPattern.InstructionMatcher. matches(Instruction _instruction)InstructionPattern.InstructionMatchInstructionPattern.InstructionMatcher. matches(Instruction _instruction, InstructionPattern.InstructionMatcher _instructionMatcher)voidExpressionList. replaceInclusive(Instruction _head, Instruction _tail, Instruction _newOne)Inclusive replace between _head and _tail with _newOne.voidInstructionSet.Branch. retarget(Instruction _newTarget)booleanInstruction. sameAs(Instruction _other)voidInstruction. setChildren(Instruction _firstChild, Instruction _lastChild)voidInstruction. setNextExpr(Instruction _nextExpr)voidInstruction. setNextPC(Instruction _nextByPC)voidInstruction. setParentExpr(Instruction _parentExpr)voidInstruction. setPrevExpr(Instruction _prevExpr)voidInstruction. setPrevPC(Instruction _prevByPC)voidInstructionSet.Branch. setTarget(Instruction _target)voidInstructionSet.Switch. setTarget(int _index, Instruction _instruction)abstract InstructionInstructionTransformer. transform(ExpressionList _expressionList, Instruction i) -
Uses of Instruction in com.aparapi.internal.model
Fields in com.aparapi.internal.model declared as Instruction Modifier and Type Field Description private InstructionMethodModel. pcHeadprivate InstructionMethodModel. pcTailAfter we have folded the top level instructions this root list will contain a list of all of the 'root' instructions (stores/loops/conditionals) We are going to build a linked list.Methods in com.aparapi.internal.model that return Instruction Modifier and Type Method Description InstructionMethodModel. getExprHead()InstructionMethodModel. getPCHead()Methods in com.aparapi.internal.model that return types with arguments of type Instruction Modifier and Type Method Description java.util.Map<java.lang.Integer,Instruction>MethodModel. createListOfInstructions()Create a linked list of instructions (from pcHead to pcTail).Methods in com.aparapi.internal.model with parameters of type Instruction Modifier and Type Method Description (package private) voidMethodModel. applyTransformations(ExpressionList _expressionList, Instruction _instruction, Instruction _operandStart)voidMethodModel. setRequiredPragmas(Instruction instruction)Look at each instruction for use of long/double or byte writes which require pragmas to be used in the OpenCL sourcevoidMethodModel. txFormDups(ExpressionList _expressionList, Instruction _instruction)DUP family of instructions break our stack unwind model (whereby we treat instructions like the oeprands they create/consume).Method parameters in com.aparapi.internal.model with type arguments of type Instruction Modifier and Type Method Description voidMethodModel. buildBranchGraphs(java.util.Map<java.lang.Integer,Instruction> pcMap)Here we connect the branch nodes to the instruction that they branch to.(package private) voidMethodModel. checkForGetter(java.util.Map<java.lang.Integer,Instruction> pcMap)Determine if this method is a getter and record the accessed field if so(package private) voidMethodModel. checkForSetter(java.util.Map<java.lang.Integer,Instruction> pcMap)Determine if this method is a setter and record the accessed field if soConstructor parameters in com.aparapi.internal.model with type arguments of type Instruction Constructor Description FakeLocalVariableTableEntry(java.util.Map<java.lang.Integer,Instruction> _pcMap, ClassModel.ClassModelMethod _method) -
Uses of Instruction in com.aparapi.internal.tool
Fields in com.aparapi.internal.tool declared as Instruction Modifier and Type Field Description InstructionInstructionViewer.InstructionView. branchTargetInstructionInstructionViewer.InstructionView. collapsedBranchTarget(package private) InstructionInstructionViewer. currentprotected InstructionInstructionHelper.BranchVector. end(package private) InstructionInstructionViewer. firstprotected InstructionInstructionHelper.BranchVector. fromprivate InstructionInstructionViewer.InstructionView. instructionprotected InstructionInstructionHelper.BranchVector. startprotected InstructionInstructionHelper.BranchVector. toFields in com.aparapi.internal.tool with type parameters of type Instruction Modifier and Type Field Description private java.util.Map<Instruction,InstructionViewer.InstructionView>InstructionViewer. locationToInstructionViewMapMethods in com.aparapi.internal.tool that return Instruction Modifier and Type Method Description InstructionInstructionHelper.BranchVector. getEnd()InstructionInstructionHelper.BranchVector. getFrom()InstructionInstructionHelper.BranchVector. getStart()InstructionInstructionHelper.BranchVector. getTo()Methods in com.aparapi.internal.tool with parameters of type Instruction Modifier and Type Method Description private static voidInstructionHelper. appendFoldedInstruction(InstructionHelper.Table _sl, java.lang.String _prefix, Instruction _instruction)(package private) static java.lang.StringInstructionHelper. createView(MethodModel _methodModel, java.lang.String _msg, Instruction _head)(package private) static java.lang.StringInstructionHelper. createView(MethodModel _methodModel, java.lang.String _msg, Instruction _head, Instruction _tail, int[] _pcForwardBranchTargetCounts)(package private) voidInstructionHelper. dump(java.lang.String _indent, Instruction i, boolean clone)(package private) voidInstructionHelper. edump(java.lang.StringBuilder _sb, Instruction i, boolean clone)(package private) voidInstructionHelper. fdump(int _depth, Instruction i, boolean clone)(package private) InstructionViewer.InstructionViewInstructionViewer. getInstructionView(Instruction _instruction)static java.lang.StringInstructionHelper. getLabel(Instruction instruction, boolean showNumber, boolean showExpressions, boolean verboseBytecodeLabels)voidInstructionViewer. showAndTell(java.lang.String message, Instruction head, Instruction _instruction)(package private) static voidInstructionHelper. writeExpression(java.lang.String _prefix, Instruction _instruction)Constructors in com.aparapi.internal.tool with parameters of type Instruction Constructor Description BranchVector(Instruction _from, Instruction _to)InstructionView(Instruction _instruction) -
Uses of Instruction in com.aparapi.internal.writer
Methods in com.aparapi.internal.writer that return Instruction Modifier and Type Method Description InstructionBlockWriter. writeConditional(BranchSet _branchSet)InstructionBlockWriter. writeConditional(BranchSet _branchSet, boolean _invert)Methods in com.aparapi.internal.writer with parameters of type Instruction Modifier and Type Method Description private booleanBlockWriter. isNeedParenthesis(Instruction instruction)private booleanKernelWriter. isThis(Instruction instruction)voidBlockWriter. writeBlock(Instruction _first, Instruction _last)voidBlockWriter. writeInstruction(Instruction _instruction)voidKernelWriter. writeInstruction(Instruction _instruction)voidBlockWriter. writeSequence(Instruction _first, Instruction _last)
-