public class XobjLong extends XobjConst
OPT_ATOMIC_STMT, OPT_DELAYED_DECL, OPT_F_MODULE_VAR, OPT_GCC_EXTENSION, OPT_GCC_SYNTAX, OPT_GCC_THREAD, OPT_GLOBAL, OPT_INDUCTION_VAR, OPT_PARSED, OPT_REWRITTED_XMP, OPT_SYNTAX_MODIFIED, OPT_TO_BE_FCOMMON, OPT_USED_IN_ARRAY_SIZE, parent
id
FINDKIND_ANY, FINDKIND_COMMON, FINDKIND_TAGNAME, FINDKIND_TYPEDEF_NAME, FINDKIND_VAR
Constructor and Description |
---|
XobjLong(long high,
long low) |
XobjLong(Xcode code,
Xtype type,
java.math.BigInteger bi,
java.lang.String fkind) |
XobjLong(Xcode code,
Xtype type,
long high,
long low) |
XobjLong(Xcode code,
Xtype type,
long high,
long low,
java.lang.String fkind) |
Modifier and Type | Method and Description |
---|---|
Xobject |
copy()
Dummy method at base class, it causes exception.
|
boolean |
equals(Xobject x) |
java.math.BigInteger |
getBigInteger() |
long |
getLongHigh()
Returns high part of long value if XobjLong.
|
long |
getLongLow()
Returns low part of long value if XobjLong.
|
boolean |
isOneConstant()
return true if this object is one integer constant.
|
boolean |
isZeroConstant()
return true if this object is zero integer constant.
|
java.lang.String |
toString() |
add, bottomupIterator, canGetInt, cfold, copyTo, enter, equals, extent, extent, extents, extents, find, findCommonIdent, findVarIdent, getArg, getArgOrNull, getArgs, getFloat, getFloatString, getIdentList, getInt, getLineNo, getLong, getMember, getName, getOptionalFlag, getOptionalFlags, getParent, getScope, getString, getSubscripts, getSym, getTail, hasNullArg, insert, isArray, isArrayAddr, isAsgOp, isAtomicStmt, isBinaryOp, isCglobalVarOrFvar, isConstant, isDelayedDecl, isEmpty, isEmptyList, isExternalCode, isFmoduleVar, isGccExtension, isGccSyntax, isGccThread, isIndexRange, isInductionVar, isIntConstant, isLocalOrParamVar, isLocalOrParamVarAddr, isLogicalOp, isParsed, isPragma, isRewrittedByXmp, isScopeGlobal, isScopeLocal, isScopeParam, isSet, isSyntaxModified, isTempVar, isTerminal, isToBeFcommon, isUnaryOp, isVarAddr, isVariable, isVarRef, lbound, lbound, lbounds, lbounds, left, Nargs, newCode, Opcode, OpcodeName, operand, removeArgs, removeFirstArgs, removeLastArgs, right, setArg, setArgs, setIsAtomicStmt, setIsDelayedDecl, setIsFmoduleVar, setIsGccExtension, setIsGccSyntax, setIsGccThread, setIsGlobal, setIsInductionVar, setIsParsed, setIsRewrittedByXmp, setIsSyntaxModified, setIsToBeFcommon, setLeft, setLineNo, setName, setOperand, setOptionalFlag, setOptionalFlags, setParentRecursively, setRight, setScope, setType, topdownIterator, Type, ubound, ubound, ubounds, ubounds
getProp, getProperties, Id, remProp, remProperties, setId, setProp, setProperties
public long getLongHigh()
Xobject
getLongHigh
in class Xobject
public long getLongLow()
Xobject
getLongLow
in class Xobject
public java.math.BigInteger getBigInteger()
public Xobject copy()
Xobject
public boolean isZeroConstant()
Xobject
isZeroConstant
in class Xobject
public boolean isOneConstant()
Xobject
isOneConstant
in class Xobject