public final class PrimitiveInfo
extends java.lang.Object
Constructor and Description |
---|
PrimitiveInfo() |
PrimitiveInfo(PrimitiveInfo other) |
Modifier and Type | Method and Description |
---|---|
boolean |
canThrowException() |
ArgumentMode |
getArgUsage(java.lang.String name) |
java.lang.Object |
getAttribute(java.lang.Class<?> attributeClass) |
int |
getBlockSize() |
ru.ispras.fortress.expression.Node |
getConditionForBranch()
Returns the branch condition for the branch instruction.
|
boolean |
isBranch() |
boolean |
isConditionalBranch() |
boolean |
isLoad() |
boolean |
isMemoryReference() |
boolean |
isStore() |
void |
setArgUsage(java.lang.String name,
ArgumentMode usage) |
void |
setAttribute(java.lang.Object attribute) |
void |
setBlockSize(int value) |
void |
setBranch(boolean value) |
void |
setCanThrowException(boolean value) |
void |
setConditionalBranch(boolean value) |
void |
setConditionForBranch(ru.ispras.fortress.expression.Node value)
Sets the branch condition for the branch instruction.
|
void |
setLoad(boolean value) |
void |
setMemoryReference(boolean value) |
void |
setStore(boolean value) |
java.lang.String |
toString() |
public PrimitiveInfo()
public PrimitiveInfo(PrimitiveInfo other)
public boolean canThrowException()
public void setCanThrowException(boolean value)
public boolean isBranch()
public void setBranch(boolean value)
public boolean isConditionalBranch()
public void setConditionalBranch(boolean value)
public void setConditionForBranch(ru.ispras.fortress.expression.Node value)
value
- Node
where the branch condition and the operands are located.public ru.ispras.fortress.expression.Node getConditionForBranch()
Node
where the branch condition and the operands are located.public boolean isMemoryReference()
public void setMemoryReference(boolean value)
public boolean isLoad()
public void setLoad(boolean value)
public boolean isStore()
public void setStore(boolean value)
public int getBlockSize()
public void setBlockSize(int value)
public ArgumentMode getArgUsage(java.lang.String name)
public void setArgUsage(java.lang.String name, ArgumentMode usage)
public void setAttribute(java.lang.Object attribute)
public java.lang.Object getAttribute(java.lang.Class<?> attributeClass)
public java.lang.String toString()
toString
in class java.lang.Object