|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.backend.lir.LirNode
coins.backend.lir.LirIconst
Represent integer constant
| Nested Class Summary |
| Nested classes inherited from class coins.backend.lir.LirNode |
LirNode.Scanner |
| Field Summary | |
long |
value
Value of this node |
| Fields inherited from class coins.backend.lir.LirNode |
id, opCode, opt, type |
| Constructor Summary | |
LirIconst(int id,
int t,
long v,
ImList opt)
|
|
| Method Summary | |
void |
accept(LirVisitor v)
Accept visitor v |
boolean |
equals(java.lang.Object x)
Return true if this object equals to x |
int |
hashCode()
Return hash value of LirNode. |
LirNode |
makeCopy(LirFactory fac)
Return a deep copy of this node |
LirNode |
replaceOptions(LirFactory fac,
ImList newOpt)
Return a copy of this node without options. |
long |
signedValue()
Return signed value of this node. |
java.lang.Object |
toSexp()
Convert to external LIR format. |
java.lang.String |
toString()
Visualize |
java.lang.String |
toStringExp()
Convert integer or address constant to string. |
long |
unsignedValue()
Return unsigned value of this node. |
| Methods inherited from class coins.backend.lir.LirNode |
getTargets, isBranch, isPhysicalRegister, isRegisterOperand, kid, makeShallowCopy, nKids, nSrcs, pickUpDefs, pickUpUses, replaceLabel, setKid, setSrc, src |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public final long value
| Constructor Detail |
public LirIconst(int id,
int t,
long v,
ImList opt)
| Method Detail |
public LirNode makeCopy(LirFactory fac)
LirNode
makeCopy in class LirNode
public LirNode replaceOptions(LirFactory fac,
ImList newOpt)
LirNode
replaceOptions in class LirNodepublic long signedValue()
public long unsignedValue()
public int hashCode()
LirNode
hashCode in class LirNodepublic java.lang.Object toSexp()
toSexp in class LirNodepublic java.lang.String toString()
LirNode
toString in class LirNodepublic boolean equals(java.lang.Object x)
LirNode
equals in class LirNodepublic void accept(LirVisitor v)
LirNode
accept in class LirNodepublic java.lang.String toStringExp()
LirNode
toStringExp in class LirNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||