aa
|
Classes | |
class | ACnts |
Public Member Functions | |
void | args_put (Comparable key, TV2 tv) |
boolean | eq (Node[] args) |
final boolean | eq (TV2 that) |
TV2 | find () |
final int | find_dups (VBitSet bs, NonBlockingHashMapLong< String > dups, int scnt) |
Type | find_tvar (Type t, TV2 tv) |
void | free () |
boolean | fresh_unify (TV2 that, TV2[] vs, boolean test) |
TV2 | get (Comparable key) |
TV2 | get_unified () |
boolean | is_base () |
boolean | is_dead () |
boolean | is_err () |
boolean | is_free () |
boolean | is_leaf () |
boolean | is_nil () |
boolean | is_tvar () |
boolean | is_unified () |
boolean | isa (String s) |
String | name () |
TV2 | push_dep (CallEpiNode dep) |
TV2 | repl_rename (TV2[]vs, HashMap< Node, Node > map) |
void | reset (Node n) |
void | reset_at (Object o) |
final String | str (int d) |
final SB | str (SB sb, VBitSet bs, NonBlockingHashMapLong< String > dups, boolean debug, int d, int max) |
final String | toString () |
boolean | unify (TV2 that, boolean test) |
boolean | unify_alias (BitsAlias aliases, TV2 mem, boolean test) |
boolean | unify_alias_fld (Node ldst, BitsAlias aliases, String fld, TV2 tv, boolean test, String alloc_site) |
boolean | unify_at (Comparable key, TV2 tv2, boolean test) |
boolean | union (TV2 that) |
Static Public Member Functions | |
static TV2 | get (TV2[] vs, int i) |
static TV2 | make (@NotNull String name, Node n, @NotNull String alloc_site) |
static TV2 | make (@NotNull String name, Node n, @NotNull String alloc_site, Node... ntvs) |
static TV2 | make (@NotNull String name, Node n, @NotNull String alloc_site, NonBlockingHashMap< Comparable, TV2 > args) |
static TV2 | make (@NotNull String name, UQNodes ns, @NotNull String alloc_site) |
static TV2 | make_base (Node n, Type type, @NotNull String alloc_site) |
static TV2 | make_err (Node n, String msg, @NotNull String alloc_site) |
static TV2 | make_leaf (Node n, @NotNull String alloc_site) |
static TV2 | make_leaf_ns (UQNodes ns, @NotNull String alloc_site) |
static TV2 | make_mem (Node n, @NotNull String alloc_site) |
static void | reset_to_init0 () |
Public Attributes | |
String | _alloc_site |
NonBlockingHashMap< Comparable, TV2 > | _args |
UQNodes | _deps |
UQNodes | _ns |
Type | _type |
final int | _uid |
Static Public Attributes | |
static TV2 | DEAD = new TV2("Dead",null,null,null,"static") |
static TV2 | NIL = new TV2("Nil" ,null,null,null,"static") |
Package Functions | |
boolean | _cycle_equals (TV2 that) |
boolean | _occurs_in (TV2[] vs) |
boolean | _occurs_in_type (TV2 x) |
boolean | cycle_equals (TV2 that) |
boolean | is_prim () |
boolean | occurs_in (TV2[] vs) |
Static Package Attributes | |
static final VBitSet | DEPS_VISIT = new VBitSet() |
Private Member Functions | |
TV2 (@NotNull String name, NonBlockingHashMap< Comparable, TV2 > args, Type type, UQNodes ns, @NotNull String alloc_site) | |
boolean | _eq (TV2 that) |
Type | _find_tvar (Type t, TV2 tv, Type rez) |
boolean | _fresh_unify (TV2 that, TV2[] vs, boolean test) |
void | _push_update (CallEpiNode dep) |
void | _rename (TV2 tv, HashMap< Node, Node > map) |
boolean | _unify (TV2 that, boolean test) |
TV2 | _union (TV2 that) |
boolean | fresh_base (TV2 that, boolean test) |
void | merge_deps (TV2 that) |
void | merge_ns (TV2 that) |
TV2 | repl (TV2[] vs) |
boolean | unify_base (TV2 that) |
boolean | union_err (TV2 that, String msg) |
TV2 | vput (TV2 that) |
boolean | vput (TV2 that, boolean progress) |
Private Attributes | |
String | _name |
TV2 | _unified |
Static Private Attributes | |
static final HashMap< String, ACnts > | ALLOCS = new HashMap<>() |
static final HashMap< TV2, TV2 > | CDUPS = new HashMap<>() |
static final NonBlockingHashMapLong< TV2 > | DUPS = new NonBlockingHashMapLong<>() |
static final VBitSet | ODUPS = new VBitSet() |
static int | UID =1 |
static final HashMap< TV2, TV2 > | VARS = new HashMap<>() |
|
private |
Definition at line 63 of file TV2.java.
References com.cliffc.aa.tvar.TV2._alloc_site, com.cliffc.aa.tvar.TV2._args, com.cliffc.aa.tvar.TV2._deps, com.cliffc.aa.tvar.TV2.ACnts._malloc, com.cliffc.aa.tvar.TV2._name, com.cliffc.aa.tvar.TV2._ns, com.cliffc.aa.tvar.TV2._type, com.cliffc.aa.tvar.TV2._uid, com.cliffc.aa.tvar.TV2.ALLOCS, com.cliffc.aa.tvar.TV2.name(), and com.cliffc.aa.tvar.TV2.UID.
Referenced by com.cliffc.aa.tvar.TV2.make(), com.cliffc.aa.tvar.TV2.make_base(), com.cliffc.aa.tvar.TV2.make_err(), com.cliffc.aa.tvar.TV2.make_leaf_ns(), and com.cliffc.aa.tvar.TV2.repl().
|
package |
Definition at line 646 of file TV2.java.
References com.cliffc.aa.tvar.TV2._args, com.cliffc.aa.tvar.TV2._cycle_equals(), com.cliffc.aa.tvar.TV2._name, com.cliffc.aa.tvar.TV2._type, com.cliffc.aa.tvar.TV2.CDUPS, com.cliffc.aa.util.Util.eq(), com.cliffc.aa.tvar.TV2.get(), com.cliffc.aa.tvar.TV2.is_base(), com.cliffc.aa.tvar.TV2.is_leaf(), and com.cliffc.aa.tvar.TV2.is_unified().
Referenced by com.cliffc.aa.tvar.TV2._cycle_equals(), and com.cliffc.aa.tvar.TV2.cycle_equals().
|
private |
Definition at line 207 of file TV2.java.
References com.cliffc.aa.tvar.TV2._args, com.cliffc.aa.tvar.TV2._name, com.cliffc.aa.tvar.TV2._type, com.cliffc.aa.tvar.TV2._uid, com.cliffc.aa.tvar.TV2.DUPS, com.cliffc.aa.util.Util.eq(), com.cliffc.aa.tvar.TV2.get(), com.cliffc.aa.tvar.TV2.is_base(), com.cliffc.aa.tvar.TV2.is_leaf(), com.cliffc.aa.tvar.TV2.is_unified(), and com.cliffc.aa.tvar.TV2.VARS.
Referenced by com.cliffc.aa.tvar.TV2.eq().
Definition at line 541 of file TV2.java.
References com.cliffc.aa.tvar.TV2._args, com.cliffc.aa.tvar.TV2._find_tvar(), com.cliffc.aa.tvar.TV2._name, com.cliffc.aa.type.Type< T extends Type< T >.ALL, com.cliffc.aa.type.Type< T extends Type< T >.ANY, com.cliffc.aa.type.TypeMem.at(), com.cliffc.aa.type.TypeTuple.at(), com.cliffc.aa.tvar.TV2.is_dead(), com.cliffc.aa.type.Type< T extends Type< T >.is_forward_ref(), com.cliffc.aa.type.TypeObj< O extends TypeObj< O >.ISUSED, com.cliffc.aa.type.Type< T extends Type< T >.join(), com.cliffc.aa.type.TypeTuple.len(), com.cliffc.aa.AA.unimpl(), and com.cliffc.aa.type.TypeObj< O extends TypeObj< O >.UNUSED.
Referenced by com.cliffc.aa.tvar.TV2._find_tvar(), and com.cliffc.aa.tvar.TV2.find_tvar().
Definition at line 384 of file TV2.java.
References com.cliffc.aa.tvar.TV2._args, com.cliffc.aa.tvar.TV2._deps, com.cliffc.aa.tvar.TV2._fresh_unify(), com.cliffc.aa.tvar.TV2._name, com.cliffc.aa.tvar.TV2._unify(), com.cliffc.aa.GVNGCM.add_flow(), com.cliffc.aa.tvar.TV2.args_put(), com.cliffc.aa.tvar.TV2.cycle_equals(), com.cliffc.aa.util.Util.eq(), com.cliffc.aa.tvar.TV2.find(), com.cliffc.aa.tvar.TV2.fresh_base(), com.cliffc.aa.tvar.TV2.get(), com.cliffc.aa.Env.GVN, com.cliffc.aa.tvar.TV2.is_base(), com.cliffc.aa.tvar.TV2.is_dead(), com.cliffc.aa.tvar.TV2.is_err(), com.cliffc.aa.tvar.TV2.is_leaf(), com.cliffc.aa.tvar.TV2.is_nil(), com.cliffc.aa.tvar.TV2.is_unified(), com.cliffc.aa.tvar.TV2.occurs_in(), com.cliffc.aa.tvar.TV2.repl(), com.cliffc.aa.AA.unimpl(), com.cliffc.aa.tvar.TV2.union(), com.cliffc.aa.tvar.TV2.VARS, and com.cliffc.aa.tvar.TV2.vput().
Referenced by com.cliffc.aa.tvar.TV2._fresh_unify().
|
package |
Definition at line 611 of file TV2.java.
References com.cliffc.aa.tvar.TV2._occurs_in_type().
Referenced by com.cliffc.aa.tvar.TV2.occurs_in().
|
package |
Definition at line 619 of file TV2.java.
References com.cliffc.aa.tvar.TV2._args, com.cliffc.aa.tvar.TV2._uid, com.cliffc.aa.tvar.TV2.get(), com.cliffc.aa.tvar.TV2.is_leaf(), com.cliffc.aa.tvar.TV2.is_unified(), com.cliffc.aa.tvar.TV2.ODUPS, and com.cliffc.aa.util.VBitSet.tset().
Referenced by com.cliffc.aa.tvar.TV2._occurs_in().
|
private |
Definition at line 680 of file TV2.java.
References com.cliffc.aa.tvar.TV2._args, com.cliffc.aa.tvar.TV2._deps, com.cliffc.aa.tvar.TV2._uid, com.cliffc.aa.node.Node._uid, com.cliffc.aa.tvar.UQNodes.add(), com.cliffc.aa.tvar.TV2.DEPS_VISIT, com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.get(), com.cliffc.aa.tvar.TV2.is_unified(), com.cliffc.aa.tvar.TV2.isa(), com.cliffc.aa.tvar.UQNodes.make(), and com.cliffc.aa.util.VBitSet.tset().
Referenced by com.cliffc.aa.tvar.TV2.push_dep().
Definition at line 468 of file TV2.java.
References com.cliffc.aa.tvar.TV2._args, com.cliffc.aa.tvar.TV2._deps, com.cliffc.aa.tvar.TV2._ns, com.cliffc.aa.tvar.TV2._uid, com.cliffc.aa.tvar.TV2.DUPS, com.cliffc.aa.tvar.TV2.get(), and com.cliffc.aa.tvar.UQNodes.rename().
Referenced by com.cliffc.aa.tvar.TV2.repl_rename().
|
private |
Definition at line 300 of file TV2.java.
References com.cliffc.aa.tvar.TV2._args, com.cliffc.aa.tvar.TV2._name, com.cliffc.aa.tvar.TV2._uid, com.cliffc.aa.tvar.TV2._unify(), com.cliffc.aa.tvar.TV2.args_put(), com.cliffc.aa.tvar.TV2.DUPS, com.cliffc.aa.util.Util.eq(), com.cliffc.aa.tvar.TV2.find(), com.cliffc.aa.tvar.TV2.get(), com.cliffc.aa.tvar.TV2.is_base(), com.cliffc.aa.tvar.TV2.is_dead(), com.cliffc.aa.tvar.TV2.is_err(), com.cliffc.aa.tvar.TV2.is_leaf(), com.cliffc.aa.tvar.TV2.is_nil(), com.cliffc.aa.tvar.TV2.is_unified(), com.cliffc.aa.tvar.TV2.unify_base(), com.cliffc.aa.tvar.TV2.union(), and com.cliffc.aa.tvar.TV2.union_err().
Referenced by com.cliffc.aa.tvar.TV2._fresh_unify(), and com.cliffc.aa.tvar.TV2._unify().
Definition at line 270 of file TV2.java.
References com.cliffc.aa.tvar.TV2._deps, com.cliffc.aa.tvar.TV2._ns, com.cliffc.aa.tvar.TV2._unified, com.cliffc.aa.tvar.TV2.is_unified(), com.cliffc.aa.tvar.TV2.merge_deps(), and com.cliffc.aa.tvar.TV2.merge_ns().
Referenced by com.cliffc.aa.tvar.TV2.find(), and com.cliffc.aa.tvar.TV2.union().
void com.cliffc.aa.tvar.TV2.args_put | ( | Comparable | key, |
TV2 | tv | ||
) |
Definition at line 99 of file TV2.java.
References com.cliffc.aa.tvar.TV2._args, and com.cliffc.aa.tvar.TV2.merge_deps().
Referenced by com.cliffc.aa.tvar.TV2._fresh_unify(), com.cliffc.aa.tvar.TV2._unify(), com.cliffc.aa.tvar.TV2.get(), com.cliffc.aa.tvar.TV2.repl(), com.cliffc.aa.node.LoadNode.unify(), com.cliffc.aa.tvar.TV2.unify_alias_fld(), and com.cliffc.aa.tvar.TV2.unify_at().
|
package |
Definition at line 640 of file TV2.java.
References com.cliffc.aa.tvar.TV2._cycle_equals(), and com.cliffc.aa.tvar.TV2.CDUPS.
Referenced by com.cliffc.aa.tvar.TV2._fresh_unify().
boolean com.cliffc.aa.tvar.TV2.eq | ( | Node[] | args | ) |
final boolean com.cliffc.aa.tvar.TV2.eq | ( | TV2 | that | ) |
Definition at line 200 of file TV2.java.
References com.cliffc.aa.tvar.TV2._eq(), com.cliffc.aa.tvar.TV2.DUPS, and com.cliffc.aa.tvar.TV2.VARS.
TV2 com.cliffc.aa.tvar.TV2.find | ( | ) |
Definition at line 240 of file TV2.java.
References com.cliffc.aa.tvar.TV2._union(), com.cliffc.aa.tvar.TV2.get_unified(), and com.cliffc.aa.tvar.TV2.is_unified().
Referenced by com.cliffc.aa.tvar.TV2._fresh_unify(), com.cliffc.aa.tvar.TV2._unify(), com.cliffc.aa.tvar.TV2.get(), com.cliffc.aa.node.Node.tvar(), com.cliffc.aa.node.LoadNode.unify(), and com.cliffc.aa.tvar.TV2.unify_alias_fld().
final int com.cliffc.aa.tvar.TV2.find_dups | ( | VBitSet | bs, |
NonBlockingHashMapLong< String > | dups, | ||
int | scnt | ||
) |
Definition at line 720 of file TV2.java.
References com.cliffc.aa.tvar.TV2._args, com.cliffc.aa.tvar.TV2._uid, com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.containsKey(), com.cliffc.aa.tvar.TV2.find_dups(), com.cliffc.aa.tvar.TV2.get_unified(), com.cliffc.aa.tvar.TV2.is_dead(), com.cliffc.aa.tvar.TV2.is_nil(), com.cliffc.aa.tvar.TV2.is_prim(), com.cliffc.aa.tvar.TV2.is_unified(), com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.put(), and com.cliffc.aa.util.VBitSet.tset().
Referenced by com.cliffc.aa.tvar.TV2.find_dups(), com.cliffc.aa.tvar.TV2.str(), com.cliffc.aa.Env.VStack.toString(), and com.cliffc.aa.tvar.TV2.toString().
Definition at line 535 of file TV2.java.
References com.cliffc.aa.tvar.TV2._find_tvar(), com.cliffc.aa.type.Type< T extends Type< T >.ALL, and com.cliffc.aa.tvar.TV2.DUPS.
void com.cliffc.aa.tvar.TV2.free | ( | ) |
Definition at line 189 of file TV2.java.
References com.cliffc.aa.tvar.TV2._alloc_site, com.cliffc.aa.tvar.TV2._args, com.cliffc.aa.tvar.TV2._deps, com.cliffc.aa.tvar.TV2._name, com.cliffc.aa.tvar.TV2._ns, com.cliffc.aa.tvar.TV2._type, com.cliffc.aa.tvar.TV2.ALLOCS, and com.cliffc.aa.tvar.TV2.is_unified().
|
private |
Definition at line 357 of file TV2.java.
References com.cliffc.aa.tvar.TV2._type, and com.cliffc.aa.type.Type< T extends Type< T >.meet().
Referenced by com.cliffc.aa.tvar.TV2._fresh_unify().
Definition at line 374 of file TV2.java.
Referenced by com.cliffc.aa.node.FreshNode.unify().
TV2 com.cliffc.aa.tvar.TV2.get | ( | Comparable | key | ) |
Definition at line 89 of file TV2.java.
References com.cliffc.aa.tvar.TV2._args, com.cliffc.aa.tvar.TV2.args_put(), and com.cliffc.aa.tvar.TV2.find().
Referenced by com.cliffc.aa.tvar.TV2._cycle_equals(), com.cliffc.aa.tvar.TV2._eq(), com.cliffc.aa.tvar.TV2._fresh_unify(), com.cliffc.aa.tvar.TV2._occurs_in_type(), com.cliffc.aa.tvar.TV2._rename(), com.cliffc.aa.tvar.TV2._unify(), and com.cliffc.aa.tvar.TV2.unify_alias().
Definition at line 631 of file TV2.java.
References com.cliffc.aa.tvar.TV2.find().
TV2 com.cliffc.aa.tvar.TV2.get_unified | ( | ) |
Definition at line 85 of file TV2.java.
References com.cliffc.aa.tvar.TV2._unified, and com.cliffc.aa.tvar.TV2.is_unified().
Referenced by com.cliffc.aa.tvar.TV2.find(), and com.cliffc.aa.tvar.TV2.find_dups().
boolean com.cliffc.aa.tvar.TV2.is_base | ( | ) |
Definition at line 79 of file TV2.java.
References com.cliffc.aa.tvar.TV2.is_unified(), and com.cliffc.aa.tvar.TV2.isa().
Referenced by com.cliffc.aa.tvar.TV2._cycle_equals(), com.cliffc.aa.tvar.TV2._eq(), com.cliffc.aa.tvar.TV2._fresh_unify(), com.cliffc.aa.tvar.TV2._unify(), com.cliffc.aa.tvar.TV2.make(), com.cliffc.aa.tvar.TV2.make_base(), com.cliffc.aa.tvar.TV2.make_err(), com.cliffc.aa.tvar.TV2.make_leaf_ns(), com.cliffc.aa.tvar.TV2.repl(), com.cliffc.aa.tvar.TV2.str(), and com.cliffc.aa.node.ProjNode.unify().
boolean com.cliffc.aa.tvar.TV2.is_dead | ( | ) |
Definition at line 81 of file TV2.java.
References com.cliffc.aa.tvar.TV2.is_unified(), and com.cliffc.aa.tvar.TV2.isa().
Referenced by com.cliffc.aa.tvar.TV2._find_tvar(), com.cliffc.aa.tvar.TV2._fresh_unify(), com.cliffc.aa.tvar.TV2._unify(), com.cliffc.aa.tvar.TV2.find_dups(), com.cliffc.aa.tvar.TV2.repl(), com.cliffc.aa.tvar.TV2.reset_at(), com.cliffc.aa.tvar.TV2.str(), com.cliffc.aa.node.NewStrNode.unify(), com.cliffc.aa.tvar.TV2.unify_alias(), com.cliffc.aa.tvar.TV2.unify_alias_fld(), com.cliffc.aa.tvar.TV2.unify_at(), and com.cliffc.aa.tvar.TV2.union().
boolean com.cliffc.aa.tvar.TV2.is_err | ( | ) |
Definition at line 83 of file TV2.java.
References com.cliffc.aa.tvar.TV2.is_unified(), and com.cliffc.aa.tvar.TV2.isa().
Referenced by com.cliffc.aa.tvar.TV2._fresh_unify(), com.cliffc.aa.tvar.TV2._unify(), com.cliffc.aa.tvar.TV2.make_err(), and com.cliffc.aa.tvar.TV2.str().
boolean com.cliffc.aa.tvar.TV2.is_free | ( | ) |
Definition at line 82 of file TV2.java.
References com.cliffc.aa.tvar.TV2.is_unified(), and com.cliffc.aa.tvar.TV2.isa().
boolean com.cliffc.aa.tvar.TV2.is_leaf | ( | ) |
Definition at line 78 of file TV2.java.
References com.cliffc.aa.tvar.TV2.is_unified(), and com.cliffc.aa.tvar.TV2.isa().
Referenced by com.cliffc.aa.tvar.TV2._cycle_equals(), com.cliffc.aa.tvar.TV2._eq(), com.cliffc.aa.tvar.TV2._fresh_unify(), com.cliffc.aa.tvar.TV2._occurs_in_type(), com.cliffc.aa.tvar.TV2._unify(), com.cliffc.aa.tvar.TV2.make(), com.cliffc.aa.tvar.TV2.make_base(), com.cliffc.aa.tvar.TV2.make_err(), com.cliffc.aa.tvar.TV2.make_leaf_ns(), and com.cliffc.aa.tvar.TV2.repl().
boolean com.cliffc.aa.tvar.TV2.is_nil | ( | ) |
Definition at line 80 of file TV2.java.
References com.cliffc.aa.tvar.TV2.is_unified(), and com.cliffc.aa.tvar.TV2.isa().
Referenced by com.cliffc.aa.tvar.TV2._fresh_unify(), com.cliffc.aa.tvar.TV2._unify(), com.cliffc.aa.tvar.TV2.find_dups(), and com.cliffc.aa.tvar.TV2.str().
|
package |
Definition at line 714 of file TV2.java.
References com.cliffc.aa.tvar.TV2._args, and com.cliffc.aa.tvar.TV2.isa().
Referenced by com.cliffc.aa.tvar.TV2.find_dups(), and com.cliffc.aa.tvar.TV2.str().
boolean com.cliffc.aa.tvar.TV2.is_tvar | ( | ) |
Definition at line 84 of file TV2.java.
References com.cliffc.aa.tvar.TV2._args, and com.cliffc.aa.tvar.TV2.is_unified().
Referenced by com.cliffc.aa.tvar.TV2.unify_at().
boolean com.cliffc.aa.tvar.TV2.is_unified | ( | ) |
Definition at line 76 of file TV2.java.
References com.cliffc.aa.tvar.TV2._unified.
Referenced by com.cliffc.aa.tvar.TV2._cycle_equals(), com.cliffc.aa.tvar.TV2._eq(), com.cliffc.aa.tvar.TV2._fresh_unify(), com.cliffc.aa.tvar.TV2._occurs_in_type(), com.cliffc.aa.tvar.TV2._push_update(), com.cliffc.aa.tvar.TV2._unify(), com.cliffc.aa.tvar.TV2._union(), com.cliffc.aa.tvar.TV2.find(), com.cliffc.aa.tvar.TV2.find_dups(), com.cliffc.aa.tvar.TV2.free(), com.cliffc.aa.tvar.TV2.get_unified(), com.cliffc.aa.tvar.TV2.is_base(), com.cliffc.aa.tvar.TV2.is_dead(), com.cliffc.aa.tvar.TV2.is_err(), com.cliffc.aa.tvar.TV2.is_free(), com.cliffc.aa.tvar.TV2.is_leaf(), com.cliffc.aa.tvar.TV2.is_nil(), com.cliffc.aa.tvar.TV2.is_tvar(), com.cliffc.aa.tvar.TV2.isa(), com.cliffc.aa.tvar.TV2.repl(), com.cliffc.aa.tvar.TV2.str(), com.cliffc.aa.tvar.TV2.unify_alias_fld(), com.cliffc.aa.tvar.TV2.unify_at(), and com.cliffc.aa.tvar.TV2.union().
boolean com.cliffc.aa.tvar.TV2.isa | ( | String | s | ) |
Definition at line 77 of file TV2.java.
References com.cliffc.aa.tvar.TV2._name, com.cliffc.aa.util.Util.eq(), and com.cliffc.aa.tvar.TV2.is_unified().
Referenced by com.cliffc.aa.tvar.TV2._push_update(), com.cliffc.aa.tvar.TV2.is_base(), com.cliffc.aa.tvar.TV2.is_dead(), com.cliffc.aa.tvar.TV2.is_err(), com.cliffc.aa.tvar.TV2.is_free(), com.cliffc.aa.tvar.TV2.is_leaf(), com.cliffc.aa.tvar.TV2.is_nil(), com.cliffc.aa.tvar.TV2.is_prim(), com.cliffc.aa.tvar.TV2.merge_deps(), com.cliffc.aa.tvar.TV2.merge_ns(), com.cliffc.aa.node.NewStrNode.unify(), com.cliffc.aa.node.MemSplitNode.unify(), com.cliffc.aa.node.StoreNode.unify(), com.cliffc.aa.node.LoadNode.unify(), com.cliffc.aa.tvar.TV2.unify_alias(), and com.cliffc.aa.tvar.TV2.unify_alias_fld().
|
static |
Definition at line 154 of file TV2.java.
References com.cliffc.aa.tvar.TV2.make(), and com.cliffc.aa.tvar.TV2.name().
Referenced by com.cliffc.aa.tvar.TV2.make(), com.cliffc.aa.tvar.TV2.make_base(), com.cliffc.aa.tvar.TV2.make_mem(), com.cliffc.aa.node.ProjNode.unify(), com.cliffc.aa.node.MemSplitNode.unify(), com.cliffc.aa.node.LoadNode.unify(), and com.cliffc.aa.tvar.TV2.unify_alias_fld().
|
static |
Definition at line 163 of file TV2.java.
References com.cliffc.aa.tvar.TV2.make(), com.cliffc.aa.tvar.TV2.name(), and com.cliffc.aa.util.NonBlockingHashMap< TypeK, TypeV >.put().
|
static |
Definition at line 156 of file TV2.java.
References com.cliffc.aa.tvar.TV2.is_base(), com.cliffc.aa.tvar.TV2.is_leaf(), com.cliffc.aa.tvar.UQNodes.make(), com.cliffc.aa.tvar.TV2.name(), and com.cliffc.aa.tvar.TV2.TV2().
|
static |
Definition at line 171 of file TV2.java.
References com.cliffc.aa.tvar.TV2.is_base(), com.cliffc.aa.tvar.TV2.is_leaf(), com.cliffc.aa.tvar.TV2.name(), and com.cliffc.aa.tvar.TV2.TV2().
|
static |
Definition at line 136 of file TV2.java.
References com.cliffc.aa.tvar.TV2.is_base(), com.cliffc.aa.tvar.TV2.is_leaf(), com.cliffc.aa.tvar.UQNodes.make(), com.cliffc.aa.tvar.TV2.make(), com.cliffc.aa.tvar.TV2.TV2(), and com.cliffc.aa.type.Type< T extends Type< T >.widen().
Referenced by com.cliffc.aa.tvar.TV2.repl().
|
static |
Definition at line 147 of file TV2.java.
References com.cliffc.aa.type.TypeStr.con(), com.cliffc.aa.tvar.TV2.is_base(), com.cliffc.aa.tvar.TV2.is_err(), com.cliffc.aa.tvar.TV2.is_leaf(), com.cliffc.aa.tvar.UQNodes.make(), and com.cliffc.aa.tvar.TV2.TV2().
Referenced by com.cliffc.aa.tvar.TV2.union_err().
Definition at line 126 of file TV2.java.
References com.cliffc.aa.tvar.UQNodes.make(), and com.cliffc.aa.tvar.TV2.make_leaf_ns().
Referenced by com.cliffc.aa.node.Node.new_tvar().
Definition at line 130 of file TV2.java.
References com.cliffc.aa.tvar.TV2.is_base(), com.cliffc.aa.tvar.TV2.is_leaf(), and com.cliffc.aa.tvar.TV2.TV2().
Referenced by com.cliffc.aa.tvar.TV2.make_leaf(), com.cliffc.aa.tvar.TV2.repl(), and com.cliffc.aa.Parse.stmt().
Definition at line 178 of file TV2.java.
References com.cliffc.aa.tvar.TV2.make().
|
private |
Definition at line 693 of file TV2.java.
References com.cliffc.aa.tvar.TV2._deps, com.cliffc.aa.tvar.UQNodes.addAll(), and com.cliffc.aa.tvar.TV2.isa().
Referenced by com.cliffc.aa.tvar.TV2._union(), and com.cliffc.aa.tvar.TV2.args_put().
|
private |
Definition at line 696 of file TV2.java.
References com.cliffc.aa.tvar.TV2._ns, com.cliffc.aa.tvar.UQNodes.addAll(), and com.cliffc.aa.tvar.TV2.isa().
Referenced by com.cliffc.aa.tvar.TV2._union().
String com.cliffc.aa.tvar.TV2.name | ( | ) |
Definition at line 86 of file TV2.java.
References com.cliffc.aa.tvar.TV2._name.
Referenced by com.cliffc.aa.tvar.TV2.make(), and com.cliffc.aa.tvar.TV2.TV2().
|
package |
Definition at line 599 of file TV2.java.
References com.cliffc.aa.tvar.TV2._occurs_in(), and com.cliffc.aa.tvar.TV2.ODUPS.
Referenced by com.cliffc.aa.tvar.TV2._fresh_unify(), and com.cliffc.aa.tvar.TV2.repl().
TV2 com.cliffc.aa.tvar.TV2.push_dep | ( | CallEpiNode | dep | ) |
Definition at line 674 of file TV2.java.
References com.cliffc.aa.tvar.TV2._push_update(), and com.cliffc.aa.tvar.TV2.DEPS_VISIT.
Definition at line 438 of file TV2.java.
References com.cliffc.aa.tvar.TV2._args, com.cliffc.aa.tvar.TV2._name, com.cliffc.aa.tvar.TV2._type, com.cliffc.aa.tvar.TV2.args_put(), com.cliffc.aa.tvar.TV2.is_base(), com.cliffc.aa.tvar.TV2.is_dead(), com.cliffc.aa.tvar.TV2.is_leaf(), com.cliffc.aa.tvar.TV2.is_unified(), com.cliffc.aa.tvar.TV2.make_base(), com.cliffc.aa.tvar.TV2.make_leaf_ns(), com.cliffc.aa.tvar.TV2.occurs_in(), com.cliffc.aa.tvar.TV2.TV2(), com.cliffc.aa.tvar.TV2.VARS, and com.cliffc.aa.tvar.TV2.vput().
Referenced by com.cliffc.aa.tvar.TV2._fresh_unify(), and com.cliffc.aa.tvar.TV2.repl_rename().
Definition at line 461 of file TV2.java.
References com.cliffc.aa.tvar.TV2._rename(), com.cliffc.aa.tvar.TV2.DUPS, com.cliffc.aa.tvar.TV2.repl(), and com.cliffc.aa.tvar.TV2.VARS.
void com.cliffc.aa.tvar.TV2.reset | ( | Node | n | ) |
Definition at line 187 of file TV2.java.
References com.cliffc.aa.tvar.TV2._ns, com.cliffc.aa.node.Node._uid, and com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.remove().
void com.cliffc.aa.tvar.TV2.reset_at | ( | Object | o | ) |
Definition at line 118 of file TV2.java.
References com.cliffc.aa.tvar.TV2._args, and com.cliffc.aa.tvar.TV2.is_dead().
|
static |
Definition at line 183 of file TV2.java.
References com.cliffc.aa.tvar.TV2._deps, com.cliffc.aa.tvar.TV2._ns, com.cliffc.aa.tvar.TV2.DEAD, and com.cliffc.aa.tvar.TV2.NIL.
Referenced by com.cliffc.aa.Env.top_reset().
final String com.cliffc.aa.tvar.TV2.str | ( | int | d | ) |
Definition at line 707 of file TV2.java.
References com.cliffc.aa.util.VBitSet.clr(), and com.cliffc.aa.tvar.TV2.find_dups().
Referenced by com.cliffc.aa.tvar.TV2.str(), com.cliffc.aa.Env.VStack.toString(), and com.cliffc.aa.tvar.TV2.toString().
final SB com.cliffc.aa.tvar.TV2.str | ( | SB | sb, |
VBitSet | bs, | ||
NonBlockingHashMapLong< String > | dups, | ||
boolean | debug, | ||
int | d, | ||
int | max | ||
) |
Definition at line 738 of file TV2.java.
References com.cliffc.aa.tvar.TV2._args, com.cliffc.aa.tvar.TV2._name, com.cliffc.aa.tvar.TV2._ns, com.cliffc.aa.tvar.TV2._type, com.cliffc.aa.tvar.TV2._uid, com.cliffc.aa.tvar.TV2._unified, com.cliffc.aa.type.Type< T extends Type< T >.getstr(), com.cliffc.aa.tvar.TV2.is_base(), com.cliffc.aa.tvar.TV2.is_dead(), com.cliffc.aa.tvar.TV2.is_err(), com.cliffc.aa.tvar.TV2.is_nil(), com.cliffc.aa.tvar.TV2.is_prim(), com.cliffc.aa.tvar.TV2.is_unified(), com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.size(), com.cliffc.aa.util.Ary< E >.sort_update(), com.cliffc.aa.tvar.TV2.str(), and com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.values().
final String com.cliffc.aa.tvar.TV2.toString | ( | ) |
Definition at line 701 of file TV2.java.
References com.cliffc.aa.util.VBitSet.clr(), com.cliffc.aa.tvar.TV2.find_dups(), and com.cliffc.aa.tvar.TV2.str().
boolean com.cliffc.aa.tvar.TV2.unify | ( | TV2 | that, |
boolean | test | ||
) |
Definition at line 288 of file TV2.java.
Referenced by com.cliffc.aa.node.ProjNode.unify(), com.cliffc.aa.node.MemSplitNode.unify(), com.cliffc.aa.node.CastNode.unify(), com.cliffc.aa.node.MemJoinNode.unify(), com.cliffc.aa.node.StoreNode.unify(), com.cliffc.aa.node.LoadNode.unify(), com.cliffc.aa.tvar.TV2.unify_alias_fld(), and com.cliffc.aa.tvar.TV2.unify_at().
Definition at line 515 of file TV2.java.
References com.cliffc.aa.tvar.TV2.get(), com.cliffc.aa.tvar.TV2.is_dead(), com.cliffc.aa.tvar.TV2.isa(), and com.cliffc.aa.tvar.TV2.unify_at().
Referenced by com.cliffc.aa.node.MemJoinNode.unify().
boolean com.cliffc.aa.tvar.TV2.unify_alias_fld | ( | Node | ldst, |
BitsAlias | aliases, | ||
String | fld, | ||
TV2 | tv, | ||
boolean | test, | ||
String | alloc_site | ||
) |
Definition at line 488 of file TV2.java.
References com.cliffc.aa.type.BitsAlias.AARY, com.cliffc.aa.tvar.TV2.args_put(), com.cliffc.aa.tvar.TV2.find(), com.cliffc.aa.tvar.TV2.is_dead(), com.cliffc.aa.tvar.TV2.is_unified(), com.cliffc.aa.tvar.TV2.isa(), com.cliffc.aa.tvar.TV2.make(), com.cliffc.aa.tvar.TV2.unify(), com.cliffc.aa.tvar.TV2.unify_at(), and com.cliffc.aa.AA.unimpl().
Referenced by com.cliffc.aa.node.StoreNode.unify(), and com.cliffc.aa.node.LoadNode.unify().
boolean com.cliffc.aa.tvar.TV2.unify_at | ( | Comparable | key, |
TV2 | tv2, | ||
boolean | test | ||
) |
Definition at line 105 of file TV2.java.
References com.cliffc.aa.tvar.TV2._args, com.cliffc.aa.tvar.TV2._deps, com.cliffc.aa.GVNGCM.add_flow(), com.cliffc.aa.tvar.TV2.args_put(), com.cliffc.aa.Env.GVN, com.cliffc.aa.tvar.TV2.is_dead(), com.cliffc.aa.tvar.TV2.is_tvar(), com.cliffc.aa.tvar.TV2.is_unified(), and com.cliffc.aa.tvar.TV2.unify().
Referenced by com.cliffc.aa.node.ProjNode.unify(), com.cliffc.aa.node.LoadNode.unify(), com.cliffc.aa.tvar.TV2.unify_alias(), and com.cliffc.aa.tvar.TV2.unify_alias_fld().
|
private |
Definition at line 353 of file TV2.java.
References com.cliffc.aa.tvar.TV2._type, and com.cliffc.aa.type.Type< T extends Type< T >.meet().
Referenced by com.cliffc.aa.tvar.TV2._unify().
boolean com.cliffc.aa.tvar.TV2.union | ( | TV2 | that | ) |
Definition at line 255 of file TV2.java.
References com.cliffc.aa.tvar.TV2._alloc_site, com.cliffc.aa.tvar.TV2._deps, com.cliffc.aa.tvar.TV2._ns, com.cliffc.aa.tvar.TV2._union(), com.cliffc.aa.GVNGCM.add_flow(), com.cliffc.aa.GVNGCM.add_reduce(), com.cliffc.aa.tvar.TV2.ALLOCS, com.cliffc.aa.Env.GVN, com.cliffc.aa.tvar.TV2.is_dead(), com.cliffc.aa.tvar.TV2.is_unified(), com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.size(), and com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.values().
Referenced by com.cliffc.aa.tvar.TV2._fresh_unify(), com.cliffc.aa.tvar.TV2._unify(), and com.cliffc.aa.tvar.TV2.union_err().
|
private |
Definition at line 348 of file TV2.java.
References com.cliffc.aa.tvar.TV2.make_err(), and com.cliffc.aa.tvar.TV2.union().
Referenced by com.cliffc.aa.tvar.TV2._unify().
|
private |
Definition at line 434 of file TV2.java.
References com.cliffc.aa.tvar.TV2.VARS.
Referenced by com.cliffc.aa.tvar.TV2._fresh_unify(), and com.cliffc.aa.tvar.TV2.repl().
String com.cliffc.aa.tvar.TV2._alloc_site |
Definition at line 56 of file TV2.java.
Referenced by com.cliffc.aa.tvar.TV2.free(), com.cliffc.aa.tvar.TV2.TV2(), and com.cliffc.aa.tvar.TV2.union().
NonBlockingHashMap<Comparable,TV2> com.cliffc.aa.tvar.TV2._args |
Definition at line 42 of file TV2.java.
Referenced by com.cliffc.aa.tvar.TV2._cycle_equals(), com.cliffc.aa.tvar.TV2._eq(), com.cliffc.aa.tvar.TV2._find_tvar(), com.cliffc.aa.tvar.TV2._fresh_unify(), com.cliffc.aa.tvar.TV2._occurs_in_type(), com.cliffc.aa.tvar.TV2._push_update(), com.cliffc.aa.tvar.TV2._rename(), com.cliffc.aa.tvar.TV2._unify(), com.cliffc.aa.tvar.TV2.args_put(), com.cliffc.aa.tvar.TV2.find_dups(), com.cliffc.aa.tvar.TV2.free(), com.cliffc.aa.tvar.TV2.get(), com.cliffc.aa.tvar.TV2.is_prim(), com.cliffc.aa.tvar.TV2.is_tvar(), com.cliffc.aa.tvar.TV2.repl(), com.cliffc.aa.tvar.TV2.reset_at(), com.cliffc.aa.tvar.TV2.str(), com.cliffc.aa.tvar.TV2.TV2(), com.cliffc.aa.node.ProjNode.unify(), com.cliffc.aa.node.MemSplitNode.unify(), and com.cliffc.aa.tvar.TV2.unify_at().
UQNodes com.cliffc.aa.tvar.TV2._deps |
Definition at line 52 of file TV2.java.
Referenced by com.cliffc.aa.tvar.TV2._fresh_unify(), com.cliffc.aa.tvar.TV2._push_update(), com.cliffc.aa.tvar.TV2._rename(), com.cliffc.aa.tvar.TV2._union(), com.cliffc.aa.tvar.TV2.free(), com.cliffc.aa.tvar.TV2.merge_deps(), com.cliffc.aa.tvar.TV2.reset_to_init0(), com.cliffc.aa.tvar.TV2.TV2(), com.cliffc.aa.tvar.TV2.unify_at(), and com.cliffc.aa.tvar.TV2.union().
|
private |
Definition at line 38 of file TV2.java.
Referenced by com.cliffc.aa.tvar.TV2._cycle_equals(), com.cliffc.aa.tvar.TV2._eq(), com.cliffc.aa.tvar.TV2._find_tvar(), com.cliffc.aa.tvar.TV2._fresh_unify(), com.cliffc.aa.tvar.TV2._unify(), com.cliffc.aa.tvar.TV2.free(), com.cliffc.aa.tvar.TV2.isa(), com.cliffc.aa.tvar.TV2.name(), com.cliffc.aa.tvar.TV2.repl(), com.cliffc.aa.tvar.TV2.str(), and com.cliffc.aa.tvar.TV2.TV2().
UQNodes com.cliffc.aa.tvar.TV2._ns |
Definition at line 55 of file TV2.java.
Referenced by com.cliffc.aa.tvar.TV2._rename(), com.cliffc.aa.tvar.TV2._union(), com.cliffc.aa.tvar.TV2.free(), com.cliffc.aa.tvar.TV2.merge_ns(), com.cliffc.aa.tvar.TV2.reset(), com.cliffc.aa.tvar.TV2.reset_to_init0(), com.cliffc.aa.tvar.TV2.str(), com.cliffc.aa.tvar.TV2.TV2(), and com.cliffc.aa.tvar.TV2.union().
Type com.cliffc.aa.tvar.TV2._type |
Definition at line 49 of file TV2.java.
Referenced by com.cliffc.aa.tvar.TV2._cycle_equals(), com.cliffc.aa.tvar.TV2._eq(), com.cliffc.aa.tvar.TV2.free(), com.cliffc.aa.tvar.TV2.fresh_base(), com.cliffc.aa.tvar.TV2.repl(), com.cliffc.aa.tvar.TV2.str(), com.cliffc.aa.tvar.TV2.TV2(), com.cliffc.aa.node.ProjNode.unify(), and com.cliffc.aa.tvar.TV2.unify_base().
final int com.cliffc.aa.tvar.TV2._uid |
Definition at line 26 of file TV2.java.
Referenced by com.cliffc.aa.tvar.TV2._eq(), com.cliffc.aa.tvar.TV2._occurs_in_type(), com.cliffc.aa.tvar.TV2._push_update(), com.cliffc.aa.tvar.TV2._rename(), com.cliffc.aa.tvar.TV2._unify(), com.cliffc.aa.tvar.TV2.find_dups(), com.cliffc.aa.tvar.TV2.str(), and com.cliffc.aa.tvar.TV2.TV2().
|
private |
Definition at line 46 of file TV2.java.
Referenced by com.cliffc.aa.tvar.TV2._union(), com.cliffc.aa.tvar.TV2.get_unified(), com.cliffc.aa.tvar.TV2.is_unified(), and com.cliffc.aa.tvar.TV2.str().
|
staticprivate |
Definition at line 60 of file TV2.java.
Referenced by com.cliffc.aa.tvar.TV2.free(), com.cliffc.aa.tvar.TV2.TV2(), and com.cliffc.aa.tvar.TV2.union().
Definition at line 639 of file TV2.java.
Referenced by com.cliffc.aa.tvar.TV2._cycle_equals(), and com.cliffc.aa.tvar.TV2.cycle_equals().
Definition at line 180 of file TV2.java.
Referenced by com.cliffc.aa.tvar.TV2.reset_to_init0().
Definition at line 673 of file TV2.java.
Referenced by com.cliffc.aa.tvar.TV2._push_update(), and com.cliffc.aa.tvar.TV2.push_dep().
|
staticprivate |
Definition at line 284 of file TV2.java.
Referenced by com.cliffc.aa.tvar.TV2._eq(), com.cliffc.aa.tvar.TV2._rename(), com.cliffc.aa.tvar.TV2._unify(), com.cliffc.aa.tvar.TV2.eq(), com.cliffc.aa.tvar.TV2.find_tvar(), and com.cliffc.aa.tvar.TV2.repl_rename().
Definition at line 181 of file TV2.java.
Referenced by com.cliffc.aa.tvar.TV2.reset_to_init0().
Definition at line 598 of file TV2.java.
Referenced by com.cliffc.aa.tvar.TV2._occurs_in_type(), and com.cliffc.aa.tvar.TV2.occurs_in().
|
staticprivate |
Definition at line 25 of file TV2.java.
Referenced by com.cliffc.aa.tvar.TV2.TV2().
Definition at line 366 of file TV2.java.
Referenced by com.cliffc.aa.tvar.TV2._eq(), com.cliffc.aa.tvar.TV2._fresh_unify(), com.cliffc.aa.tvar.TV2.eq(), com.cliffc.aa.tvar.TV2.repl(), com.cliffc.aa.tvar.TV2.repl_rename(), and com.cliffc.aa.tvar.TV2.vput().