aa
|
Public Member Functions | |
void | testApprox1 () |
void | testApprox2 () |
void | testApprox3 () |
void | testApprox4 () |
void | testApprox5 () |
void | testApprox6 () |
void | testApprox7 () |
void | testApprox8 () |
void | testTSMeet () |
void | testType () |
Private Member Functions | |
void | check_leaf (TypeMemPtr p, int alias, TypeInt vt) |
Definition at line 11 of file TestApprox.java.
|
private |
Definition at line 483 of file TestApprox.java.
References com.cliffc.aa.type.TypeMemPtr._aliases, com.cliffc.aa.type.TypeMemPtr._obj, com.cliffc.aa.type.TypeStruct.at(), com.cliffc.aa.type.Type< T extends Type< T >.NIL, and com.cliffc.aa.type.Bits< B extends Bits< B >.test().
Referenced by com.cliffc.aa.type.TestApprox.testApprox4().
void com.cliffc.aa.type.TestApprox.testApprox1 | ( | ) |
Definition at line 54 of file TestApprox.java.
References com.cliffc.aa.type.TypeMemPtr._obj, com.cliffc.aa.type.TypeStruct.approx(), com.cliffc.aa.type.TypeStruct.at(), com.cliffc.aa.type.TypeInt.con(), com.cliffc.aa.type.TypeMemPtr.depth(), com.cliffc.aa.type.TypeFld.make(), com.cliffc.aa.type.TypeMemPtr.make(), com.cliffc.aa.type.TypeStruct.make(), com.cliffc.aa.type.TypeMemPtr.max(), com.cliffc.aa.type.BitsAlias.new_alias(), com.cliffc.aa.type.TypeInt.NINT8, com.cliffc.aa.type.BitsAlias.REC, and com.cliffc.aa.type.Type< T extends Type< T >.XNIL.
void com.cliffc.aa.type.TestApprox.testApprox2 | ( | ) |
Definition at line 124 of file TestApprox.java.
References com.cliffc.aa.type.TypeStruct._cyclic, com.cliffc.aa.type.TypeMemPtr._obj, com.cliffc.aa.type.TypeStruct.approx(), com.cliffc.aa.type.TypeStruct.at(), com.cliffc.aa.type.TypeStruct.compute_hash(), com.cliffc.aa.type.TypeInt.con(), com.cliffc.aa.type.TypeMemPtr.depth(), com.cliffc.aa.type.TypeStruct.fld(), com.cliffc.aa.type.TypeFlt.FLT64, com.cliffc.aa.type.TypeStruct.install_cyclic(), com.cliffc.aa.type.TypeInt.INT64, com.cliffc.aa.type.TypeFld.make(), com.cliffc.aa.type.TypeMemPtr.make(), com.cliffc.aa.type.TypeStruct.make(), com.cliffc.aa.type.BitsAlias.make0(), com.cliffc.aa.type.TypeFld.malloc(), com.cliffc.aa.type.TypeStruct.malloc(), com.cliffc.aa.type.TypeMemPtr.max(), com.cliffc.aa.type.BitsAlias.new_alias(), com.cliffc.aa.type.TypeStruct.reachable(), com.cliffc.aa.type.Type< T extends Type< T >.REAL, com.cliffc.aa.type.BitsAlias.REC, com.cliffc.aa.type.Type< T extends Type< T >.RECURSIVE_MEET, com.cliffc.aa.type.TypeFld.setX(), com.cliffc.aa.type.TypeFlds.ts(), com.cliffc.aa.type.TypeMemPtr.TYPES, and com.cliffc.aa.type.TypeStruct.TYPES.
void com.cliffc.aa.type.TestApprox.testApprox3 | ( | ) |
Definition at line 233 of file TestApprox.java.
References com.cliffc.aa.type.TypeStruct._cyclic, com.cliffc.aa.type.TypeMemPtr._obj, com.cliffc.aa.type.TypeStruct.approx(), com.cliffc.aa.type.TypeStruct.at(), com.cliffc.aa.type.TypeStruct.compute_hash(), com.cliffc.aa.type.TypeStr.con(), com.cliffc.aa.type.TypeMemPtr.depth(), com.cliffc.aa.type.TypeStruct.fld(), com.cliffc.aa.type.TypeStruct.install_cyclic(), com.cliffc.aa.type.TypeFld.make(), com.cliffc.aa.type.TypeMemPtr.make(), com.cliffc.aa.type.TypeStruct.make(), com.cliffc.aa.type.TypeFld.malloc(), com.cliffc.aa.type.TypeStruct.malloc(), com.cliffc.aa.type.TypeMemPtr.max(), com.cliffc.aa.type.Type< T extends Type< T >.meet(), com.cliffc.aa.type.BitsAlias.new_alias(), com.cliffc.aa.type.Type< T extends Type< T >.NIL, com.cliffc.aa.type.TypeStruct.reachable(), com.cliffc.aa.type.BitsAlias.REC, com.cliffc.aa.type.Type< T extends Type< T >.RECURSIVE_MEET, com.cliffc.aa.type.TypeFld.setX(), com.cliffc.aa.type.TypeFlds.ts(), and com.cliffc.aa.type.Type< T extends Type< T >.XNIL.
void com.cliffc.aa.type.TestApprox.testApprox4 | ( | ) |
Definition at line 401 of file TestApprox.java.
References com.cliffc.aa.type.TypeMemPtr._obj, com.cliffc.aa.type.TypeStruct.approx(), com.cliffc.aa.type.TypeStruct.at(), com.cliffc.aa.type.TestApprox.check_leaf(), com.cliffc.aa.type.TypeInt.con(), com.cliffc.aa.type.TypeMemPtr.depth(), com.cliffc.aa.type.TypeFld.make(), com.cliffc.aa.type.TypeMemPtr.make(), com.cliffc.aa.type.TypeStruct.make(), com.cliffc.aa.type.TypeMemPtr.max(), com.cliffc.aa.type.BitsAlias.new_alias(), com.cliffc.aa.type.Type< T extends Type< T >.NIL, com.cliffc.aa.type.TypeInt.NINT8, and com.cliffc.aa.type.BitsAlias.REC.
void com.cliffc.aa.type.TestApprox.testApprox5 | ( | ) |
Definition at line 505 of file TestApprox.java.
References com.cliffc.aa.type.TypeStruct.approx(), com.cliffc.aa.type.TypeMemPtr.depth(), com.cliffc.aa.type.TypeFld.make(), com.cliffc.aa.type.TypeMemPtr.make(), com.cliffc.aa.type.TypeStruct.make(), com.cliffc.aa.type.TypeMemPtr.max(), com.cliffc.aa.type.BitsAlias.new_alias(), com.cliffc.aa.type.BitsAlias.REC, and com.cliffc.aa.type.Type< T extends Type< T >.SCALAR.
void com.cliffc.aa.type.TestApprox.testApprox6 | ( | ) |
Definition at line 539 of file TestApprox.java.
References com.cliffc.aa.type.TypeStruct._cyclic, com.cliffc.aa.type.TypeStruct.approx(), com.cliffc.aa.type.TypeStruct.at(), com.cliffc.aa.type.TypeStruct.compute_hash(), com.cliffc.aa.type.TypeStruct.fld(), com.cliffc.aa.type.TypeStruct.install_cyclic(), com.cliffc.aa.type.TypeFld.make(), com.cliffc.aa.type.TypeStruct.make(), com.cliffc.aa.type.TypeMemPtr.make_nil(), com.cliffc.aa.type.TypeFld.malloc(), com.cliffc.aa.type.TypeStruct.malloc(), com.cliffc.aa.type.BitsAlias.new_alias(), com.cliffc.aa.type.TypeStruct.reachable(), com.cliffc.aa.type.BitsAlias.REC, com.cliffc.aa.type.Type< T extends Type< T >.RECURSIVE_MEET, com.cliffc.aa.type.Type< T extends Type< T >.SCALAR, com.cliffc.aa.type.TypeFld.setX(), com.cliffc.aa.type.TypeFlds.ts(), com.cliffc.aa.type.TypeMemPtr.TYPES, com.cliffc.aa.type.TypeStruct.TYPES, and com.cliffc.aa.type.Type< T extends Type< T >.XNIL.
void com.cliffc.aa.type.TestApprox.testApprox7 | ( | ) |
Definition at line 586 of file TestApprox.java.
References com.cliffc.aa.type.TypeStruct.approx(), com.cliffc.aa.type.TypeInt.con(), com.cliffc.aa.type.TypeFld.fldBot, com.cliffc.aa.type.TypeFld.make(), com.cliffc.aa.type.TypeMemPtr.make(), com.cliffc.aa.type.TypeStruct.make(), com.cliffc.aa.type.BitsAlias.make0(), com.cliffc.aa.type.Bits< B extends Bits< B >.meet_nil(), com.cliffc.aa.type.BitsAlias.new_alias(), com.cliffc.aa.type.TypeFld.NO_DISP, com.cliffc.aa.type.BitsAlias.REC, and com.cliffc.aa.type.BitsAlias.RECORD_BITS0.
void com.cliffc.aa.type.TestApprox.testApprox8 | ( | ) |
Definition at line 685 of file TestApprox.java.
References com.cliffc.aa.type.TypeStruct._cyclic, com.cliffc.aa.Env.ALL_DISPLAYS, com.cliffc.aa.type.BitsFun.ANY, com.cliffc.aa.type.TypeStruct.approx(), com.cliffc.aa.type.TypeStruct.compute_hash(), com.cliffc.aa.type.TypeFunPtr.DISP, com.cliffc.aa.type.TypeMemPtr.DISP_FLD, com.cliffc.aa.type.TypeMemPtr.DISPLAY_PTR, com.cliffc.aa.type.Bits< B extends Bits< B >.dual(), com.cliffc.aa.type.TypeStruct.fld(), com.cliffc.aa.Env.GVN, com.cliffc.aa.type.TypeStruct.install_cyclic(), com.cliffc.aa.type.TypeInt.INT64, com.cliffc.aa.type.TypeFld.make(), com.cliffc.aa.type.TypeMemPtr.make(), com.cliffc.aa.type.TypeFunPtr.make(), com.cliffc.aa.type.TypeStruct.make(), com.cliffc.aa.type.BitsFun.make0(), com.cliffc.aa.type.TypeFld.malloc(), com.cliffc.aa.type.TypeStruct.malloc(), com.cliffc.aa.type.BitsAlias.new_alias(), com.cliffc.aa.type.BitsFun.new_fidx(), com.cliffc.aa.type.TypeStruct.reachable(), com.cliffc.aa.type.BitsAlias.REC, com.cliffc.aa.type.Type< T extends Type< T >.RECURSIVE_MEET, com.cliffc.aa.type.Type< T extends Type< T >.SCALAR, com.cliffc.aa.type.TypeFld.setX(), com.cliffc.aa.type.TypeMemPtr.simple_ptr(), com.cliffc.aa.type.TypeFlds.ts(), com.cliffc.aa.type.TypeFunPtr.TYPES, and com.cliffc.aa.type.TypeStruct.TYPES.
void com.cliffc.aa.type.TestApprox.testTSMeet | ( | ) |
Definition at line 17 of file TestApprox.java.
References com.cliffc.aa.type.TypeStruct._cyclic, com.cliffc.aa.type.TypeMemPtr._obj, com.cliffc.aa.type.TypeStruct.at(), com.cliffc.aa.type.TypeStruct.compute_hash(), com.cliffc.aa.type.TypeStruct.fld(), com.cliffc.aa.type.TypeFlt.FLT64, com.cliffc.aa.type.TypeStruct.install_cyclic(), com.cliffc.aa.type.TypeInt.INT64, com.cliffc.aa.type.TypeFld.make(), com.cliffc.aa.type.TypeMemPtr.make(), com.cliffc.aa.type.TypeFld.malloc(), com.cliffc.aa.type.TypeStruct.malloc(), com.cliffc.aa.type.BitsAlias.new_alias(), com.cliffc.aa.type.TypeStruct.reachable(), com.cliffc.aa.type.Type< T extends Type< T >.REAL, com.cliffc.aa.type.BitsAlias.REC, com.cliffc.aa.type.Type< T extends Type< T >.RECURSIVE_MEET, com.cliffc.aa.type.TypeStruct.repeats_in_cycles(), com.cliffc.aa.type.TypeFld.setX(), com.cliffc.aa.type.TypeFlds.ts(), com.cliffc.aa.type.TypeMemPtr.TYPES, and com.cliffc.aa.type.TypeStruct.TYPES.
void com.cliffc.aa.type.TestApprox.testType | ( | ) |
Definition at line 13 of file TestApprox.java.