|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.MachineParam
MachineParam class: Define target machine parameters and methods. This is the super class of MachineParamSparc, MachineParamX86, etc. Default is Sparc.
フィールドの概要 | |
(パッケージプライベート) static int |
ALIGN_ADDRESS
|
(パッケージプライベート) static int |
ALIGN_BOOL
|
(パッケージプライベート) static int |
ALIGN_CHAR
|
(パッケージプライベート) static int |
ALIGN_DOUBLE
|
(パッケージプライベート) static int |
ALIGN_ENUM
|
(パッケージプライベート) static int |
ALIGN_FLOAT
|
(パッケージプライベート) static int |
ALIGN_INT
|
(パッケージプライベート) static int |
ALIGN_LONG
|
(パッケージプライベート) static int |
ALIGN_LONG_DOUBLE
|
(パッケージプライベート) static int |
ALIGN_LONG_LONG
|
(パッケージプライベート) static int |
ALIGN_OFFSET
|
(パッケージプライベート) static int |
ALIGN_PTR
|
(パッケージプライベート) static int |
ALIGN_REGION_MIN
|
(パッケージプライベート) static int |
ALIGN_SHORT
|
(パッケージプライベート) static int |
ALIGN_STRUCT_MIN
|
(パッケージプライベート) static int |
ALIGN_SUBP
|
(パッケージプライベート) static int |
ALIGN_VOID
|
(パッケージプライベート) static int |
ALIGN_WCHAR
|
static int |
COST_INDEX_CALL
index to access COST_OF_INSTRUCTION |
static int |
COST_INDEX_GLOBAL_LOAD
index to access COST_OF_INSTRUCTION |
static int |
COST_INDEX_TEMP_LOAD
index to access COST_OF_INSTRUCTION |
static int |
INT_TYPE_OF_ADDRESS_IS_INT
|
static int |
INT_TYPE_OF_ADDRESS_IS_LONG
|
static int |
INT_TYPE_OF_ADDRESS_IS_U_INT
|
static int |
INT_TYPE_OF_ADDRESS_IS_U_LONG
|
static int |
INT_TYPE_OF_ADDRESS_IS_U_LONG_LONG
|
static int |
INT_TYPE_OF_CHAR_IS_INT
|
static int |
INT_TYPE_OF_CHAR_IS_U_INT
|
IoRoot |
ioRoot
|
(パッケージプライベート) static int |
NUMBER_OF_BITS_IN_ADDRESSING_UNIT
|
(パッケージプライベート) static int |
NUMBER_OF_BITS_IN_PACKED_CHAR
|
(パッケージプライベート) static int |
NUMBER_OF_BITS_IN_PACKED_SHORT
|
(パッケージプライベート) static int |
SIZEOF_ADDRESS
|
(パッケージプライベート) static int |
SIZEOF_BOOL
|
(パッケージプライベート) static int |
SIZEOF_CHAR
|
(パッケージプライベート) static int |
SIZEOF_DOUBLE
|
(パッケージプライベート) static int |
SIZEOF_ENUM
|
(パッケージプライベート) static int |
SIZEOF_FLOAT
|
(パッケージプライベート) static int |
SIZEOF_INT
|
(パッケージプライベート) static int |
SIZEOF_LONG
|
(パッケージプライベート) static int |
SIZEOF_LONG_DOUBLE
|
(パッケージプライベート) static int |
SIZEOF_LONG_LONG
|
(パッケージプライベート) static int |
SIZEOF_OFFSET
|
(パッケージプライベート) static int |
SIZEOF_PTR
|
(パッケージプライベート) static int |
SIZEOF_SHORT
|
(パッケージプライベート) static int |
SIZEOF_VOID
|
(パッケージプライベート) static int |
SIZEOF_WCHAR
|
コンストラクタの概要 | |
MachineParam(IoRoot pIoRoot)
|
メソッドの概要 | |
java.lang.String |
blankRegionName()
balnkRegionName //##29 |
int |
costOfInstruction(int pIndex)
costOfInstruction Approximate cost of executing instructions in unit of register-register integer addition. |
int |
evaluateSize(int pTypeKind)
evaluateSize |
int |
getAlignment(int pTypeKind)
|
int |
getCharCode(char pChar)
getCharCode Get the character code of the given character. |
int |
getIntKindForAddress()
Select one of the constants INT_TYPE_OF_ADDRESS_IS_* (see abobe). |
int |
getIntKindForChar()
Select one of the constants INT_TYPE_OF_CHAR_IS_* (see abobe). |
int |
getLargestAlignment()
|
int |
getNumberOfFloatingRegisters()
|
int |
getNumberOfGeneralRegisters()
|
Type |
getStringElemType()
|
boolean |
initByDataCode()
|
boolean |
initGlobalExplicitly()
|
boolean |
isBigEndian()
isBigEndian //##16 |
boolean |
isLittleEndian()
isLittleEndian: //##16 |
boolean |
isPackedFromLeft()
isPackedFromLeft: //##16 |
boolean |
isPackedFromRight()
isPackedFromRight: //##16 |
int |
minimumNumberOfAddressingUnitsForBitFieldSequence()
Allocation unit for bit field sequence. |
int |
numberOfBitsInAddressingUnit()
|
int |
numberOfBitsInPackedChar()
|
int |
numberOfBitsInPackedShort()
|
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
public final IoRoot ioRoot
static final int NUMBER_OF_BITS_IN_ADDRESSING_UNIT
static final int NUMBER_OF_BITS_IN_PACKED_CHAR
static final int NUMBER_OF_BITS_IN_PACKED_SHORT
static final int SIZEOF_BOOL
static final int SIZEOF_SHORT
static final int SIZEOF_INT
static final int SIZEOF_LONG
static final int SIZEOF_LONG_LONG
static final int SIZEOF_CHAR
static final int SIZEOF_WCHAR
static final int SIZEOF_VOID
static final int SIZEOF_PTR
static final int SIZEOF_ENUM
static final int SIZEOF_ADDRESS
static final int SIZEOF_OFFSET
static final int SIZEOF_FLOAT
static final int SIZEOF_DOUBLE
static final int SIZEOF_LONG_DOUBLE
static final int ALIGN_BOOL
static final int ALIGN_SHORT
static final int ALIGN_INT
static final int ALIGN_LONG
static final int ALIGN_LONG_LONG
static final int ALIGN_CHAR
static final int ALIGN_WCHAR
static final int ALIGN_VOID
static final int ALIGN_PTR
static final int ALIGN_ENUM
static final int ALIGN_ADDRESS
static final int ALIGN_OFFSET
static final int ALIGN_FLOAT
static final int ALIGN_DOUBLE
static final int ALIGN_LONG_DOUBLE
static final int ALIGN_STRUCT_MIN
static final int ALIGN_REGION_MIN
static final int ALIGN_SUBP
public static final int INT_TYPE_OF_CHAR_IS_INT
public static final int INT_TYPE_OF_CHAR_IS_U_INT
public static final int INT_TYPE_OF_ADDRESS_IS_INT
public static final int INT_TYPE_OF_ADDRESS_IS_U_INT
public static final int INT_TYPE_OF_ADDRESS_IS_LONG
public static final int INT_TYPE_OF_ADDRESS_IS_U_LONG
public static final int INT_TYPE_OF_ADDRESS_IS_U_LONG_LONG
public static final int COST_INDEX_TEMP_LOAD
public static final int COST_INDEX_GLOBAL_LOAD
public static final int COST_INDEX_CALL
コンストラクタの詳細 |
public MachineParam(IoRoot pIoRoot)
メソッドの詳細 |
public int numberOfBitsInAddressingUnit()
public int numberOfBitsInPackedChar()
public int numberOfBitsInPackedShort()
public int getIntKindForAddress()
public int getIntKindForChar()
public int getAlignment(int pTypeKind)
public int minimumNumberOfAddressingUnitsForBitFieldSequence()
public boolean initGlobalExplicitly()
public boolean initByDataCode()
public int evaluateSize(int pTypeKind)
public int getCharCode(char pChar)
public Type getStringElemType()
public java.lang.String blankRegionName()
public int getLargestAlignment()
public boolean isBigEndian()
public boolean isLittleEndian()
public boolean isPackedFromRight()
public boolean isPackedFromLeft()
public int costOfInstruction(int pIndex)
pIndex
- is the index to select instruction in such way as
COST_INDEX_TEMP_LOAD, COST_INDEX_CALL, etc.
public int getNumberOfGeneralRegisters()
public int getNumberOfFloatingRegisters()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |