< prev index next >

src/share/vm/opto/countbitsnode.cpp

Print this page

        

*** 27,37 **** #include "opto/opcodes.hpp" #include "opto/phaseX.hpp" #include "opto/type.hpp" //------------------------------Value------------------------------------------ ! const Type* CountLeadingZerosINode::Value(PhaseTransform* phase) const { const Type* t = phase->type(in(1)); if (t == Type::TOP) return Type::TOP; const TypeInt* ti = t->isa_int(); if (ti && ti->is_con()) { jint i = ti->get_con(); --- 27,37 ---- #include "opto/opcodes.hpp" #include "opto/phaseX.hpp" #include "opto/type.hpp" //------------------------------Value------------------------------------------ ! const Type* CountLeadingZerosINode::Value(PhaseGVN* phase) const { const Type* t = phase->type(in(1)); if (t == Type::TOP) return Type::TOP; const TypeInt* ti = t->isa_int(); if (ti && ti->is_con()) { jint i = ti->get_con();
*** 49,59 **** } return TypeInt::INT; } //------------------------------Value------------------------------------------ ! const Type* CountLeadingZerosLNode::Value(PhaseTransform* phase) const { const Type* t = phase->type(in(1)); if (t == Type::TOP) return Type::TOP; const TypeLong* tl = t->isa_long(); if (tl && tl->is_con()) { jlong l = tl->get_con(); --- 49,59 ---- } return TypeInt::INT; } //------------------------------Value------------------------------------------ ! const Type* CountLeadingZerosLNode::Value(PhaseGVN* phase) const { const Type* t = phase->type(in(1)); if (t == Type::TOP) return Type::TOP; const TypeLong* tl = t->isa_long(); if (tl && tl->is_con()) { jlong l = tl->get_con();
*** 72,82 **** } return TypeInt::INT; } //------------------------------Value------------------------------------------ ! const Type* CountTrailingZerosINode::Value(PhaseTransform* phase) const { const Type* t = phase->type(in(1)); if (t == Type::TOP) return Type::TOP; const TypeInt* ti = t->isa_int(); if (ti && ti->is_con()) { jint i = ti->get_con(); --- 72,82 ---- } return TypeInt::INT; } //------------------------------Value------------------------------------------ ! const Type* CountTrailingZerosINode::Value(PhaseGVN* phase) const { const Type* t = phase->type(in(1)); if (t == Type::TOP) return Type::TOP; const TypeInt* ti = t->isa_int(); if (ti && ti->is_con()) { jint i = ti->get_con();
*** 94,104 **** } return TypeInt::INT; } //------------------------------Value------------------------------------------ ! const Type* CountTrailingZerosLNode::Value(PhaseTransform* phase) const { const Type* t = phase->type(in(1)); if (t == Type::TOP) return Type::TOP; const TypeLong* tl = t->isa_long(); if (tl && tl->is_con()) { jlong l = tl->get_con(); --- 94,104 ---- } return TypeInt::INT; } //------------------------------Value------------------------------------------ ! const Type* CountTrailingZerosLNode::Value(PhaseGVN* phase) const { const Type* t = phase->type(in(1)); if (t == Type::TOP) return Type::TOP; const TypeLong* tl = t->isa_long(); if (tl && tl->is_con()) { jlong l = tl->get_con();
< prev index next >