Searched refs:is_constant (Results 1 - 25 of 49) sorted by relevance

12

/openjdk9/hotspot/src/share/vm/c1/
H A Dc1_ValueType.hpp122 virtual bool is_constant() const { return false; } function in class:ValueType
213 virtual bool is_constant() const { return true; } function in class:IntConstant
256 virtual bool is_constant() const { return true; } function in class:LongConstant
280 virtual bool is_constant() const { return true; } function in class:FloatConstant
304 virtual bool is_constant() const { return true; } function in class:DoubleConstant
332 virtual bool is_constant() const { return true; } function in class:ObjectConstant
354 virtual bool is_constant() const { return true; } function in class:ArrayConstant
390 virtual bool is_constant() const { return true; } function in class:InstanceConstant
425 virtual bool is_constant() const { return true; } function in class:ClassConstant
447 virtual bool is_constant() cons function in class:MethodConstant
469 virtual bool is_constant() const { return true; } function in class:MethodDataConstant
495 virtual bool is_constant() const { return true; } function in class:AddressConstant
[all...]
H A Dc1_ValueType.cpp107 assert(is_constant(), "must be");
112 assert(is_constant(), "must be");
117 assert(is_constant(), "must be");
H A Dc1_Canonicalizer.cpp66 if (x->x()->type()->is_constant() && x->is_commutative()) x->swap_operands();
84 if (x->x()->type()->is_constant() && x->y()->type()->is_constant()) {
151 if (x->y()->type()->is_constant()) {
320 if (t->is_constant()) {
338 if (t->is_constant()) {
344 if (t2->is_constant()) {
368 if (t2->is_constant()) {
406 } else if (x->x()->type()->is_constant() && x->y()->type()->is_constant()) {
[all...]
H A Dc1_LIRGenerator.cpp210 assert(value()->operand()->is_illegal() || value()->operand()->is_constant(), "operand should never change");
228 if (result()->is_constant()) {
240 if (!_result->is_constant()) {
274 assert(is_constant() && value() != NULL, "");
281 assert(is_constant() && value() != NULL, "");
288 assert(is_constant() && value() != NULL, "");
295 assert(is_constant() && value() != NULL, "");
302 assert(is_constant() && value() != NULL, "");
490 if (index->is_constant()) {
504 if (index->is_constant()) {
[all...]
H A Dc1_LIRAssembler.cpp716 if (op->in_opr2()->is_constant()) {
811 } else if (src->is_constant()) {
/openjdk9/hotspot/src/share/vm/ci/
H A DciField.hpp143 bool is_constant() const { return _is_constant; } function in class:ciField
149 return is_static() && is_constant() && constant_value().is_valid();
H A DciField.cpp283 assert(is_static() && is_constant(), "illegal call to constant_value()");
303 assert(!is_static() && is_constant(), "only if field is non-static constant");
411 tty->print(" is_constant=%s", bool_to_str(_is_constant));
/openjdk9/hotspot/src/cpu/ppc/vm/
H A Dassembler_ppc.cpp103 if (roc.is_constant()) {
122 if (roc.is_constant()) {
141 if (roc.is_constant()) {
160 if (roc.is_constant()) {
179 if (roc.is_constant()) {
198 if (roc.is_constant()) {
217 if (roc.is_constant()) {
238 if (roc.is_constant()) {
259 if (roc.is_constant()) {
280 if (roc.is_constant()) {
[all...]
H A Dc1_LIRGenerator_ppc.cpp56 if (!r->is_constant()) {
163 if (index->is_constant()) {
212 if (index_opr->is_constant()) {
523 assert(right.is_constant() || right.is_register(), "wrong state of right");
577 assert(right.is_constant() || right.is_register(), "wrong state of right");
692 if (!r->is_constant()) {
1195 if (yin->result()->is_constant() && yin->result()->type() == T_INT &&
1199 } else if (tag == longTag && yin->is_constant() && yin->get_jlong_constant() == 0 &&
1203 } else if (tag == objectTag && yin->is_constant() && (yin->get_jobject_constant()->is_null_object())) {
1401 if (off.result()->is_constant()) {
[all...]
/openjdk9/hotspot/src/cpu/aarch64/vm/
H A Dc1_LIRGenerator_aarch64.cpp55 if (r->is_constant()) {
146 if (index->is_constant()) {
194 if (index_opr->is_constant()) {
541 || ! right.is_constant()
590 if (right.is_constant()
600 if (right.is_constant()) {
643 if (right.is_constant()) {
729 if (right.is_constant()
796 if(offset.result()->is_constant()) {
984 if(off.result()->is_constant()) {
[all...]
H A Dc1_LIRAssembler_aarch64.cpp574 assert(src->is_constant(), "should not call otherwise");
690 assert(src->is_constant(), "should not call otherwise");
1641 if (opr1->is_constant() && opr2->is_constant()
1654 if (opr1->is_constant() && opr2->is_constant()
1670 } else if (opr1->is_constant()) {
1680 } else if (opr2->is_constant()) {
1722 } else if (right->is_constant()) {
1784 } else if (right->is_constant()) {
[all...]
/openjdk9/hotspot/src/cpu/s390/vm/
H A Dc1_LIRGenerator_s390.cpp55 if (!r->is_constant()) {
66 if (r->is_constant()) {
156 if (index->is_constant()) {
182 if (index_opr->is_constant()) {
313 if (value.result()->is_constant() && array_addr->index()->is_valid()) {
403 if (right.is_register() || right.is_constant()) {
461 if (divisor_opr->is_constant() && is_power_of_2(divisor_opr->as_jlong())) {
537 if (divisor_opr->is_constant() && is_power_of_2(divisor_opr->as_jint())) {
588 if (right_arg->is_constant()) {
636 bool must_load_count = !count.is_constant();
[all...]
H A Dc1_LIRAssembler_s390.cpp527 assert(src->is_constant(), "should not call otherwise");
571 assert(src->is_constant(), "should not call otherwise");
655 assert(src->is_constant(), "should not call otherwise");
749 } else if (addr->index()->is_constant()) {
1234 } else if (opr2->is_constant()) {
1275 } else if (opr2->is_constant()) {
1391 } else if (opr1->is_constant()) {
1397 if (VM_Version::has_LoadStoreConditional() && !opr2->is_constant()) {
1420 } else if (opr2->is_constant()) {
1456 } else if (right->is_constant()) {
[all...]
/openjdk9/hotspot/src/cpu/arm/vm/
H A Dc1_LIRGenerator_arm.cpp54 if (!r->is_constant()) {
282 if (index->is_constant()) {
299 assert(base->is_single_cpu() && !base->is_constant(), "base should be an non-constant int");
300 assert(index->is_illegal() || (index->type() == T_INT && !index->is_constant()), "index should be an non-constant int");
380 if (index_opr->is_constant()) {
769 if (x->is_commutative() && left.is_constant()) {
794 if (right_arg->is_constant() && is_power_of_2_long(right_arg->get_jlong_constant())) {
805 if (right_arg->is_constant()) {
871 if (x->is_commutative() && left.is_constant()) {
878 if (x->op() == Bytecodes::_idiv && right_arg->is_constant()
[all...]
H A Dc1_LIRAssembler_arm.cpp132 if (addr->index()->is_illegal() || addr->index()->is_constant()) {
134 if (addr->index()->is_constant()) {
375 assert(src->is_constant() && dest->is_register(), "must be");
444 assert(src->is_constant(), "must be");
1045 if (op->code() == lir_idiv && op->in_opr2()->is_constant() && is_32) {
1841 } else if (opr1->is_constant()) {
1854 } else if (opr2->is_constant()) {
1881 assert(opr1->is_constant(), "must be");
2030 assert(right->is_constant(), "must be");
2051 if (right->is_constant()) {
[all...]
H A Dassembler_arm.hpp163 if (offset.is_constant()) {
H A Dc1_MacroAssembler_arm.cpp190 assert(header_size.is_constant() || header_size.as_register() == ptr, "code assumption");
/openjdk9/hotspot/src/cpu/sparc/vm/
H A Dc1_LIRGenerator_sparc.cpp55 if (!r->is_constant()) {
153 if (index->is_constant()) {
202 if (index_opr->is_constant()) {
548 if (item->is_constant() && item->type() == T_INT) {
563 assert(right.is_constant() || right.is_register(), "wrong state of right");
603 if (count.is_constant() && count.type()->as_IntConstant() != NULL && value.type()->is_int()) {
820 if(off.result()->is_constant()) {
831 if (index->is_constant()) {
904 if(off.result()->is_constant()) {
915 if (index->is_constant()) {
[all...]
H A DmacroAssembler_sparc.cpp1962 if ((s2.is_constant() && s2.as_constant() == 0) ||
1966 if (d.is_constant()) d = temp;
1976 if (d.is_constant()) d = temp;
1982 if (d.is_constant()) d = temp;
1995 if ((s2.is_constant() && s2.as_constant() == 0) ||
1999 if (d.is_constant()) d = temp;
2009 if (d.is_constant()) d = temp;
2015 if (d.is_constant()) d = temp;
2029 if ((s2.is_constant() && s2.as_constant() == 0) ||
2033 if (d.is_constant())
[all...]
H A Dc1_LIRAssembler_sparc.cpp47 if (opr->is_constant()) {
131 (src->is_constant() && LIR_Assembler::is_small_constant(op->as_Op1()->in_opr())))) {
1526 if (opr2->is_constant()) {
1569 if (opr2->is_constant() && opr2->as_jlong() == 0) {
1594 assert (opr2->is_constant(), "Checking");
1642 if (opr1->is_constant() && opr1->type() == T_INT) {
1649 } else if (opr1->is_constant()) {
1665 if (opr1->is_constant() && opr1->type() == T_INT) {
1677 if (opr2->is_constant()) {
1775 assert (right->is_constant(), "mus
[all...]
/openjdk9/hotspot/src/share/vm/asm/
H A Dassembler.hpp169 intptr_t as_constant() const { assert(is_constant(),""); return _c; }
175 bool is_constant() const { return _r == noreg; } function in class:VALUE_OBJ_CLASS_SPEC
/openjdk9/hotspot/src/cpu/x86/vm/
H A Dc1_LIRGenerator_x86.cpp65 if (r->is_constant()) {
135 (v->type()->is_constant() && v->type()->as_ObjectType()->constant_value()->is_null_object());
153 if (index->is_constant()) {
168 if (index_opr->is_constant()) {
402 if (left.is_register() || x->x()->type()->is_constant() || must_load_both) {
412 if (right.is_constant()) {
605 if (right_arg->is_constant()) {
664 bool must_load_count = !count.is_constant() || elemType == longTag;
742 if(offset.result()->is_constant()) {
1088 if(off.result()->is_constant()) {
[all...]
H A Dc1_LIRAssembler_x86.cpp115 if (opr->is_constant()) {
199 } else if (opr->is_constant()) {
252 } else if (addr->index()->is_constant()) {
570 assert(src->is_constant(), "should not call otherwise");
666 assert(src->is_constant(), "should not call otherwise");
703 assert(src->is_constant(), "should not call otherwise");
1952 } else if (opr1->is_constant()) {
1958 if (VM_Version::supports_cmov() && !opr2->is_constant()) {
1984 } else if (opr2->is_constant()) {
2020 } else if (right->is_constant()) {
[all...]
/openjdk9/hotspot/src/share/vm/opto/
H A Dparse3.cpp152 if (field->is_constant() &&
/openjdk9/hotspot/src/share/vm/shark/
H A DsharkInliner.cpp729 if (field->is_constant() && field->is_static()) {

Completed in 319 milliseconds

12