|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.simd.Util
Utility class for SIMD optimization classes.
| Constructor Summary | |
(package private) |
Util()
|
| Method Summary | |
static void |
abort(java.lang.String s)
Prints an error message and aborts. |
static void |
assert2(boolean p,
java.lang.String s)
Tests a condition, and prints messages and exits if it is false. |
static void |
assert2(boolean p,
java.lang.String s,
int lineno)
Tests a condition, and prints messages and exits if it is false. |
static java.util.Vector |
blkToVecs(BasicBlk blk)
|
(package private) BiList |
findTargetLir(LirNode root,
int opCode,
BiList l)
Search and find the LIR nodes which has the specified operation code. |
static void |
printBlk(BasicBlk blk)
|
static void |
revV(java.util.Vector v)
|
static void |
sorry(boolean p,
java.lang.String s)
Tests a condition, and prints a message and exits if it is true. |
static void |
vecsToBlk(BasicBlk blk,
java.util.Vector vs)
|
static void |
warn(java.lang.String s)
Prints an error message. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
Util()
| Method Detail |
BiList findTargetLir(LirNode root,
int opCode,
BiList l)
root - The root node of the searchopCode - The specified operation codel - The list which is stored in the found LIR node
public static void assert2(boolean p,
java.lang.String s,
int lineno)
throws SimdOptException
p - boolean which represents a condition.s - String which represents a description of the condition.lineno - int which represents a line number.
SimdOptException
public static void assert2(boolean p,
java.lang.String s)
throws SimdOptException
p - boolean which represents a condition.s - String which represents a description of the condition.
SimdOptException
public static void abort(java.lang.String s)
throws SimdOptException
s - Strint which represents an error message.
SimdOptException
public static void sorry(boolean p,
java.lang.String s)
throws SimdOptException
p - boolean which represents a condition.s - String which represents an error message.
SimdOptExceptionpublic static void warn(java.lang.String s)
s - String which represents an error message.public static void printBlk(BasicBlk blk)
public static java.util.Vector blkToVecs(BasicBlk blk)
public static void vecsToBlk(BasicBlk blk,
java.util.Vector vs)
public static void revV(java.util.Vector v)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||