aa
|
Public Member Functions | |
void | testMonotonic () |
void | testNode () |
Static Public Member Functions | |
static void | main (String[] args) |
Private Member Functions | |
Type | get (long h) |
Type | get_value_type (long xx) |
int[][] | make_minimal_graph () |
int[][] | make_subtypes () |
long | pop () |
void | print (int x, int d) |
void | push (long x) |
Type | put (long h, Type t) |
void | redo_ (Node n, int idx, int xidx, int yx, Type[] all) |
void | set_type (int idx, Type tyx) |
void | set_value_type (Node n, Type vn, long xx, long xxx, int idx, int yx, Type[] all) |
int[] | stx (final Node n, long xx, int i) |
Type | test1jig (final Node n, Type t0, Type t1, Type t2, Type t3) |
void | test1monotonic (Node n) |
void | test1monotonic_init (final Node n) |
void | test1monotonic_intrinsic (NewNode.NewPrimNode prim) |
void | test1monotonic_prim (PrimNode prim, Node mem) |
Static Private Member Functions | |
static long | hash (long h) |
static long | xx (int i0, int i1, int i2, int i3) |
static int | xx (long xx, int i) |
Private Attributes | |
Type[] | _alltypes |
int | _errs |
GVNGCM | _gvn |
Node[] | _ins |
int[][] | _min_subtypes |
int[][] | _subtypes |
NonBlockingHashMapLong< Type > | _values |
long[] | _work = new long[1] |
int | _work_len |
Static Private Attributes | |
static final int[] | stx_any = new int[]{} |
Definition at line 16 of file TestNode.java.
|
private |
Definition at line 45 of file TestNode.java.
References com.cliffc.aa.node.TestNode._values, and com.cliffc.aa.node.TestNode.hash().
|
private |
Definition at line 407 of file TestNode.java.
References com.cliffc.aa.node.TestNode.xx().
Referenced by com.cliffc.aa.node.TestNode.test1monotonic_init().
|
staticprivate |
Definition at line 39 of file TestNode.java.
Referenced by com.cliffc.aa.node.TestNode.get(), and com.cliffc.aa.node.TestNode.put().
|
static |
Definition at line 157 of file TestNode.java.
References com.cliffc.aa.node.TestNode.testMonotonic().
|
private |
Definition at line 87 of file TestNode.java.
References com.cliffc.aa.node.TestNode._subtypes, and com.cliffc.aa.util.Util.find().
Referenced by com.cliffc.aa.node.TestNode.testMonotonic().
|
private |
Definition at line 63 of file TestNode.java.
References com.cliffc.aa.node.TestNode._alltypes, and com.cliffc.aa.type.Type< T extends Type< T >.simple_ptr().
Referenced by com.cliffc.aa.node.TestNode.testMonotonic().
|
private |
Definition at line 128 of file TestNode.java.
References com.cliffc.aa.node.TestNode._work, and com.cliffc.aa.node.TestNode._work_len.
Referenced by com.cliffc.aa.node.TestNode.test1monotonic_init().
|
private |
Definition at line 131 of file TestNode.java.
References com.cliffc.aa.node.TestNode._alltypes, com.cliffc.aa.node.TestNode._min_subtypes, com.cliffc.aa.type.TypeInt.con(), com.cliffc.aa.type.Type< T extends Type< T >.getl(), and com.cliffc.aa.node.TestNode.put().
|
private |
Definition at line 122 of file TestNode.java.
References com.cliffc.aa.node.TestNode._work, and com.cliffc.aa.node.TestNode._work_len.
Referenced by com.cliffc.aa.node.TestNode.set_value_type(), and com.cliffc.aa.node.TestNode.test1monotonic_init().
Definition at line 46 of file TestNode.java.
References com.cliffc.aa.node.TestNode._values, and com.cliffc.aa.node.TestNode.hash().
Referenced by com.cliffc.aa.node.TestNode.print(), com.cliffc.aa.node.TestNode.set_value_type(), and com.cliffc.aa.node.TestNode.test1monotonic_init().
Definition at line 384 of file TestNode.java.
References com.cliffc.aa.node.TestNode._gvn, com.cliffc.aa.GVNGCM._opt_mode, com.cliffc.aa.type.Type< T extends Type< T >.isa(), com.cliffc.aa.node.TestNode.set_type(), and com.cliffc.aa.node.Node.value().
Referenced by com.cliffc.aa.node.TestNode.set_value_type().
|
private |
Definition at line 395 of file TestNode.java.
References com.cliffc.aa.node.TestNode._ins, and com.cliffc.aa.node.Node._val.
Referenced by com.cliffc.aa.node.TestNode.redo_(), com.cliffc.aa.node.TestNode.set_value_type(), com.cliffc.aa.node.TestNode.test1monotonic_init(), and com.cliffc.aa.node.TestNode.testMonotonic().
|
private |
Definition at line 363 of file TestNode.java.
References com.cliffc.aa.node.TestNode._errs, com.cliffc.aa.node.TestNode._gvn, com.cliffc.aa.GVNGCM._opt_mode, com.cliffc.aa.type.Type< T extends Type< T >.isa(), com.cliffc.aa.node.TestNode.push(), com.cliffc.aa.node.TestNode.put(), com.cliffc.aa.node.TestNode.redo_(), com.cliffc.aa.node.TestNode.set_type(), com.cliffc.aa.node.Node.value(), com.cliffc.aa.node.Node.xstr(), and com.cliffc.aa.node.TestNode.xx().
Referenced by com.cliffc.aa.node.TestNode.test1monotonic_init().
|
private |
Definition at line 401 of file TestNode.java.
References com.cliffc.aa.node.Node._defs, com.cliffc.aa.node.TestNode._min_subtypes, com.cliffc.aa.node.Node.in(), com.cliffc.aa.node.TestNode.stx_any, and com.cliffc.aa.node.TestNode.xx().
Referenced by com.cliffc.aa.node.TestNode.test1monotonic_init().
|
private |
Definition at line 271 of file TestNode.java.
References com.cliffc.aa.node.TestNode._gvn, com.cliffc.aa.node.TestNode._ins, com.cliffc.aa.GVNGCM._opt_mode, and com.cliffc.aa.node.Node._val.
Referenced by com.cliffc.aa.node.TestNode.testMonotonic().
|
private |
Definition at line 280 of file TestNode.java.
References com.cliffc.aa.node.Node._defs, and com.cliffc.aa.node.TestNode.test1monotonic_init().
Referenced by com.cliffc.aa.node.TestNode.testMonotonic().
|
private |
Definition at line 309 of file TestNode.java.
References com.cliffc.aa.node.TestNode._alltypes, com.cliffc.aa.node.TestNode._ins, com.cliffc.aa.node.Node._val, com.cliffc.aa.node.TestNode._values, com.cliffc.aa.node.TestNode._work_len, com.cliffc.aa.type.Type< T extends Type< T >.ANY, com.cliffc.aa.node.TestNode.get_value_type(), com.cliffc.aa.node.TestNode.pop(), com.cliffc.aa.node.TestNode.push(), com.cliffc.aa.node.TestNode.put(), com.cliffc.aa.node.TestNode.set_type(), com.cliffc.aa.node.TestNode.set_value_type(), com.cliffc.aa.node.TestNode.stx(), and com.cliffc.aa.node.TestNode.xx().
Referenced by com.cliffc.aa.node.TestNode.test1monotonic(), com.cliffc.aa.node.TestNode.test1monotonic_intrinsic(), and com.cliffc.aa.node.TestNode.test1monotonic_prim().
|
private |
Definition at line 297 of file TestNode.java.
References com.cliffc.aa.node.Node._defs, com.cliffc.aa.node.TestNode._ins, com.cliffc.aa.node.NewNode< T extends TypeObj< T >.copy(), and com.cliffc.aa.node.TestNode.test1monotonic_init().
Referenced by com.cliffc.aa.node.TestNode.testMonotonic().
Definition at line 286 of file TestNode.java.
References com.cliffc.aa.node.Node._defs, com.cliffc.aa.node.TestNode._ins, com.cliffc.aa.node.PrimNode._sig, com.cliffc.aa.node.Node.add_def(), com.cliffc.aa.node.Node.copy(), com.cliffc.aa.type.TypeFunSig.nargs(), and com.cliffc.aa.node.TestNode.test1monotonic_init().
Referenced by com.cliffc.aa.node.TestNode.testMonotonic().
void com.cliffc.aa.node.TestNode.testMonotonic | ( | ) |
Definition at line 159 of file TestNode.java.
References com.cliffc.aa.node.TestNode._alltypes, com.cliffc.aa.node.TestNode._errs, com.cliffc.aa.node.TestNode._gvn, com.cliffc.aa.node.TestNode._ins, com.cliffc.aa.node.TestNode._min_subtypes, com.cliffc.aa.GVNGCM._opt_mode, com.cliffc.aa.node.TestNode._subtypes, com.cliffc.aa.node.Node._val, com.cliffc.aa.node.TestNode._values, com.cliffc.aa.type.TypeStr.ABC, com.cliffc.aa.type.Type< T extends Type< T >.ALL_TYPES, com.cliffc.aa.type.Type< T extends Type< T >.ANY, com.cliffc.aa.type.TypeTuple.CALLE, com.cliffc.aa.node.Node.con(), com.cliffc.aa.node.NewObjNode.create_active(), com.cliffc.aa.type.Type< T extends Type< T >.CTRL, com.cliffc.aa.Env.DEFMEM, com.cliffc.aa.type.TypeMemPtr.DISP_SIMPLE, com.cliffc.aa.type.TypeMemPtr.DISPLAY, com.cliffc.aa.type.TypeInt.FALSE, com.cliffc.aa.Env.file_scope(), com.cliffc.aa.type.TypeFld.Access.Final, com.cliffc.aa.type.TypeFlt.FLT64, com.cliffc.aa.Env.GVN, com.cliffc.aa.node.Node.in(), com.cliffc.aa.type.TypeInt.INT64, com.cliffc.aa.node.NewNode< T extends TypeObj< T >.NewPrimNode< T extends TypeObj< T >.INTRINSICS, com.cliffc.aa.Env.lookup(), com.cliffc.aa.node.TestNode.make_minimal_graph(), com.cliffc.aa.node.TestNode.make_subtypes(), com.cliffc.aa.type.TypeMem.MEM, com.cliffc.aa.type.TypeStruct.NAMEPT, com.cliffc.aa.type.Type< T extends Type< T >.NIL, com.cliffc.aa.type.Type< T extends Type< T >.NSCALR, com.cliffc.aa.GVNGCM.Mode.Parse, com.cliffc.aa.GVNGCM.Mode.PesiCG, com.cliffc.aa.GVNGCM.Mode.PesiNoCG, com.cliffc.aa.node.PrimNode.PRIMS, com.cliffc.aa.type.TypeTuple.RET, com.cliffc.aa.node.FunNode.ret(), com.cliffc.aa.type.TypeFld.Access.RW, com.cliffc.aa.type.Type< T extends Type< T >.SCALAR, com.cliffc.aa.node.TestNode.set_type(), com.cliffc.aa.node.NewNode< T extends TypeObj< T >.sets(), com.cliffc.aa.type.TypeMemPtr.STR0, com.cliffc.aa.type.TypeMemPtr.STRPTR, com.cliffc.aa.type.TypeTuple.TEST0, com.cliffc.aa.node.TestNode.test1jig(), com.cliffc.aa.node.TestNode.test1monotonic(), com.cliffc.aa.node.TestNode.test1monotonic_intrinsic(), com.cliffc.aa.node.TestNode.test1monotonic_prim(), and com.cliffc.aa.Env.top_scope().
Referenced by com.cliffc.aa.node.TestNode.main().
void com.cliffc.aa.node.TestNode.testNode | ( | ) |
Definition at line 55 of file TestNode.java.
References com.cliffc.aa.Env.file_scope(), and com.cliffc.aa.Env.top_scope().
|
staticprivate |
Definition at line 413 of file TestNode.java.
Referenced by com.cliffc.aa.node.TestNode.get_value_type(), com.cliffc.aa.node.TestNode.set_value_type(), com.cliffc.aa.node.TestNode.stx(), com.cliffc.aa.node.TestNode.test1monotonic_init(), and com.cliffc.aa.node.TestNode.xx().
|
staticprivate |
Definition at line 416 of file TestNode.java.
References com.cliffc.aa.node.TestNode.xx().
|
private |
Definition at line 24 of file TestNode.java.
Referenced by com.cliffc.aa.node.TestNode.make_subtypes(), com.cliffc.aa.node.TestNode.print(), com.cliffc.aa.node.TestNode.test1monotonic_init(), and com.cliffc.aa.node.TestNode.testMonotonic().
|
private |
Definition at line 52 of file TestNode.java.
Referenced by com.cliffc.aa.node.TestNode.set_value_type(), and com.cliffc.aa.node.TestNode.testMonotonic().
|
private |
Definition at line 21 of file TestNode.java.
Referenced by com.cliffc.aa.node.TestNode.redo_(), com.cliffc.aa.node.TestNode.set_value_type(), com.cliffc.aa.node.TestNode.test1jig(), and com.cliffc.aa.node.TestNode.testMonotonic().
|
private |
Definition at line 19 of file TestNode.java.
Referenced by com.cliffc.aa.node.TestNode.set_type(), com.cliffc.aa.node.TestNode.test1jig(), com.cliffc.aa.node.TestNode.test1monotonic_init(), com.cliffc.aa.node.TestNode.test1monotonic_intrinsic(), com.cliffc.aa.node.TestNode.test1monotonic_prim(), and com.cliffc.aa.node.TestNode.testMonotonic().
|
private |
Definition at line 36 of file TestNode.java.
Referenced by com.cliffc.aa.node.TestNode.print(), com.cliffc.aa.node.TestNode.stx(), and com.cliffc.aa.node.TestNode.testMonotonic().
|
private |
Definition at line 29 of file TestNode.java.
Referenced by com.cliffc.aa.node.TestNode.make_minimal_graph(), and com.cliffc.aa.node.TestNode.testMonotonic().
|
private |
Definition at line 38 of file TestNode.java.
Referenced by com.cliffc.aa.node.TestNode.get(), com.cliffc.aa.node.TestNode.put(), com.cliffc.aa.node.TestNode.test1monotonic_init(), and com.cliffc.aa.node.TestNode.testMonotonic().
|
private |
Definition at line 49 of file TestNode.java.
Referenced by com.cliffc.aa.node.TestNode.pop(), and com.cliffc.aa.node.TestNode.push().
|
private |
Definition at line 50 of file TestNode.java.
Referenced by com.cliffc.aa.node.TestNode.pop(), com.cliffc.aa.node.TestNode.push(), and com.cliffc.aa.node.TestNode.test1monotonic_init().
|
staticprivate |
Definition at line 400 of file TestNode.java.
Referenced by com.cliffc.aa.node.TestNode.stx().