| 50 | public static final Type CONTROL = new Type( TCTRL ).intern(); // Ctrl |
| 51 | public static final Type XCONTROL = new Type( TXCTRL ).intern(); // ~Ctrl |
| 52 | public static Type[] gather() { |
| 53 | ArrayList<Type> ts = new ArrayList<>(); |
| 54 | ts.add(BOTTOM); |
| 55 | ts.add(CONTROL); |
| 56 | Field.gather(ts); |
| 57 | TypeInteger.gather(ts); |
| 58 | TypeMem.gather(ts); |
| 59 | TypeMemPtr.gather(ts); |
| 60 | TypeStruct.gather(ts); |
| 61 | TypeTuple.gather(ts); |
| 62 | int sz = ts.size(); |
| 63 | for( int i = 0; i < sz; i++ ) |
| 64 | ts.add(ts.get(i).dual()); |
| 65 | return ts.toArray(new Type[ts.size()]); |
| 66 | } |
| 67 | |
| 68 | // Is high or on the lattice centerline. |
| 69 | public boolean isHighOrConst() { return _type==TTOP || _type==TXCTRL; } |