|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.ffront.IntrinsicUtility
Intrinsic Utility
入れ子クラスの概要 | |
(パッケージプライベート) class |
IntrinsicUtility.NameAndType
Intrinsic function's name and type. |
フィールドの概要 | |
(パッケージプライベート) static int |
ABS
|
(パッケージプライベート) static int |
COMPLEX_LIB
|
(パッケージプライベート) static int |
CONJUGATE
|
(パッケージプライベート) static int |
CONV_TO_CHAR
|
(パッケージプライベート) static int |
CONV_TO_COMPLEX
|
(パッケージプライベート) static int |
CONV_TO_DOUBLE
|
(パッケージプライベート) static int |
CONV_TO_INTEGER
|
(パッケージプライベート) static int |
CONV_TO_REAL
|
(パッケージプライベート) static int |
DCONJUGATE
|
(パッケージプライベート) static int |
DIM
|
(パッケージプライベート) static int |
DIMAGINARY_PART
|
(パッケージプライベート) static int |
DPROD
|
(パッケージプライベート) DeclManager |
fDeclMgr
|
(パッケージプライベート) ExecStmtManager |
fESMgr
|
(パッケージプライベート) FirToHir |
fHir
|
(パッケージプライベート) HirUtility |
fHirUtil
|
(パッケージプライベート) TypeUtility |
fTypeUtil
|
(パッケージプライベート) HIR |
hir
|
(パッケージプライベート) static int |
IMAGINARY_PART
|
(パッケージプライベート) static int |
INDEX
|
(パッケージプライベート) static IntrinsicUtility.NameAndType[] |
intrinsicTable
|
(パッケージプライベート) static int |
LENGTH
|
(パッケージプライベート) static int |
MATH_LIB
|
(パッケージプライベート) static int |
MATH_LIB2
|
(パッケージプライベート) static int |
MAX
|
(パッケージプライベート) static int |
MAX_I
|
(パッケージプライベート) static int |
MAX_R
|
(パッケージプライベート) static int |
MIN
|
(パッケージプライベート) static int |
MIN_I
|
(パッケージプライベート) static int |
MIN_R
|
(パッケージプライベート) static int |
MOD
|
(パッケージプライベート) static int |
NEAREST
|
(パッケージプライベート) static int |
NEAREST_INT
|
(パッケージプライベート) static int |
NOT_YET
|
(パッケージプライベート) static int |
POWER
|
(パッケージプライベート) static int |
SIGN
|
(パッケージプライベート) Sym |
sym
|
(パッケージプライベート) static int |
TRUNCATE
|
(パッケージプライベート) static int |
TYPE_CHARACTER
|
(パッケージプライベート) static int |
TYPE_COMPLEX
|
(パッケージプライベート) static int |
TYPE_DCOMPLEX
|
(パッケージプライベート) static int |
TYPE_DOUBLE
|
(パッケージプライベート) static int |
TYPE_FC
|
(パッケージプライベート) static int |
TYPE_FI
|
(パッケージプライベート) static int |
TYPE_FLOAT
|
(パッケージプライベート) static int |
TYPE_INT
|
(パッケージプライベート) static int |
TYPE_NO
|
(パッケージプライベート) static int |
TYPE_NUMBER
|
(パッケージプライベート) static int |
TYPE_ONE_OR_TWO
|
(パッケージプライベート) static int |
TYPE_OVER_TWO
|
(パッケージプライベート) static int |
TYPE_REAL
|
コンストラクタの概要 | |
IntrinsicUtility(FirToHir fth)
|
メソッドの概要 | |
(パッケージプライベート) boolean |
argsTypeCheck(IntrinsicUtility.NameAndType nat,
IrList argsExps)
|
(パッケージプライベート) Exp |
complexPowExp(Exp e1,
Exp e2)
|
(パッケージプライベート) Exp |
convertTo(Exp exp,
Type type)
|
(パッケージプライベート) void |
dp(java.lang.String msg)
|
(パッケージプライベート) Exp |
funcMAX(IrList args)
max(x,y,...) => temp = x; if(temp < y){ temp = y; } |
(パッケージプライベート) Exp |
funcMIN(IrList args)
min(x,y,...) => temp = x; if(temp > y){ temp = y; } |
(パッケージプライベート) Exp |
funcNEAREST(Exp arg)
int(a+.5) if a>=0 int(a-.5) if a<0 |
(パッケージプライベート) void |
init_intrinsicTable()
|
(パッケージプライベート) Exp |
intPowExp(Exp e1,
Exp e2)
x ** y (x,y: Integer) if(y <= 4){ (x * ...) |
(パッケージプライベート) boolean |
isIntrinsicCall(java.lang.String id)
|
(パッケージプライベート) Stmt |
makeAssignStmt(Exp e1,
Exp e2)
|
(パッケージプライベート) void |
makeComplexCall(java.lang.String name,
Exp src,
Exp dst)
|
(パッケージプライベート) Exp |
makeIntrinsicCall(java.lang.String ident,
FirList args)
Make Exp node for intrinsic function call. |
(パッケージプライベート) Exp |
makeIntrinsicCallCont(Exp expArg,
Exp expArg2,
IrList argExps,
int index,
Node hint,
Node hint2)
|
(パッケージプライベート) Exp |
makeLibCall(java.lang.String name,
Exp pExp,
int type)
Make Exp node for library-function call with one parameter. |
(パッケージプライベート) Exp |
makeLibCall2(java.lang.String name,
Exp pExp1,
Exp pExp2,
int type)
Make Exp node for library-function call with two parameters. |
(パッケージプライベート) int |
searchFuncName(java.lang.String name)
Search a function name in intrinsicTable. |
(パッケージプライベート) Exp |
tempVarNode(java.lang.String str,
Type type)
|
(パッケージプライベート) boolean |
typeCheck(Type type,
int expected_type)
|
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
static IntrinsicUtility.NameAndType[] intrinsicTable
FirToHir fHir
HIR hir
Sym sym
HirUtility fHirUtil
TypeUtility fTypeUtil
DeclManager fDeclMgr
ExecStmtManager fESMgr
static final int NOT_YET
static final int MATH_LIB
static final int MATH_LIB2
static final int CONV_TO_REAL
static final int CONV_TO_INTEGER
static final int CONV_TO_DOUBLE
static final int CONV_TO_COMPLEX
static final int CONV_TO_CHAR
static final int ABS
static final int POWER
static final int TRUNCATE
static final int NEAREST
static final int NEAREST_INT
static final int LENGTH
static final int IMAGINARY_PART
static final int CONJUGATE
static final int DIMAGINARY_PART
static final int DCONJUGATE
static final int COMPLEX_LIB
static final int SIGN
static final int DIM
static final int DPROD
static final int MOD
static final int MAX
static final int MAX_R
static final int MAX_I
static final int MIN
static final int MIN_R
static final int MIN_I
static final int INDEX
static final int TYPE_NO
static final int TYPE_REAL
static final int TYPE_DOUBLE
static final int TYPE_INT
static final int TYPE_COMPLEX
static final int TYPE_DCOMPLEX
static final int TYPE_CHARACTER
static final int TYPE_FLOAT
static final int TYPE_NUMBER
static final int TYPE_FC
static final int TYPE_FI
static final int TYPE_ONE_OR_TWO
static final int TYPE_OVER_TWO
コンストラクタの詳細 |
public IntrinsicUtility(FirToHir fth)
メソッドの詳細 |
int searchFuncName(java.lang.String name)
name
-
boolean isIntrinsicCall(java.lang.String id)
Exp makeIntrinsicCall(java.lang.String ident, FirList args)
Exp makeIntrinsicCallCont(Exp expArg, Exp expArg2, IrList argExps, int index, Node hint, Node hint2)
Exp tempVarNode(java.lang.String str, Type type)
Stmt makeAssignStmt(Exp e1, Exp e2)
Exp intPowExp(Exp e1, Exp e2)
Exp complexPowExp(Exp e1, Exp e2)
Exp funcNEAREST(Exp arg)
Exp funcMAX(IrList args)
max(x,y,...) => temp = x; if(temp < y){ temp = y; }
Exp funcMIN(IrList args)
min(x,y,...) => temp = x; if(temp > y){ temp = y; }
Exp makeLibCall(java.lang.String name, Exp pExp, int type)
name
- library function namepExp
- actual parametertype
- return type
Exp makeLibCall2(java.lang.String name, Exp pExp1, Exp pExp2, int type)
name
- library function nametype
- return type
Exp convertTo(Exp exp, Type type)
void makeComplexCall(java.lang.String name, Exp src, Exp dst)
boolean typeCheck(Type type, int expected_type)
boolean argsTypeCheck(IntrinsicUtility.NameAndType nat, IrList argsExps)
void init_intrinsicTable()
void dp(java.lang.String msg)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |