scale.score.analyses
Class SubVirtualVar
java.lang.Object
scale.common.Root
scale.clef.Node
scale.clef.decl.Declaration
scale.clef.decl.ValueDecl
scale.clef.decl.VariableDecl
scale.score.analyses.VirtualVar
scale.score.analyses.SubVirtualVar
- All Implemented Interfaces:
- java.lang.Comparable, AnnotationInterface, DisplayNode
public class SubVirtualVar
- extends VirtualVar
A class that represents a subset virtual variable.
$Id: SubVirtualVar.java,v 1.12 2005-03-24 13:57:16 burrill Exp $
Copyright 2005 by the Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.
Method Summary |
Declaration |
copy(java.lang.String name)
Make a copy of this declaration using a new name. |
VirtualVar |
getSuperset()
Return the superset virtual variable. |
boolean |
isSuper()
Return true if this is a superset variable. |
Methods inherited from class scale.clef.decl.VariableDecl |
addressTaken, computeAttributes, declareFtnResultVar, getAddressRegister, getConstantValue, getDisplacement, getInitialValue, getOriginal, getStorageLoc, getValueRegister, hasHiddenAliases, hasHiddenPtrAliases, hasInvalidArrayReferences, inMemory, isCommonBaseVar, isCommonBaseVariable, isConst, isFtnResultVar, isNotAliasCandidate, isNotSSACandidate, isReferenced, isRestricted, isStatic, isStorageLocSet, isTemporary, isVariableDecl, isVolatile, optimizationCandidate, residency, returnVariableDecl, setAddressRegister, setAddressTaken, setDisplacement, setHiddenAliases, setHiddenPtrAliases, setInitialValue, setInvalidArrayReferences, setReferenced, setResidency, setStorageLoc, setTemporary, setType, setValue, setValueRegister, setVisibility, shouldBeInRegister, specifyCommonBaseVariable, toStringSpecial, valueRegMode, visit |
Methods inherited from class scale.clef.decl.Declaration |
accessibility, compareTo, getActualType, getAlias, getCoreType, getDecl, getDisplayColorHint, getDisplayShapeHint, getMode, getName, getPointedToCore, getTag, getType, hashCode, isCaseLabelDecl, isEnumElementDecl, isEquivalenceDecl, isExceptionDecl, isFieldDecl, isFileDecl, isFormalDecl, isForwardProcedureDecl, isGlobal, isLabelDecl, isProcedureDecl, isPure, isRenamed, isRenamedVariableDecl, isRoutineDecl, isStmtFtnDecl, isTypeDecl, isTypeName, isUnknownFormals, isWeak, returnCaseLabelDecl, returnEnumElementDecl, returnEquivalenceDecl, returnExceptionDecl, returnFieldDecl, returnFileDecl, returnFormalDecl, returnForwardProcedureDecl, returnLabelDecl, returnProcedureDecl, returnRenamedVariableDecl, returnRoutineDecl, returnStmtFtnDecl, returnTypeDecl, returnTypeName, returnUnknownFormals, setAccessibility, setAlias, setName, setTag, setWeak, visibility |
Methods inherited from class scale.common.Root |
addAnnotation, allAnnotations, allMatchingAnnotations, getAnnotation, getDisplayName, getDisplayString, getNodeCount, getNodeID, hasAnnotation, hasEqualAnnotation, removeAnnotation, removeAnnotations, toStringAnnotations, toStringClass, trace, trace, trace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
SubVirtualVar
public SubVirtualVar(java.lang.String n,
ECR v,
SuperVirtualVar supvv)
- Create a new virtual variable with a given name and associated ECR.
and pointer to the superset virtual variable
getSuperset
public VirtualVar getSuperset()
- Return the superset virtual variable.
- Overrides:
getSuperset
in class VirtualVar
isSuper
public boolean isSuper()
- Return true if this is a superset variable.
- Overrides:
isSuper
in class VirtualVar
copy
public Declaration copy(java.lang.String name)
- Make a copy of this declaration using a new name.
- Overrides:
copy
in class VirtualVar