coins.simd
クラス LirBoneList

java.lang.Object
  |
  +--coins.simd.LirMatch
        |
        +--coins.simd.LirBoneList
直系の既知のサブクラス:
LirBoneList_x86

public abstract class LirBoneList
extends LirMatch

BoneList class.


フィールドの概要
 ImList[] auxtemplateList
           
 ImList[] rewriteList
          Rewrite patterns.
 ImList[] templateList
          Matching patterns and attributes (called "bone info.").
 
クラス coins.simd.LirMatch から継承したフィールド
newLir
 
コンストラクタの概要
LirBoneList()
           
 
メソッドの概要
 LirNode boneBody(ImList b)
          Get a pattern from a template.
 java.lang.String boneChng(ImList b)
          Get the changeability attribute from a template.
 java.lang.String boneHolenum(ImList b)
          Get the hole number attribute from a template.
 ImList boneInfo(ImList b)
          Get attributes from a template.
 ImList boneNosubsthnum(ImList b)
          Get non substituted hole numbers attribute from a template.
 ImList boneParacnts(ImList b)
          Get the parallel count attribute from a template.
 java.lang.String boneReplnum(ImList b)
          Get the replace number attribute from a template.
 java.lang.String boneSharedhnum(ImList b)
          Get the shared hole number attribute from a template.
 ImList boneSubgroups(ImList b)
          Get the subgroups attribute from a template.
abstract  boolean chkAuxCond(int i, LirNode inst)
           
 boolean chkBoneCnstr(ImList bone, LirNode inst, LirNode[] env, RegGroups rgs)
          Test consistency between a LirNode and an environment.
 java.lang.String chng(ImList binfo)
          Get the changeability attribute from a template.
 ImList find(LirNode inst)
          Find a matched template(a pattern and attributes).
 ImList find(LirNode inst, LirNode[] env)
          Find a matched template(a pattern and attributes).
 java.lang.String holenum(ImList binfo)
          Get the hole number attribute from a template.
 void init(Function f)
           
abstract  ImList[] initAuxBoneList()
           
abstract  ImList[] initBoneList()
          Initializes boneList.
abstract  ImList[] initRewriteList()
          Initializes rewriteList.
 ImList mkBone(java.lang.String infostr, java.lang.String bodystr)
          Makes bones and registers them into boneList.
 ImList mkRw(java.lang.String s)
          Makes LirNodes for rewrite and registers them into rewriteList.
 ImList nosubsthnum(ImList binfo)
          Get non substituted hole numbers attribute from a template.
 ImList paracnts(ImList binfo)
          Get the parallel count attribute from a template.
 java.lang.String replnum(ImList binfo)
          Get the replace number attribute from a template.
 java.lang.String sharedhnum(ImList binfo)
          Get the shared hole number attribute from a template.
 ImList subgroups(ImList binfo)
          Get the subgroups attribute from a template.
 
クラス coins.simd.LirMatch から継承したメソッド
match, matchReg, replace
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

templateList

public ImList[] templateList
Matching patterns and attributes (called "bone info.").


auxtemplateList

public ImList[] auxtemplateList

rewriteList

public ImList[] rewriteList
Rewrite patterns.

コンストラクタの詳細

LirBoneList

public LirBoneList()
メソッドの詳細

initBoneList

public abstract ImList[] initBoneList()
Initializes boneList.


initRewriteList

public abstract ImList[] initRewriteList()
Initializes rewriteList.


initAuxBoneList

public abstract ImList[] initAuxBoneList()

init

public void init(Function f)

find

public ImList find(LirNode inst,
                   LirNode[] env)
Find a matched template(a pattern and attributes).

パラメータ:
inst - LIR
env -
戻り値:
ImList, which represents a matched template.

chkAuxCond

public abstract boolean chkAuxCond(int i,
                                   LirNode inst)

find

public ImList find(LirNode inst)
Find a matched template(a pattern and attributes).

パラメータ:
inst - LIR
戻り値:
ImList, which represents a matched template.

mkBone

public ImList mkBone(java.lang.String infostr,
                     java.lang.String bodystr)
Makes bones and registers them into boneList.

パラメータ:
infostr - String which represents a bone info.
bodystr - String which represents a bone body.
戻り値:
ImList which represents a bone.

mkRw

public ImList mkRw(java.lang.String s)
Makes LirNodes for rewrite and registers them into rewriteList.

パラメータ:
s - String which represents rewrited LirNodes.
戻り値:
ImList which represents rewrited LirNodes.

chkBoneCnstr

public boolean chkBoneCnstr(ImList bone,
                            LirNode inst,
                            LirNode[] env,
                            RegGroups rgs)
Test consistency between a LirNode and an environment.

パラメータ:
bone - A template(i.e. a pattern and attributes)
inst - LirNode
env - An environment
戻り値:
true if consistent.

boneInfo

public ImList boneInfo(ImList b)
Get attributes from a template.

パラメータ:
b - A template
戻り値:
Attributes

boneBody

public LirNode boneBody(ImList b)
Get a pattern from a template.

パラメータ:
b - A template
戻り値:
A pattern

boneParacnts

public ImList boneParacnts(ImList b)
Get the parallel count attribute from a template.

パラメータ:
b - A template
戻り値:
String, which represents the parallel count.

paracnts

public ImList paracnts(ImList binfo)
Get the parallel count attribute from a template.

パラメータ:
binfo - Attributes
戻り値:
String, which represents the parallel count.

boneHolenum

public java.lang.String boneHolenum(ImList b)
Get the hole number attribute from a template.

パラメータ:
b - A template
戻り値:
String, which represents the hole number used as the output.

holenum

public java.lang.String holenum(ImList binfo)
Get the hole number attribute from a template.

パラメータ:
binfo - Attributes
戻り値:
String, which represents the hole number used as the output.

boneChng

public java.lang.String boneChng(ImList b)
Get the changeability attribute from a template.

パラメータ:
b - A template
戻り値:
String, which represents "changeable or not".

chng

public java.lang.String chng(ImList binfo)
Get the changeability attribute from a template.

パラメータ:
binfo - Attributes
戻り値:
String, which represents "changeable or not".

boneReplnum

public java.lang.String boneReplnum(ImList b)
Get the replace number attribute from a template.

パラメータ:
b - A template
戻り値:
String, which represents a number of a patten in the rewriteList.

replnum

public java.lang.String replnum(ImList binfo)
Get the replace number attribute from a template.

パラメータ:
binfo - Attributes
戻り値:
String, which represents a number of a patten in the rewriteList.

boneSharedhnum

public java.lang.String boneSharedhnum(ImList b)
Get the shared hole number attribute from a template. Registers, which match with the HOLE having this hole number, must be same.

パラメータ:
b - A template
戻り値:
String, which represents a shared hole number.

sharedhnum

public java.lang.String sharedhnum(ImList binfo)
Get the shared hole number attribute from a template. Registers, which match with the HOLE having this hole number, must be same.

パラメータ:
binfo - Attributes
戻り値:
String, which represents a shared hole number.

boneNosubsthnum

public ImList boneNosubsthnum(ImList b)
Get non substituted hole numbers attribute from a template. A Hole, which have a non substituted hole number, is not substituted to a subregister.

パラメータ:
b - A template
戻り値:
ImList, whose elements are non substituted hole numbers.

nosubsthnum

public ImList nosubsthnum(ImList binfo)
Get non substituted hole numbers attribute from a template. A Hole, which have a non substituted hole number, is not substituted to a subregister.

パラメータ:
binfo - Attributes
戻り値:
ImList, whose elements are non substituted hole numbers.

boneSubgroups

public ImList boneSubgroups(ImList b)
Get the subgroups attribute from a template. A subgroup is a set of hole numbers,which corresponds to a subregister.

パラメータ:
b - A template
戻り値:
ImList represents a set of subgroups.

subgroups

public ImList subgroups(ImList binfo)
Get the subgroups attribute from a template. A subgroup is a set of hole numbers,which corresponds to a subregister.

パラメータ:
binfo - Attributes
戻り値:
ImList represents a set of subgroups.