public class FdoBlock extends Block implements ForBlock
BlockCounter
id
Constructor and Description |
---|
FdoBlock(FdoBlock doBlock) |
FdoBlock(LineNo head,
Xobject ind_var,
Xobject idx_range,
BlockList body,
java.lang.String construct_name) |
Modifier and Type | Method and Description |
---|---|
void |
Canonicalize()
canonicalize loop expressions
|
Block |
copy()
copy this block
|
BlockList |
getBody()
get the body
|
Xcode |
getCheckOpcode()
get opcode of condition expression
|
Xobject |
getInductionVar()
get induction variable
|
BasicBlock |
getInitBBlock()
get loop initialization expression block.
|
BasicBlock |
getIterBBlock()
get loop iteration expression block.
|
Xobject |
getLowerBound()
get lower bound
|
Xobject |
getStep()
get step
|
Xobject |
getUpperBound()
get upper bound
|
boolean |
isCanonical()
whether or not canonicalized
|
void |
setBody(BlockList s)
set the body
|
void |
setInductionVar(Xobject ind_var) |
void |
setLowerBound(Xobject x)
set lower bound
|
void |
setStep(Xobject x)
set step
|
void |
setUpperBound(Xobject x)
set upper bound
|
java.lang.String |
toString()
convert to the printable string
|
Xobject |
toXobject()
convert to Xobject
|
void |
visitBasicBlock(BasicBlockVisitor v)
apply BasicBlockVisitor v
|
add, add, add, findCommonIdent, findParentBlockStmt, findVarIdent, findVarIdent, findVarIdentBlock, findVarIdentBlock, findXMPobject, getBasicBlock, getCondBBlock, getConstructNameObj, getElseBody, getInfoExpr, getLabel, getLineNo, getNext, getParent, getParentBlock, getPrev, getThenBody, getXMPobject, getXMPsymbolTable, insert, insert, insert, numberOfBasicBlock, numberOfBlock, Opcode, remove, removeVarIdent, replace, setElseBody, setInitBBlock, setIterBBlock, setLabel, setLineNo, setParent, setThenBody, visitBody
getProp, getProperties, Id, remProp, remProperties, setId, setProp, setProperties
public FdoBlock(LineNo head, Xobject ind_var, Xobject idx_range, BlockList body, java.lang.String construct_name)
public FdoBlock(FdoBlock doBlock)
public void Canonicalize()
ForBlock
Canonicalize
in interface ForBlock
public Xcode getCheckOpcode()
ForBlock
getCheckOpcode
in interface ForBlock
public Xobject getInductionVar()
ForBlock
getInductionVar
in interface ForBlock
public Xobject getLowerBound()
ForBlock
getLowerBound
in interface ForBlock
public Xobject getUpperBound()
ForBlock
getUpperBound
in interface ForBlock
public boolean isCanonical()
ForBlock
isCanonical
in interface ForBlock
public void setLowerBound(Xobject x)
ForBlock
setLowerBound
in interface ForBlock
public void setUpperBound(Xobject x)
ForBlock
setUpperBound
in interface ForBlock
public BasicBlock getInitBBlock()
Block
getInitBBlock
in interface ForBlock
getInitBBlock
in class Block
public BasicBlock getIterBBlock()
Block
getIterBBlock
in class Block
public void visitBasicBlock(BasicBlockVisitor v)
Block
visitBasicBlock
in class Block
public void setInductionVar(Xobject ind_var)