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 class
InstructionHelper.BranchVector
static class
InstructionHelper.StringWriter
static class
InstructionHelper.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 void
appendFoldedInstruction(InstructionHelper.Table _sl, java.lang.String _prefix, Instruction _instruction)
(package private) static java.lang.String
createView(MethodModel _methodModel, java.lang.String _msg, Instruction _head)
(package private) static java.lang.String
createView(MethodModel _methodModel, java.lang.String _msg, Instruction _head, Instruction _tail, int[] _pcForwardBranchTargetCounts)
(package private) void
dump(java.lang.String _indent, Instruction i, boolean clone)
(package private) void
edump(java.lang.StringBuilder _sb, Instruction i, boolean clone)
(package private) void
fdump(int _depth, Instruction i, boolean clone)
(package private) static java.util.List<InstructionHelper.BranchVector>
getBranches(MethodModel _methodModel)
(package private) static java.lang.String
getFoldedView(MethodModel _methodModel)
(package private) static java.lang.String
getJavapView(MethodModel _methodModel)
static java.lang.String
getLabel(Instruction instruction, boolean showNumber, boolean showExpressions, boolean verboseBytecodeLabels)
(package private) static void
writeExpression(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)
-
-