Package com.aparapi.internal.tool
Class InstructionHelper
- java.lang.Object
-
- com.aparapi.internal.tool.InstructionHelper
-
public class InstructionHelper extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInstructionHelper.BranchVectorstatic classInstructionHelper.StringWriterstatic classInstructionHelper.Table
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Comparator<InstructionHelper.BranchVector>branchInfoComparator
-
Constructor Summary
Constructors Constructor Description InstructionHelper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static voidappendFoldedInstruction(InstructionHelper.Table _sl, java.lang.String _prefix, Instruction _instruction)(package private) static java.lang.StringcreateView(MethodModel _methodModel, java.lang.String _msg, Instruction _head)(package private) static java.lang.StringcreateView(MethodModel _methodModel, java.lang.String _msg, Instruction _head, Instruction _tail, int[] _pcForwardBranchTargetCounts)(package private) voiddump(java.lang.String _indent, Instruction i, boolean clone)(package private) voidedump(java.lang.StringBuilder _sb, Instruction i, boolean clone)(package private) voidfdump(int _depth, Instruction i, boolean clone)(package private) static java.util.List<InstructionHelper.BranchVector>getBranches(MethodModel _methodModel)(package private) static java.lang.StringgetFoldedView(MethodModel _methodModel)(package private) static java.lang.StringgetJavapView(MethodModel _methodModel)static java.lang.StringgetLabel(Instruction instruction, boolean showNumber, boolean showExpressions, boolean verboseBytecodeLabels)(package private) static voidwriteExpression(java.lang.String _prefix, Instruction _instruction)
-
-
-
Field Detail
-
branchInfoComparator
private static java.util.Comparator<InstructionHelper.BranchVector> branchInfoComparator
-
-
Method Detail
-
getLabel
public static java.lang.String getLabel(Instruction instruction, boolean showNumber, boolean showExpressions, boolean verboseBytecodeLabels)
-
appendFoldedInstruction
private static void appendFoldedInstruction(InstructionHelper.Table _sl, java.lang.String _prefix, Instruction _instruction)
-
writeExpression
static void writeExpression(java.lang.String _prefix, Instruction _instruction)
-
getFoldedView
static java.lang.String getFoldedView(MethodModel _methodModel)
-
createView
static java.lang.String createView(MethodModel _methodModel, java.lang.String _msg, Instruction _head)
-
createView
static java.lang.String createView(MethodModel _methodModel, java.lang.String _msg, Instruction _head, Instruction _tail, int[] _pcForwardBranchTargetCounts)
-
getJavapView
static java.lang.String getJavapView(MethodModel _methodModel)
-
getBranches
static java.util.List<InstructionHelper.BranchVector> getBranches(MethodModel _methodModel)
-
edump
void edump(java.lang.StringBuilder _sb, Instruction i, boolean clone)
-
fdump
void fdump(int _depth, Instruction i, boolean clone)
-
dump
void dump(java.lang.String _indent, Instruction i, boolean clone)
-
-