jdk.vm.ci.code
and its clients.
Modifier and Type | Class and Description |
---|---|
public static class | CodeUtil.
Formats a location present in a reference map. |
public static class | |
public static interface |
Modifier and Type | Field and Description |
---|---|
public static final int | |
public static final int | |
public static final String |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public static StringBuilder | Returns: the value ofsb the sb, BytecodePosition StringBuilder to append tothe code position to format and append to pos)sb Appends a formatted code position to a |
public static StringBuilder | Returns: the value ofsb the sb, BytecodeFrame StringBuilder to append tothe frame to format and append to frame)sb Appends a formatted frame to a |
public static StringBuilder | Returns: the value ofsb the sb, DebugInfo StringBuilder to append tothe debug info to format and append to info, CodeUtil.sb Appends a formatted debug info to a |
public static long | Returns: a long with the same value as theinputBits -bit number value the input value value, int the bit width of the input value inputBits, boolean whether the values should be interpreted as signed or unsigned unsigned)Convert an integer to long. |
public static CallingConvention | getCallingConvention(CodeCacheProvider codeCache, CallingConvention.
Create a calling convention from a |
public static boolean | |
public static boolean | |
public static boolean | Returns: true if the value is a power of two; false otherwisethe value to check val)Checks whether the specified integer is a power of two. |
public static boolean | Returns: true if the value is a power of two; false otherwisethe value to check val)Checks whether the specified long is a power of two. |
public static int | Returns: the log base 2 of the valuethe value val)Computes the log (base 2) of the specified integer, rounding down. |
public static int | Returns: the log base 2 of the valuethe value val)Computes the log (base 2) of the specified long, rounding down. |
public static long | |
public static long | |
public static long | |
public static long | Returns: value interpreted as resultBits bit number, encoded as signed longthe value value, int the result bit width resultBits)Narrow an integer value to a given bit width, and return the result as a signed long. |
public static long | Returns: a signed long with the same value as the signedinputBits -bit number
value the input value value, int the bit width of the input value inputBits)Sign extend an integer. |
public static String | Returns: a string with one line per row and each column left-alignedthe cells of the table in row-major order cells, int the number of columns per row cols, int the number of space padding inserted before each formatted cell value lpad, int the number of space padding inserted after each formatted cell value rpad)Formats a given table as a string. |
public static String | Returns: the values inframe as a tabulated stringFormats the values in a frame as a tabulated string. |
public static long | Returns: an unsigned long with the same value as the unsignedinputBits -bit number
value the input value value, int the bit width of the input value inputBits)Zero extend an integer. |
K | back to summary |
---|---|
public static final int K |
M | back to summary |
---|---|
public static final int M |
NEW_LINE | back to summary |
---|---|
public static final String NEW_LINE |
CodeUtil | back to summary |
---|---|
public CodeUtil() |
append | back to summary |
---|---|
public static StringBuilder append(StringBuilder sb, BytecodePosition pos) Appends a formatted code position to a
|
append | back to summary |
---|---|
public static StringBuilder append(StringBuilder sb, BytecodeFrame frame) Appends a formatted frame to a
|
append | back to summary |
---|---|
public static StringBuilder append(StringBuilder sb, DebugInfo info, CodeUtil. Appends a formatted debug info to a
|
convert | back to summary |
---|---|
public static long convert(long value, int inputBits, boolean unsigned) Convert an integer to long.
|
getCallingConvention | back to summary |
---|---|
public static CallingConvention getCallingConvention(CodeCacheProvider codeCache, CallingConvention. Create a calling convention from a |
isEven | back to summary |
---|---|
public static boolean isEven(int n) |
isOdd | back to summary |
---|---|
public static boolean isOdd(int n) |
isPowerOf2 | back to summary |
---|---|
public static boolean isPowerOf2(int val) Checks whether the specified integer is a power of two.
|
isPowerOf2 | back to summary |
---|---|
public static boolean isPowerOf2(long val) Checks whether the specified long is a power of two.
|
log2 | back to summary |
---|---|
public static int log2(int val) Computes the log (base 2) of the specified integer, rounding down. (E.g
|
log2 | back to summary |
---|---|
public static int log2(long val) Computes the log (base 2) of the specified long, rounding down. (E.g
|
mask | back to summary |
---|---|
public static long mask(int bits) Get a bitmask with the low |
maxValue | back to summary |
---|---|
public static long maxValue(int bits) Get the maximum value representable in a |
minValue | back to summary |
---|---|
public static long minValue(int bits) Get the minimum value representable in a |
narrow | back to summary |
---|---|
public static long narrow(long value, int resultBits) Narrow an integer value to a given bit width, and return the result as a signed long.
|
signExtend | back to summary |
---|---|
public static long signExtend(long value, int inputBits) Sign extend an integer.
|
tabulate | back to summary |
---|---|
public static String tabulate(Object[] cells, int cols, int lpad, int rpad) Formats a given table as a string. The value of each cell is produced by
|
tabulateValues | back to summary |
---|---|
public static String tabulateValues(BytecodeFrame frame) Formats the values in a frame as a tabulated string.
|
zeroExtend | back to summary |
---|---|
public static long zeroExtend(long value, int inputBits) Zero extend an integer.
|
Modifier and Type | Field and Description |
---|---|
public final Register | fp
The register used as the frame pointer. |
public final int | refMapToFPOffset
The offset (in bytes) from the slot pointed to by |
public final int | slotSize
The size of a stack slot. |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public String | formatStackSlot(int frameRefMapIndex)
Implements jdk.
|
fp | back to summary |
---|---|
public final Register fp The register used as the frame pointer. |
refMapToFPOffset | back to summary |
---|---|
public final int refMapToFPOffset The offset (in bytes) from the slot pointed to by |
slotSize | back to summary |
---|---|
public final int slotSize The size of a stack slot. |
DefaultRefMapFormatter | back to summary |
---|---|
public DefaultRefMapFormatter(int slotSize, Register fp, int refMapToFPOffset) |
formatStackSlot | back to summary |
---|---|
public String formatStackSlot(int frameRefMapIndex) Implements jdk.
|
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public String | |
public String | formatStackSlot(int frameRefMapIndex)
Implements jdk.
|
NumberedRefMapFormatter | back to summary |
---|---|
public NumberedRefMapFormatter() |
formatRegister | back to summary |
---|---|
public String formatRegister(int regRefMapIndex) |
formatStackSlot | back to summary |
---|---|
public String formatStackSlot(int frameRefMapIndex) Implements jdk.
|
Modifier and Type | Method and Description |
---|---|
public String |
formatStackSlot | back to summary |
---|---|
public String formatStackSlot(int frameRefMapIndex) |