coins.simd
クラス Util

java.lang.Object
  |
  +--coins.simd.Util

public class Util
extends java.lang.Object

Utility class for SIMD optimization classes.


コンストラクタの概要
(パッケージプライベート) Util()
           
 
メソッドの概要
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)
           
(パッケージプライベート)  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.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Util

Util()
メソッドの詳細

findTargetLir

BiList findTargetLir(LirNode root,
                     int opCode,
                     BiList l)
Search and find the LIR nodes which has the specified operation code.

パラメータ:
root - The root node of the search
opCode - The specified operation code
l - The list which is stored in the found LIR node
戻り値:
The list of LIR nodes

assert2

public static void assert2(boolean p,
                           java.lang.String s,
                           int lineno)
                    throws SimdOptException
Tests a condition, and prints messages and exits if it is false.

パラメータ:
p - boolean which represents a condition.
s - String which represents a description of the condition.
lineno - int which represents a line number.
SimdOptException

assert2

public static void assert2(boolean p,
                           java.lang.String s)
                    throws SimdOptException
Tests a condition, and prints messages and exits if it is false.

パラメータ:
p - boolean which represents a condition.
s - String which represents a description of the condition.
SimdOptException

abort

public static void abort(java.lang.String s)
                  throws SimdOptException
Prints an error message and aborts.

パラメータ:
s - Strint which represents an error message.
SimdOptException

sorry

public static void sorry(boolean p,
                         java.lang.String s)
                  throws SimdOptException
Tests a condition, and prints a message and exits if it is true.

パラメータ:
p - boolean which represents a condition.
s - String which represents an error message.
SimdOptException

warn

public static void warn(java.lang.String s)
Prints an error message.

パラメータ:
s - String which represents an error message.

printBlk

public static void printBlk(BasicBlk blk)

blkToVecs

public static java.util.Vector blkToVecs(BasicBlk blk)

vecsToBlk

public static void vecsToBlk(BasicBlk blk,
                             java.util.Vector vs)

revV

public static void revV(java.util.Vector v)