aa
|
Public Member Functions | |
void | testBits () |
void | testBits0 () |
void | testCommuteSymmetricAssociative () |
void | testCrush () |
void | testFunction () |
void | testLoad () |
void | testNameCycle () |
void | testNamesInts () |
void | testOOPsNulls () |
void | testRecursive () |
void | testStructTuple () |
void | testType () |
Private Member Functions | |
void | testCrush0 (TypeObj ti, TypeObj tj) |
Definition at line 14 of file TestType.java.
void com.cliffc.aa.type.TestType.testBits | ( | ) |
Definition at line 58 of file TestType.java.
References com.cliffc.aa.type.TypeMemPtr.ABCPTR, com.cliffc.aa.type.Type< T extends Type< T >.isa(), com.cliffc.aa.type.Type< T extends Type< T >.join(), com.cliffc.aa.type.Type< T extends Type< T >.meet(), com.cliffc.aa.type.TypeMemPtr.STR0, com.cliffc.aa.type.TypeMemPtr.STRPTR, and com.cliffc.aa.type.TypeMemPtr.STRUCT.
void com.cliffc.aa.type.TestType.testBits0 | ( | ) |
Definition at line 26 of file TestType.java.
References com.cliffc.aa.type.Type< T extends Type< T >.isa(), com.cliffc.aa.type.TypeMemPtr.OOP0, com.cliffc.aa.type.TypeMemPtr.STRUCT0, and com.cliffc.aa.type.Type< T extends Type< T >.XNIL.
void com.cliffc.aa.type.TestType.testCommuteSymmetricAssociative | ( | ) |
Definition at line 551 of file TestType.java.
References com.cliffc.aa.type.Type< T extends Type< T >.check_startup().
void com.cliffc.aa.type.TestType.testCrush | ( | ) |
Definition at line 515 of file TestType.java.
References com.cliffc.aa.type.TypeStruct.A, com.cliffc.aa.type.TypeStr.ABC, com.cliffc.aa.type.TypeStruct.ALLSTRUCT, com.cliffc.aa.type.TypeStruct.ARW, com.cliffc.aa.type.TypeMemPtr.DISPLAY, com.cliffc.aa.type.Type< T extends Type< T >.dual(), com.cliffc.aa.type.TypeStruct.INT64_INT64, com.cliffc.aa.type.TypeObj< O extends TypeObj< O >.ISUSED, com.cliffc.aa.type.TypeStruct.NAMEPT, com.cliffc.aa.type.TypeObj< O extends TypeObj< O >.OBJ, com.cliffc.aa.type.TypeStruct.POINT, com.cliffc.aa.type.TypeStr.STR, and com.cliffc.aa.type.TestType.testCrush0().
Definition at line 542 of file TestType.java.
References com.cliffc.aa.type.TypeObj< O extends TypeObj< O >.crush(), and com.cliffc.aa.type.Type< T extends Type< T >.isa().
Referenced by com.cliffc.aa.type.TestType.testCrush().
void com.cliffc.aa.type.TestType.testFunction | ( | ) |
Definition at line 288 of file TestType.java.
References com.cliffc.aa.type.BitsFun.ALL, com.cliffc.aa.type.Type< T extends Type< T >.dual(), com.cliffc.aa.type.TypeFunPtr.fidx(), com.cliffc.aa.type.TypeFunPtr.GENERIC_FUNPTR, com.cliffc.aa.type.Type< T extends Type< T >.isa(), com.cliffc.aa.type.TypeFunPtr.make(), com.cliffc.aa.type.BitsFun.make0(), com.cliffc.aa.type.TypeFunPtr.make_new_fidx(), com.cliffc.aa.type.Bits< B extends Bits< B >.meet(), com.cliffc.aa.type.Type< T extends Type< T >.meet(), and com.cliffc.aa.node.PrimNode.PRIMS.
void com.cliffc.aa.type.TestType.testLoad | ( | ) |
Definition at line 473 of file TestType.java.
References com.cliffc.aa.type.TypeMemPtr.ABCPTR, com.cliffc.aa.type.TypeMem.ALLMEM, com.cliffc.aa.type.TypeMem.ANYMEM, com.cliffc.aa.type.Type< T extends Type< T >.dual(), com.cliffc.aa.type.TypeMemPtr.make(), com.cliffc.aa.type.TypeMem.MEM, com.cliffc.aa.type.TypeMem.MEM_ABC, com.cliffc.aa.type.TypeMemPtr.STRPTR, com.cliffc.aa.type.TypeStruct.TYPES, and com.cliffc.aa.type.TypeObj< O extends TypeObj< O >.XOBJ.
void com.cliffc.aa.type.TestType.testNameCycle | ( | ) |
Definition at line 433 of file TestType.java.
References com.cliffc.aa.type.TypeMemPtr._aliases, 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.INT32, 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.Type< T extends Type< T >.meet(), com.cliffc.aa.type.TypeStruct.reachable(), com.cliffc.aa.type.BitsAlias.REC, com.cliffc.aa.type.BitsAlias.RECORD_BITS, 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.TestType.testNamesInts | ( | ) |
Definition at line 92 of file TestType.java.
References com.cliffc.aa.type.Type< T extends Type< T >.dual(), com.cliffc.aa.type.TypeInt.FALSE, com.cliffc.aa.type.TypeInt.INT16, com.cliffc.aa.type.TypeInt.INT8, com.cliffc.aa.type.Type< T extends Type< T >.meet(), com.cliffc.aa.type.Type< T extends Type< T >.set_name(), and com.cliffc.aa.type.TypeInt.TRUE.
void com.cliffc.aa.type.TestType.testOOPsNulls | ( | ) |
Definition at line 142 of file TestType.java.
References com.cliffc.aa.type.TypeMemPtr._aliases, com.cliffc.aa.type.TypeStr.ABC, com.cliffc.aa.type.TypeMemPtr.ABC0, com.cliffc.aa.type.TypeMemPtr.ABCPTR, com.cliffc.aa.type.Type< T extends Type< T >.ALL, com.cliffc.aa.type.TypeStruct.ALLSTRUCT, com.cliffc.aa.type.Type< T extends Type< T >.ANY, com.cliffc.aa.type.Type< T extends Type< T >.dual(), com.cliffc.aa.type.TypeInt.FALSE, com.cliffc.aa.type.TypeInt.INT8, com.cliffc.aa.type.Type< T extends Type< T >.isa(), com.cliffc.aa.type.TypeMem.ld(), com.cliffc.aa.type.TypeMemPtr.make(), com.cliffc.aa.type.TypeStruct.make(), com.cliffc.aa.type.Type< T extends Type< T >.meet(), com.cliffc.aa.type.Bits< B extends Bits< B >.meet_nil(), com.cliffc.aa.type.TypeMem.MEM, com.cliffc.aa.type.TypeMem.MEM_ABC, com.cliffc.aa.type.Type< T extends Type< T >.NIL, com.cliffc.aa.type.Type< T extends Type< T >.NSCALR, com.cliffc.aa.type.TypeMemPtr.OOP, com.cliffc.aa.type.TypeMemPtr.OOP0, com.cliffc.aa.type.BitsAlias.REC, com.cliffc.aa.type.TypeStr.STR, com.cliffc.aa.type.TypeMemPtr.STR0, com.cliffc.aa.type.TypeMemPtr.STRPTR, com.cliffc.aa.type.TypeMemPtr.STRUCT, com.cliffc.aa.type.TypeMemPtr.STRUCT0, com.cliffc.aa.type.BitsAlias.type_alias(), and com.cliffc.aa.type.Type< T extends Type< T >.XNIL.
void com.cliffc.aa.type.TestType.testRecursive | ( | ) |
Definition at line 324 of file TestType.java.
References com.cliffc.aa.type.TypeMemPtr._aliases, com.cliffc.aa.type.TypeStruct._cyclic, com.cliffc.aa.type.TypeFld._fld, com.cliffc.aa.type.TypeStruct.ALLSTRUCT, 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.TypeFld.fldBot, com.cliffc.aa.type.TypeFlt.FLT64, com.cliffc.aa.type.TypeStruct.install_cyclic(), com.cliffc.aa.type.TypeInt.INT64, com.cliffc.aa.type.TypeMem.ld(), com.cliffc.aa.type.TypeFld.make(), com.cliffc.aa.type.TypeMemPtr.make(), com.cliffc.aa.type.TypeMem.make(), com.cliffc.aa.type.TypeStruct.make(), com.cliffc.aa.type.TypeMem.make0(), com.cliffc.aa.type.TypeMemPtr.make_nil(), 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.TypeObj< O extends TypeObj< O >.OBJ, 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.TypeFld.setX(), com.cliffc.aa.type.Bits< B extends Bits< B >.test(), com.cliffc.aa.type.TypeFlds.ts(), and com.cliffc.aa.type.TypeObj< O extends TypeObj< O >.XOBJ.
void com.cliffc.aa.type.TestType.testStructTuple | ( | ) |
Definition at line 251 of file TestType.java.
References com.cliffc.aa.type.BitsAlias.ALL, com.cliffc.aa.util.Ary< E >.asAry(), com.cliffc.aa.type.Type< T extends Type< T >.dual(), com.cliffc.aa.type.Type< T extends Type< T >.isa(), com.cliffc.aa.type.Type< T extends Type< T >.join(), com.cliffc.aa.type.TypeMem.ld(), com.cliffc.aa.type.TypeFld.make(), com.cliffc.aa.type.TypeMemPtr.make(), com.cliffc.aa.type.TypeStruct.make(), com.cliffc.aa.type.TypeMem.make0(), com.cliffc.aa.type.TypeMemPtr.make_nil(), com.cliffc.aa.type.Type< T extends Type< T >.meet(), com.cliffc.aa.type.Type< T extends Type< T >.NIL, com.cliffc.aa.type.TypeFld.NO_DISP, com.cliffc.aa.type.TypeObj< O extends TypeObj< O >.OBJ, com.cliffc.aa.type.BitsAlias.REC, com.cliffc.aa.util.Ary< E >.setX(), com.cliffc.aa.type.TypeStruct.TFLT64, com.cliffc.aa.type.TypeInt.TRUE, com.cliffc.aa.type.Types.ts(), and com.cliffc.aa.type.BitsAlias.type_alias().
void com.cliffc.aa.type.TestType.testType | ( | ) |
Definition at line 16 of file TestType.java.
References com.cliffc.aa.type.TypeStruct.approx(), 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.TypeFld.NO_DISP, and com.cliffc.aa.type.Type< T extends Type< T >.XSCALAR.