coins.backend.gen
クラス CodeGenerator_ppc.PowerPCAttr

java.lang.Object
  |
  +--coins.backend.gen.CodeGenerator.FunctionAttr
        |
        +--coins.backend.gen.CodeGenerator_ppc.PowerPCAttr
含まれているクラス:
CodeGenerator_ppc

static class CodeGenerator_ppc.PowerPCAttr
extends CodeGenerator.FunctionAttr


入れ子クラスの概要
static class CodeGenerator_ppc.PowerPCAttr.SearchFunctor
           
 
フィールドの概要
(パッケージプライベート)  Function func
          Parent object.
(パッケージプライベート)  boolean isVarArg
          True if this is variable argument function.
(パッケージプライベート)  Label mAddressLabel
           
(パッケージプライベート)  LirNode mArgAreaRef
           
(パッケージプライベート)  int mArgAreaSize
           
(パッケージプライベート)  int mFloatCount
           
(パッケージプライベート)  java.lang.String[] mFloatRegisters
           
(パッケージプライベート)  java.util.ArrayList mFrameNames
           
(パッケージプライベート)  LirNode mFramePointer
           
(パッケージプライベート)  int mGeneralCount
           
(パッケージプライベート)  java.lang.String[] mGeneralRegisters
           
(パッケージプライベート)  LirNode mGlobalTemp
           
(パッケージプライベート)  boolean mHasCaller
           
(パッケージプライベート)  int mLocalAreaBorder
           
(パッケージプライベート)  LirNode mReturnAggregate
           
(パッケージプライベート)  int mSaveAreaSize
           
(パッケージプライベート)  boolean mUsedCR
           
(パッケージプライベート)  boolean mUsedVector
           
(パッケージプライベート)  int mVarArgHeader
           
(パッケージプライベート)  int mVecConv
           
(パッケージプライベート)  int mVectorCount
           
(パッケージプライベート)  java.lang.String[] mVectorRegisters
           
(パッケージプライベート)  int requiredStack
          Stack space required for call
(パッケージプライベート)  LirNode retPtr
          Pointer to value returned (if the function returns struct)
(パッケージプライベート) static Module sCurrentModule
           
(パッケージプライベート)  int stackParamOffset
          Offset of the first non-register parameter (i.e. on stack)
 
コンストラクタの概要
(パッケージプライベート) CodeGenerator_ppc.PowerPCAttr(Function iFunc)
           
 
メソッドの概要
(パッケージプライベート) static boolean CheckSymbolType(java.lang.String iSymbol, int iType)
           
(パッケージプライベート)  int ComputeRedZoneSize()
           
(パッケージプライベート)  int ComputeStackSize()
           
 int FindPlaceOfFrame(java.lang.String iName, int iSize, int iBoundary)
           
(パッケージプライベート) static java.util.ArrayList FindSymbol(int iType)
           
(パッケージプライベート)  LirNode GetArgumentSP()
           
 boolean RecSearchProcedure(LirNode iNode, CodeGenerator_ppc.PowerPCAttr.SearchFunctor iFunc)
           
 boolean SearchProcedure(CodeGenerator_ppc.PowerPCAttr.SearchFunctor iFunc)
           
 void TraceUsedRegisters()
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

sCurrentModule

static Module sCurrentModule

mArgAreaSize

int mArgAreaSize

mSaveAreaSize

int mSaveAreaSize

mLocalAreaBorder

int mLocalAreaBorder

mArgAreaRef

LirNode mArgAreaRef

mReturnAggregate

LirNode mReturnAggregate

mVarArgHeader

int mVarArgHeader

mVecConv

int mVecConv

mGlobalTemp

LirNode mGlobalTemp

mFramePointer

LirNode mFramePointer

mAddressLabel

Label mAddressLabel

mGeneralRegisters

java.lang.String[] mGeneralRegisters

mFloatRegisters

java.lang.String[] mFloatRegisters

mVectorRegisters

java.lang.String[] mVectorRegisters

mFrameNames

java.util.ArrayList mFrameNames

mGeneralCount

int mGeneralCount

mFloatCount

int mFloatCount

mVectorCount

int mVectorCount

mUsedCR

boolean mUsedCR

mHasCaller

boolean mHasCaller

mUsedVector

boolean mUsedVector

func

Function func
Parent object.


requiredStack

int requiredStack
Stack space required for call


isVarArg

boolean isVarArg
True if this is variable argument function.


retPtr

LirNode retPtr
Pointer to value returned (if the function returns struct)


stackParamOffset

int stackParamOffset
Offset of the first non-register parameter (i.e. on stack)

コンストラクタの詳細

CodeGenerator_ppc.PowerPCAttr

CodeGenerator_ppc.PowerPCAttr(Function iFunc)
メソッドの詳細

FindSymbol

static java.util.ArrayList FindSymbol(int iType)

CheckSymbolType

static boolean CheckSymbolType(java.lang.String iSymbol,
                               int iType)

ComputeStackSize

int ComputeStackSize()

ComputeRedZoneSize

int ComputeRedZoneSize()

SearchProcedure

public boolean SearchProcedure(CodeGenerator_ppc.PowerPCAttr.SearchFunctor iFunc)

RecSearchProcedure

public boolean RecSearchProcedure(LirNode iNode,
                                  CodeGenerator_ppc.PowerPCAttr.SearchFunctor iFunc)

TraceUsedRegisters

public void TraceUsedRegisters()

GetArgumentSP

LirNode GetArgumentSP()

FindPlaceOfFrame

public int FindPlaceOfFrame(java.lang.String iName,
                            int iSize,
                            int iBoundary)