|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
Label interface LabelImpl class implements this interface.
フィールドの概要 | |
static int |
CONTINUE_LABEL
Label kind numbers |
static int |
ELSE_LABEL
Label kind numbers |
static int |
END_IF_LABEL
Label kind numbers |
static int |
ENTRY_LABEL
Label kind numbers |
static int |
JUMP_LABEL
Label kind numbers |
static int |
LOOP_BACK_LABEL
Label kind numbers |
static int |
LOOP_BODY_LABEL
Label kind numbers |
static int |
LOOP_COND_INIT_LABEL
Label kind numbers |
static int |
LOOP_END_LABEL
Label kind numbers |
static int |
LOOP_STEP_LABEL
Label kind numbers |
static int |
RETURN_POINT_LABEL
Label kind numbers |
static int |
SOURCE_LABEL
Label kind numbers |
static int |
SWITCH_CASE_LABEL
Label kind numbers |
static int |
SWITCH_DEFAULT_LABEL
Label kind numbers |
static int |
SWITCH_END_LABEL
Label kind numbers |
static int |
THEN_LABEL
Label kind numbers |
static int |
UNCLASSIFIED_LABEL
Label kind numbers |
インタフェース coins.sym.Sym から継承したフィールド |
KIND_NAME, VISIBILITY |
メソッドの概要 | |
boolean |
endPointLabel()
endPointLabel true if END_IF, LOOP_END, SWITCH_END. |
BBlock |
getBBlock()
getBBlock Get basic block corresponding to this label. |
LabeledStmt |
getHirPosition()
getHirPosition Get the HIR statement defining this label. |
int |
getHirRefCount()
getHirRefCount Get the reference count of this label in HIR. |
IrList |
getHirRefList()
getHirRefList Get the list of LabelNodes refering this label. |
int |
getLabelKind()
getLabelKind Get label kind such as hten-label, else-label, etc. |
HIR |
getOriginHir()
getOriginHir Get the node that originate this label such as if-node for then-label, while-node for loop-back label, etc. |
void |
replaceHirLabel(Label pToLabel)
replaceHirLabels Replace every LabelNode listed in getHirRefList() refering this label to a LabelNode of pToLabel. |
void |
setBBlock(BBlock pBBlock)
setBBlock Set pBBlock as the basic block corresponding to this label. |
void |
setHirPosition(LabeledStmt pHirPosition)
setHirPosition Set the HIR statement defining this label. |
void |
setLabelKind(int pLabelKind)
setLabelKind Set label kind. |
void |
setOriginHir(HIR pOriginHir)
setOriginHir Set origin node. |
インタフェース coins.sym.Sym0 から継承したメソッド |
charConst, definedType, defineElem, defineLabel, defineParam, defineSubp, defineVar, enumType, floatConst, getDefinedFile, getDefinedIn, getFlag, getName, getNextSym, getRecordedIn, getSymKind, getSymType, getUniqueName, intConst, isGlobal, namedConst, pointerType, setFlag, stringConst, structType, subpType, unionType, vectorType, vectorTypeUnfixed |
フィールドの詳細 |
public static final int UNCLASSIFIED_LABEL
public static final int ENTRY_LABEL
public static final int THEN_LABEL
public static final int ELSE_LABEL
public static final int LOOP_COND_INIT_LABEL
public static final int LOOP_BACK_LABEL
public static final int LOOP_BODY_LABEL
public static final int LOOP_STEP_LABEL
public static final int SWITCH_CASE_LABEL
public static final int SWITCH_DEFAULT_LABEL
public static final int RETURN_POINT_LABEL
public static final int JUMP_LABEL
public static final int CONTINUE_LABEL
public static final int SOURCE_LABEL
public static final int END_IF_LABEL
public static final int LOOP_END_LABEL
public static final int SWITCH_END_LABEL
メソッドの詳細 |
public LabeledStmt getHirPosition()
public void setHirPosition(LabeledStmt pHirPosition)
pHirPosition
- HIR statement to which this is
defined as its label (it is a LabeledStmt).public IrList getHirRefList()
public int getHirRefCount()
public BBlock getBBlock()
public void setBBlock(BBlock pBBlock)
pBBlock
- basic block to be set.public int getLabelKind()
public void setLabelKind(int pLabelKind)
public boolean endPointLabel()
public HIR getOriginHir()
Get the node that originate this label such as if-node for then-label, while-node for loop-back label, etc. Correspondence between fLabelKind and fOriginHir .. fLabelKind fOriginHir ENTRY_LABEL : entry node THEN_LABEL : IfStmt node ELSE_LABEL : IfStmt node END_IF_LABEL : IfStmt node LOOP_COND_INIT_LABEL : LoopStmt node LOOP_BACK_LABEL : LoopStmt node LOOP_BODY_LABEL : LoopStmt node LOOP_STEP_LABEL : LoopStmt node LOOP_END_LABEL : LoopStmt node SWITCH_CASE_LABEL : SwitchStmt node SWITCH_DEFAULT_LABEL : SwitchStmt node SWITCH_END_LABEL : SwitchStmt node RETURN_POINT_LABEL : FunctionExp node JUMP_LABEL : JumpStmt node CONTINUE_LABEL : Predecessor node SOURCE_LABEL : JumpStmt node if there is.
public void setOriginHir(HIR pOriginHir)
pOriginHir
- Origin node of this label.public void replaceHirLabel(Label pToLabel)
pToLabel
- Label by which this label is to be replaced.
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |