Lines Matching defs:hi
1094 TypeInt::TypeInt( jint lo, jint hi, int w ) : Type(Int), _lo(lo), _hi(hi), _widen(w) {
1102 static int normalize_int_widen( jint lo, jint hi, int w ) {
1105 if (lo <= hi) {
1106 if ((juint)(hi - lo) <= SMALLINT) w = Type::WidenMin;
1107 if ((juint)(hi - lo) >= max_juint) w = Type::WidenMax; // TypeInt::INT
1109 if ((juint)(lo - hi) <= SMALLINT) w = Type::WidenMin;
1110 if ((juint)(lo - hi) >= max_juint) w = Type::WidenMin; // dual TypeInt::INT
1115 const TypeInt *TypeInt::make( jint lo, jint hi, int w ) {
1116 w = normalize_int_widen(lo, hi, w);
1117 return (TypeInt*)(new TypeInt(lo,hi,w))->hashcons();
1160 // Dual: reverse hi & lo; flip widen
1349 TypeLong::TypeLong( jlong lo, jlong hi, int w ) : Type(Long), _lo(lo), _hi(hi), _widen(w) {
1357 static int normalize_long_widen( jlong lo, jlong hi, int w ) {
1360 if (lo <= hi) {
1361 if ((julong)(hi - lo) <= SMALLINT) w = Type::WidenMin;
1362 if ((julong)(hi - lo) >= max_julong) w = Type::WidenMax; // TypeLong::LONG
1364 if ((julong)(lo - hi) <= SMALLINT) w = Type::WidenMin;
1365 if ((julong)(lo - hi) >= max_julong) w = Type::WidenMin; // dual TypeLong::LONG
1370 const TypeLong *TypeLong::make( jlong lo, jlong hi, int w ) {
1371 w = normalize_long_widen(lo, hi, w);
1372 return (TypeLong*)(new TypeLong(lo,hi,w))->hashcons();
1416 // Dual: reverse hi & lo; flip widen
3408 jint hi = size->_hi;
3415 if (hi > max_hi) { hi = max_hi; chg = true; }
3417 if (lo > hi)
3421 return TypeInt::make(lo, hi, Type::WidenMin);