|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.Analysis.Tree.CacheEquivalence
public class CacheEquivalence
CacheEquivalence
creates tag-check equivalence classes
for MEM operations in a Tree.
Constructor Summary | |
---|---|
CacheEquivalence(Code code,
ClassHierarchy ch)
Creates a CacheEquivalence . |
Method Summary | |
---|---|
boolean |
needs_tag_check(MEM mem)
Returns 'true' if this operation requires a tag check. |
int |
num_using_this_tag(MEM mem)
Returns the number of memory operations which share the same tag as this memory operation. 1 indicates no sharing possible. |
Set |
ops_using_this_tag(MEM mem)
Returns all the MEM operations which use the tag defined by whose_tag_check(mem) |
MEM |
whose_tag_check(MEM mem)
Returns the MEM operation which should have stored the necessary tag information for this MEM operation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CacheEquivalence(Code code, ClassHierarchy ch)
CacheEquivalence
.
Method Detail |
---|
public int num_using_this_tag(MEM mem)
public boolean needs_tag_check(MEM mem)
public MEM whose_tag_check(MEM mem)
public Set ops_using_this_tag(MEM mem)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |