coins.simd
クラス SimdDriver

java.lang.Object
  |
  +--coins.simd.SimdDriver
すべての実装インタフェース:
LocalTransformer, Transformer

public class SimdDriver
extends java.lang.Object
implements LocalTransformer

Class for SIMD optimization part driver


フィールドの概要
 IoRoot ioRoot
           
static int THR
           
 
コンストラクタの概要
SimdDriver(Module m, IoRoot io, CompileSpecification coinsSpec)
          Constructs a SimdDriver object
 
メソッドの概要
 boolean callSimdOpt(Function f, ImList args)
           
 boolean doIt(Data data, ImList args)
          Transform the DATA component.
 boolean doIt(Function f, ImList args)
          SIMD Optimize
(パッケージプライベート)  LirNode makeAlignmentTestCode(Function func, BiList aligns)
           
(パッケージプライベート)  LirNode makeBranch(Function func, LirNode cond, LirNode to1, LirNode to2)
           
 java.lang.String name()
          Return the name of the transforming engine.
 java.lang.String subject()
          Return brief description of the tranformation.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

ioRoot

public final IoRoot ioRoot

THR

public static final int THR
関連項目:
定数フィールド値
コンストラクタの詳細

SimdDriver

public SimdDriver(Module m,
                  IoRoot io,
                  CompileSpecification coinsSpec)
Constructs a SimdDriver object

パラメータ:
m - Module
io - IoRoot
coinsSpec - CompilerSpecification
メソッドの詳細

doIt

public boolean doIt(Data data,
                    ImList args)
インタフェース LocalTransformer の記述:
Transform the DATA component.

定義:
インタフェース LocalTransformer 内の doIt
パラメータ:
data - DATA to be transformed.
args - list of optional arguments.
戻り値:
true if transformation suceeded.

name

public java.lang.String name()
インタフェース Transformer の記述:
Return the name of the transforming engine. Used for trace tag name.

定義:
インタフェース Transformer 内の name
戻り値:
the name of the transforming engine.

subject

public java.lang.String subject()
インタフェース Transformer の記述:
Return brief description of the tranformation.

定義:
インタフェース Transformer 内の subject
戻り値:
brief description of the tranformation.

doIt

public boolean doIt(Function f,
                    ImList args)
SIMD Optimize

定義:
インタフェース LocalTransformer 内の doIt
パラメータ:
f - Function
args - ImList
戻り値:
true if transformation suceeded.

callSimdOpt

public boolean callSimdOpt(Function f,
                           ImList args)

makeAlignmentTestCode

LirNode makeAlignmentTestCode(Function func,
                              BiList aligns)

makeBranch

LirNode makeBranch(Function func,
                   LirNode cond,
                   LirNode to1,
                   LirNode to2)