coins.backend
クラス TargetMachine

java.lang.Object
  |
  +--coins.backend.TargetMachine

public class TargetMachine
extends java.lang.Object

Target Description Module


フィールドの概要
 GlobalTransformer convToAsmTrig
          Convert to Assembly Language
 GlobalTransformer earlyRewritingTrig
          Early time pre-rewriting of LIR.
 LocalTransformer instSelTrig
           
 GlobalTransformer lateRewritingTrig
          Late time pre-rewriting of LIR.
 MachineParams machineParams
          Machine parameters
(パッケージプライベート)  LocalTransformer restructTrig
          Late time pre-rewriting of LIR, function by function.
 int typeAddress
          Address type for this machine.
 int typeBool
          Boolean type for this machine.
 
コンストラクタの概要
TargetMachine(SymTab symTab, java.lang.String targetName, java.lang.String convention, Module module)
          Initialize Target Description information
 
メソッドの概要
 int alignForType(int type)
          Return the alignment bytes for specified type.
 void emitNamedConst(java.lang.String name, LirNode value)
          Emit named constant to assembler source.
 CodeGenerator getTargetCG()
           
 void instSel2(Function func)
          Convert function func to machine dependent form.
 void restruct2(Function func)
          Rewrite function before code generation.
 void setAsmStream(java.io.OutputStream stream)
          Set assembler output stream.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

machineParams

public final MachineParams machineParams
Machine parameters


typeAddress

public final int typeAddress
Address type for this machine.


typeBool

public final int typeBool
Boolean type for this machine.


earlyRewritingTrig

public final GlobalTransformer earlyRewritingTrig
Early time pre-rewriting of LIR.


lateRewritingTrig

public final GlobalTransformer lateRewritingTrig
Late time pre-rewriting of LIR.


restructTrig

final LocalTransformer restructTrig
Late time pre-rewriting of LIR, function by function.


instSelTrig

public final LocalTransformer instSelTrig

convToAsmTrig

public final GlobalTransformer convToAsmTrig
Convert to Assembly Language

コンストラクタの詳細

TargetMachine

public TargetMachine(SymTab symTab,
                     java.lang.String targetName,
                     java.lang.String convention,
                     Module module)
Initialize Target Description information

メソッドの詳細

setAsmStream

public void setAsmStream(java.io.OutputStream stream)
Set assembler output stream.


alignForType

public int alignForType(int type)
Return the alignment bytes for specified type.


restruct2

public void restruct2(Function func)
Rewrite function before code generation.


getTargetCG

public CodeGenerator getTargetCG()

instSel2

public void instSel2(Function func)
Convert function func to machine dependent form.


emitNamedConst

public void emitNamedConst(java.lang.String name,
                           LirNode value)
Emit named constant to assembler source.