|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.simd.LirUtil
LIR utility class for SIMD
コンストラクタの概要 | |
LirUtil()
|
メソッドの概要 | |
static Symbol |
basesymbol(LirNode exp)
Returns MEM expression's base symbol |
static ImList |
btoim(BiList b)
Transforms a BiList into ImList |
static java.util.Vector |
btov(BiList b)
Transforms a BiList into Vector |
static int |
calcBoundary(int typ)
Gets a boundary from a type |
static long |
calcIncval(int type)
Returns type's byte |
static boolean |
contains(LirNode a,
LirNode b)
Checks if first LirNode contains second LirNode |
static long |
dispval(LirNode exp)
Returns memory expression's displacement |
static java.util.Vector |
imlistToVector(ImList xs)
Transforms an ImList into Vector |
static boolean |
isShiftOp(LirNode e)
Checks if a LirNode's operator is "shift" |
static boolean |
isUsed(LirNode a,
LirNode b)
Checks if first LirNode is contained in second LirNode |
static LirNode |
operator(LirFactory factory,
int c,
int t,
LirNode[] srcs,
ImList opt)
Makes a LirNode |
static LirNode[] |
pickupDefReferent(LirNode e)
|
static void |
pickupDefReferent(LirNode e,
java.util.Vector v)
|
static LirNode[] |
pickupReferent(LirNode e)
|
static void |
pickupReferent(LirNode e,
java.util.Vector v)
|
static LirNode[] |
pickupUseReferent(LirNode e)
|
static java.lang.String |
typeKind(int typ)
Changes a type to its kind(I or F or etc.) |
static int |
typeNum(int typ)
Changes a type to bits |
static BiList |
vtob(java.util.Vector v)
Transforms a Vecgtor into a BiList |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public LirUtil()
メソッドの詳細 |
public static int typeNum(int typ)
typ
- int
public static java.lang.String typeKind(int typ)
public static Symbol basesymbol(LirNode exp)
exp
- LirNode
public static long dispval(LirNode exp)
exp
- LirNode
public static long calcIncval(int type)
type
- int
public static java.util.Vector imlistToVector(ImList xs)
xs
- ImList
public static int calcBoundary(int typ)
typ
- int
public static java.util.Vector btov(BiList b)
b
- BiList
public static BiList vtob(java.util.Vector v)
v
- Vector
public static ImList btoim(BiList b)
b
- BiList
public static boolean contains(LirNode a, LirNode b)
a
- LirNodeb
- LirNode
public static boolean isUsed(LirNode a, LirNode b)
a
- LirNodeb
- LirNode
public static LirNode[] pickupDefReferent(LirNode e) throws SimdOptException
SimdOptException
public static void pickupDefReferent(LirNode e, java.util.Vector v) throws SimdOptException
SimdOptException
public static LirNode[] pickupUseReferent(LirNode e) throws SimdOptException
SimdOptException
public static LirNode[] pickupReferent(LirNode e) throws SimdOptException
SimdOptException
public static void pickupReferent(LirNode e, java.util.Vector v) throws SimdOptException
SimdOptException
public static LirNode operator(LirFactory factory, int c, int t, LirNode[] srcs, ImList opt)
factory
- LirFactoryc
- intt
- intsrcs
- LirNode[]opt
- ImList
public static boolean isShiftOp(LirNode e)
e
- LirNode
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |