Lines Matching defs:subklass
2296 Node* GraphKit::gen_subtype_check(Node* subklass, Node* superklass) {
2300 if (subklass == superklass)
2305 ciKlass* subk = _gvn.type(subklass)->is_klassptr()->klass();
2328 Node* cmp = _gvn.transform( new(C) CmpPNode(subklass, superklass) );
2342 // if the subklass is the unique subtype of the superklass, the check
2358 Node *p2 = _gvn.transform( new (C) AddPNode(subklass,subklass,chk_off_X) );
2370 // time. Test to see if the value loaded just previously from the subklass
2380 // subklass. In this case we need exactly the 1 test above and we can
2398 // check-offset points into the subklass display list or the 1-element
2411 Node *cmp3 = _gvn.transform( new (C) CmpPNode( subklass, superklass ) );
2439 new (C) PartialSubtypeCheckNode(control(), subklass, superklass) );
2455 // (1) subklass is already limited to a subtype of superklass => always ok
2456 // (2) subklass does not overlap with superklass => always fail