Lines Matching refs:set_constant

73     case Bytecodes::_isub: set_constant(0); return;
74 case Bytecodes::_lsub: set_constant(jlong_cast(0)); return;
79 case Bytecodes::_ixor: set_constant(0); return;
80 case Bytecodes::_lxor: set_constant(jlong_cast(0)); return;
91 case Bytecodes::_iadd: set_constant(a + b); return;
92 case Bytecodes::_isub: set_constant(a - b); return;
93 case Bytecodes::_imul: set_constant(a * b); return;
97 set_constant(min_jint);
99 set_constant(a / b);
107 set_constant(0);
109 set_constant(a % b);
114 case Bytecodes::_iand: set_constant(a & b); return;
115 case Bytecodes::_ior : set_constant(a | b); return;
116 case Bytecodes::_ixor: set_constant(a ^ b); return;
124 case Bytecodes::_ladd: set_constant(a + b); return;
125 case Bytecodes::_lsub: set_constant(a - b); return;
126 case Bytecodes::_lmul: set_constant(a * b); return;
129 set_constant(SharedRuntime::ldiv(b, a));
135 set_constant(SharedRuntime::lrem(b, a));
139 case Bytecodes::_land: set_constant(a & b); return;
140 case Bytecodes::_lor : set_constant(a | b); return;
141 case Bytecodes::_lxor: set_constant(a ^ b); return;
159 case Bytecodes::_imul: set_constant(0); return;
162 case Bytecodes::_iand: set_constant(0); return;
172 case Bytecodes::_lmul: set_constant((jlong)0); return;
175 case Bytecodes::_land: set_constant((jlong)0); return;
233 set_constant(length->type()->as_IntConstant()->value());
244 set_constant(array->length());
281 case intTag : set_constant(-t->as_IntConstant ()->value()); return;
282 case longTag : set_constant(-t->as_LongConstant ()->value()); return;
283 case floatTag : set_constant(-t->as_FloatConstant ()->value()); return;
284 case doubleTag: set_constant(-t->as_DoubleConstant()->value()); return;
299 case intTag : if (t->as_IntConstant()->value() == 0) { set_constant(0); return; } break;
300 case longTag : if (t->as_LongConstant()->value() == (jlong)0) { set_constant(jlong_cast(0)); return; } break;
310 case Bytecodes::_ishl: set_constant(value << shift); return;
311 case Bytecodes::_ishr: set_constant(value >> shift); return;
312 case Bytecodes::_iushr: set_constant((value >> shift) & mask); return;
320 case Bytecodes::_lshl: set_constant(value << shift); return;
321 case Bytecodes::_lshr: set_constant(value >> shift); return;
322 case Bytecodes::_lushr: set_constant((value >> shift) & mask); return;
341 case longTag: set_constant(0); break;
346 set_constant(x->op() == Bytecodes::_fcmpl ? -1 : 1);
348 set_constant(0);
357 set_constant(x->op() == Bytecodes::_dcmpl ? -1 : 1);
359 set_constant(0);
371 set_constant(0);
373 set_constant(-1);
375 set_constant(1);
383 set_constant(x->op() == Bytecodes::_fcmpl ? -1 : 1);
385 set_constant(0);
387 set_constant(-1);
389 set_constant(1);
397 set_constant(x->op() == Bytecodes::_dcmpl ? -1 : 1);
399 set_constant(0);
401 set_constant(-1);
403 set_constant(1);
428 set_constant(v.get_jint());
437 set_constant(v.get_jfloat());
446 set_constant(v.get_jlong());
455 set_constant(v.get_jdouble());
476 set_constant(0);
487 case Bytecodes::_i2b: set_constant((int)((x->value()->type()->as_IntConstant()->value() << 24) >> 24)); break;
488 case Bytecodes::_i2s: set_constant((int)((x->value()->type()->as_IntConstant()->value() << 16) >> 16)); break;
489 case Bytecodes::_i2c: set_constant((int)(x->value()->type()->as_IntConstant()->value() & ((1<<16)-1))); break;
490 case Bytecodes::_i2l: set_constant((jlong)(x->value()->type()->as_IntConstant()->value())); break;
491 case Bytecodes::_i2f: set_constant((float)(x->value()->type()->as_IntConstant()->value())); break;
492 case Bytecodes::_i2d: set_constant((double)(x->value()->type()->as_IntConstant()->value())); break;
493 case Bytecodes::_l2i: set_constant((int)(x->value()->type()->as_LongConstant()->value())); break;
494 case Bytecodes::_l2f: set_constant(SharedRuntime::l2f(x->value()->type()->as_LongConstant()->value())); break;
495 case Bytecodes::_l2d: set_constant(SharedRuntime::l2d(x->value()->type()->as_LongConstant()->value())); break;
496 case Bytecodes::_f2d: set_constant((double)(x->value()->type()->as_FloatConstant()->value())); break;
497 case Bytecodes::_f2i: set_constant(SharedRuntime::f2i(x->value()->type()->as_FloatConstant()->value())); break;
498 case Bytecodes::_f2l: set_constant(SharedRuntime::f2l(x->value()->type()->as_FloatConstant()->value())); break;
499 case Bytecodes::_d2f: set_constant((float)(x->value()->type()->as_DoubleConstant()->value())); break;
500 case Bytecodes::_d2i: set_constant(SharedRuntime::d2i(x->value()->type()->as_DoubleConstant()->value())); break;
501 case Bytecodes::_d2l: set_constant(SharedRuntime::d2l(x->value()->type()->as_DoubleConstant()->value())); break;
596 set_constant(exact->is_subtype_of(x->klass()) ? 1 : 0);
601 set_constant(0);