Lines Matching refs:klass
216 toop->klass() != NULL &&
217 toop->klass()->is_java_lang_Object() &&
814 case Op_LoadP: // Loading from within a klass
815 case Op_LoadN: // Loading from within a klass
816 case Op_LoadKlass: // Loading from within a klass
817 case Op_LoadNKlass: // Loading from within a klass
818 case Op_ConP: // Loading from a klass
819 case Op_ConN: // Loading from a klass
1128 ciSymbol* klass = field->holder()->name();
1131 klass == ciSymbol::java_lang_Integer_IntegerCache()) {
1142 ciSymbol* klass = field->holder()->name();
1145 klass == ciSymbol::java_lang_Integer_IntegerCache()) {
1150 ciInstanceKlass* ik = box->klass()->as_instance_klass();
1168 ciSymbol* klass = field->holder()->name();
1171 klass == ciSymbol::java_lang_Integer()) {
1514 ciKlass* klass) const {
1519 return TypeInt::make(klass->modifier_flags());
1525 return TypeInt::make(klass->access_flags());
1530 return TypeInt::make(klass->layout_helper());
1605 ciKlass* klass = tinst->klass();
1608 tp->is_oopptr()->klass()->is_java_lang_Object() ||
1613 if (klass == env->String_klass() &&
1641 ciField* field = call_site->klass()->as_instance_klass()->get_field_by_offset(off, /*is_static=*/ false);
1664 tp->is_klassptr()->klass()->is_java_lang_Object() ||
1669 // For klass/static loads, we expect the _type to be precise
1674 ciKlass* klass = tkls->klass();
1675 if (klass->is_loaded() && tkls->klass_is_exact()) {
1683 return TypeInt::make(klass->super_check_offset());
1691 assert(Opcode() == Op_LoadKlass, "must load a klass from _primary_supers");
1692 ciKlass *ss = klass->super_of_depth(depth);
1695 const Type* aift = load_array_final_field(tkls, klass);
1698 && klass->is_array_klass()) {
1702 return TypeInstPtr::make(klass->as_array_klass()->component_mirror());
1708 return TypeInstPtr::make(klass->java_mirror());
1713 // shallow enough depth. Even though the klass is not exact, entries less
1715 if (klass->is_loaded() ) {
1716 ciType *inner = klass->klass();
1725 depth <= klass->super_depth() ) { // allow self-depth checks to handle self-check case
1728 assert(Opcode() == Op_LoadKlass, "must load a klass from _primary_supers");
1729 ciKlass *ss = klass->super_of_depth(depth);
1739 && !klass->is_array_klass() // not directly typed as an array
1740 && !klass->is_interface() // specifically not Serializable & Cloneable
1741 && !klass->is_java_lang_Object() // not the supertype of all T[]
1744 // test to (klass != Serializable && klass != Cloneable).
1945 // Return a more precise klass, if possible
1948 ciInstanceKlass* ik = tinst->klass()->as_instance_klass();
1958 // constant oop => constant klass
1963 // a primitive Class (e.g., int.class) has NULL for a klass field
1986 // Return precise klass
1990 // Return root of possible klass
1995 // Check for loading klass from an array
1998 ciKlass *tary_klass = tary->klass();
2004 ciArrayKlass *ak = tary->klass()->as_array_klass();
2005 // If the klass is an object array, we defer the question to the
2006 // array component klass.
2019 // Return precise array klass
2032 // Check for loading klass from an array klass
2035 ciKlass* klass = tkls->klass();
2036 if( !klass->is_loaded() )
2038 if( klass->is_obj_array_klass() &&
2040 ciKlass* elem = klass->as_obj_array_klass()->element_klass();
2049 if( klass->is_instance_klass() && tkls->klass_is_exact() &&
2051 ciKlass* sup = klass->as_instance_klass()->super();
2064 // Also feed through the klass in Allocate(...klass...)._klass.
2082 // We can fetch the klass directly through an AllocateNode.
2083 // This works even if the klass is not constant (clone or newArray).
2101 if (toop->isa_instptr() && toop->klass() == phase->C->env()->Class_klass()
2110 && (tkls->klass()->is_instance_klass() ||
2111 tkls->klass()->is_array_klass())
2140 // Also feed through the klass in Allocate(...klass...)._klass.
2931 // alloc = (Allocate ctl mem* 16 #short[].klass ...)
3856 ciKlass* k = phase->type(klass_node)->is_klassptr()->klass();