|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.ffront.TypeUtility
フィールドの概要 | |
(パッケージプライベート) FirToHir |
fHir
|
(パッケージプライベート) HirUtility |
fHirUtil
|
(パッケージプライベート) HIR |
hir
|
(パッケージプライベート) HirRoot |
hirRoot
|
(パッケージプライベート) Sym |
sym
|
(パッケージプライベート) SymRoot |
symRoot
|
コンストラクタの概要 | |
TypeUtility(FirToHir fth)
|
メソッドの概要 | |
(パッケージプライベート) FortranCharacterExp |
castFortranCharacterExp(Exp exp)
|
(パッケージプライベート) Type |
charArray(int length)
|
(パッケージプライベート) void |
dp(java.lang.String msg)
|
(パッケージプライベート) Type |
getArrayType(Type array_type,
FirList dims,
DeclManager declMgr)
make Vector type. |
Type |
getBoolType()
|
Type |
getCharType()
|
StructType |
getComplexDoubleStructType()
Return Double Complex type as a StructType typedef struct{ double _real; double _imag; } _complex_struct; |
StructType |
getComplexStructType()
Return Complex type as a StructType typedef struct{ float _real; float _imag; } _complex_struct; |
(パッケージプライベート) Exp |
getDimSizeParamExp(Node n,
DeclManager declMgr)
|
Elem |
getDoubleImagPart()
|
Elem |
getDoubleRealPart()
|
Type |
getDoubleType()
|
Type |
getEntryType()
|
(パッケージプライベート) Exp |
getFortranCharacterLengthExp(Type type,
Node hint)
|
(パッケージプライベート) Exp |
getFortranCharacterLengthExp(Type type,
java.lang.String name)
|
(パッケージプライベート) Exp |
getFortranCharacterVectorLengthExp(VectorType type,
java.lang.String name)
|
Type |
getGlobalStructType(java.lang.String type_name,
java.lang.String[] names,
Type[] types)
make global struct. |
Elem |
getImagPart()
|
Elem |
getImagPart(StructType type)
|
Type |
getIntType()
|
Elem |
getRealPart()
|
Elem |
getRealPart(StructType type)
|
Type |
getRealType()
|
(パッケージプライベート) Type |
getType(int typeKind)
Make Sym Type from F77 Type kind |
(パッケージプライベート) Type |
getType(int typeKind,
int length)
Make Sym Type from F77 Type kind and length |
(パッケージプライベート) Type |
getType(Pair pTypeName)
Make Sym Type from F77 Type Pair F77 Type is Pair(type name, optional length spec) |
(パッケージプライベート) Type |
getVectorBaseType(VectorType vt)
Get vector base type if base type is char, return char vector type. |
Type |
getVoidType()
|
(パッケージプライベート) boolean |
isComplexType(Type type)
|
(パッケージプライベート) boolean |
isDoubleComplexType(Type type)
|
(パッケージプライベート) boolean |
isFortranCharacterType(Type type)
check if type is fortran character type, in other words, coins' Vector |
(パッケージプライベート) boolean |
isFortranCharacterVectorType(VectorType type)
check if type is vector of fortran character type. |
(パッケージプライベート) Type |
makeVectorType(Type type,
int dimnum,
Exp[] dim_lp,
Exp[] dim_up,
int[] dim_lows,
int[] dim_upps)
|
void |
popSymTable()
|
SymTable |
pushSymTable(Sym pSym)
|
(パッケージプライベート) Elem |
searchElem(java.lang.String ident,
Type type)
search "ident" element from Struct or Union type. |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
FirToHir fHir
HirUtility fHirUtil
Sym sym
HIR hir
SymRoot symRoot
HirRoot hirRoot
コンストラクタの詳細 |
public TypeUtility(FirToHir fth)
メソッドの詳細 |
Exp getDimSizeParamExp(Node n, DeclManager declMgr)
Type getArrayType(Type array_type, FirList dims, DeclManager declMgr)
dims
- dimension informationType makeVectorType(Type type, int dimnum, Exp[] dim_lp, Exp[] dim_up, int[] dim_lows, int[] dim_upps)
Type getType(Pair pTypeName)
pTypeName
-
Type getType(int typeKind, int length)
typeKind
- length
-
Type getType(int typeKind)
typeKind
-
Type charArray(int length)
public Type getEntryType()
boolean isComplexType(Type type)
boolean isDoubleComplexType(Type type)
public StructType getComplexStructType()
typedef struct{ float _real; float _imag; } _complex_struct;
public StructType getComplexDoubleStructType()
typedef struct{ double _real; double _imag; } _complex_struct;
public Elem getRealPart()
public Elem getImagPart()
public Elem getDoubleRealPart()
public Elem getDoubleImagPart()
public Elem getRealPart(StructType type)
public Elem getImagPart(StructType type)
public Type getGlobalStructType(java.lang.String type_name, java.lang.String[] names, Type[] types)
struct stname{ int a; float b; int c[10]; };
Elem searchElem(java.lang.String ident, Type type)
Type getVectorBaseType(VectorType vt)
boolean isFortranCharacterType(Type type)
boolean isFortranCharacterVectorType(VectorType type)
FortranCharacterExp castFortranCharacterExp(Exp exp)
Exp getFortranCharacterLengthExp(Type type, Node hint)
Exp getFortranCharacterLengthExp(Type type, java.lang.String name)
Exp getFortranCharacterVectorLengthExp(VectorType type, java.lang.String name)
public SymTable pushSymTable(Sym pSym)
public void popSymTable()
public Type getRealType()
public Type getDoubleType()
public Type getIntType()
public Type getBoolType()
public Type getVoidType()
public Type getCharType()
void dp(java.lang.String msg)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |