Lines Matching refs:assert

55   assert(oop_null->_idx < nodes_size(), "should be created already");
60 assert(noop_null->_idx < nodes_size(), "should be created already");
210 assert(ptn->as_LocalVar()->edge_count() > 0, "sanity");
259 assert(C->unique() == nodes_size(), "no new ideal nodes should be added during ConnectionGraph build");
260 assert(null_obj->escape_state() == PointsToNode::NoEscape &&
289 assert(ptn->escape_state() == PointsToNode::NoEscape && ptn->scalar_replaceable(), "sanity");
329 assert(_igvn->type(adr)->isa_rawptr(), "sanity");
331 assert((ptnode_adr(adr->_idx) == NULL ||
343 assert(!_verify, "this method should not be called for verification");
522 assert(adr->is_AddP(), "expecting an AddP");
526 assert(offs != Type::OffsetBot, "offset must be a constant");
562 assert(false, "not unsafe or G1 barrier raw StoreP");
594 assert(false, name); \
613 assert(n->is_Store() || n->is_LoadStore() ||
621 assert(ptn_base != NULL, "field's base should be registered");
644 assert(ptn != NULL, "node should be registered");
675 assert(ptn != NULL, "node should be registered");
720 assert(adr_type != NULL, "dead node should not be on list");
735 assert(adr_ptn != NULL &&
739 assert(ptn != NULL, "node should be registered");
746 assert(ptn != NULL, "node should be registered");
750 assert(adr_ptn != NULL, "node should be registered");
752 assert(adr_ptn->as_Field()->is_oop(), "should be oop field");
775 assert(at == Type::TOP || at == TypePtr::NULL_PTR ||
781 assert(ptn != NULL, "node should be registered");
800 assert(call->returns_pointer(), "only for call which returns pointer");
805 assert(kt != NULL, "TypeKlassPtr required.");
859 assert(strncmp(name, "_multianewarray", 15) == 0, "TODO: add failed case check");
907 assert(call->Opcode() == Op_CallDynamicJava, "add failed case check");
920 assert(false, "should be done already");
957 assert(arg_ptn != NULL, "should be registered");
960 assert(aat == Type::TOP || aat == TypePtr::NULL_PTR ||
1033 assert(src_ptn != NULL, "should be registered");
1052 assert((name == NULL || strcmp(name, "uncommon_trap") != 0), "normal calls only");
1072 assert(call_ptn->is_LocalVar(), "node should be registered");
1073 assert(arg_ptn != NULL, "node should be registered");
1093 assert(call_ptn->edge_count() > 0, "sanity");
1114 assert(ptnode_adr(arg->_idx) != NULL, "should be defined already");
1225 assert(ExitEscapeAnalysisOnTimeout, "infinite EA connection graph build (%f sec, %d iterations) with %d nodes and worklist size %d",
1245 assert(es <= PointsToNode::ArgEscape, "sanity");
1296 assert(ptn->arraycopy_dst(), "sanity");
1372 assert(!use->is_JavaObject(), "sanity");
1417 assert(field->is_oop(), "sanity");
1462 assert(base->is_JavaObject(), "sanity");
1473 assert(base->arraycopy_dst(), "sanity");
1490 assert(field->escape_state() == PointsToNode::NoEscape, "sanity");
1498 assert(base == null_obj, "only NULL ptr base expected here");
1511 assert(pta->escape_state() == PointsToNode::NoEscape, "Not escaped Allocate nodes only");
1519 assert(pta->arraycopy_dst() || alloc->as_CallStaticJava(), "sanity");
1523 assert(strncmp(name, "_multianewarray", 15) == 0, "sanity");
1540 assert(init_val == null_obj, "sanity");
1579 assert(adr_type->isa_rawptr() && base->is_Proj() &&
1601 assert((val != NULL), "should be processed already");
1612 assert(val->is_LocalVar() && (val->edge_count() > 0), "should be processed already");
1632 assert(!field->points_to(missed_obj->as_JavaObject()), "missed JavaObject reference");
1675 assert(field->is_oop() && field->scalar_replaceable(), "sanity");
1692 assert(use->is_Field() || use->is_LocalVar(), "sanity");
1779 assert(new_edges == 0, "graph was not complete");
1783 assert((non_escaped_length == non_escaped_worklist.length()) &&
1797 assert(field->has_base(ptn->as_JavaObject()), "sanity");
1799 assert(ptn->is_LocalVar(), "sanity");
1803 assert(field->has_base(e->as_JavaObject()), "sanity");
1829 assert(field->edge_count() > 0, "sanity");
1850 assert(!alock->is_eliminated() || alock->is_coarsened(), "sanity");
1898 assert (alloc->is_Allocate(), "storestore should point to AllocateNode");
1911 assert(OptimizePtrCompare, "sanity");
1916 assert(ptn1->is_JavaObject() || ptn1->is_LocalVar(), "sanity");
1917 assert(ptn2->is_JavaObject() || ptn2->is_LocalVar(), "sanity");
1995 assert(ptadr->is_LocalVar() && ptadr->ideal_node() == n, "sanity");
2006 assert(ptadr->is_JavaObject() && ptadr->ideal_node() == n, "sanity");
2017 assert(ptadr->is_Field() && ptadr->ideal_node() == n, "sanity");
2032 assert(!src->is_Field() && !dst->is_Field(), "only for JavaObject and LocalVar");
2033 assert((src != null_obj) && (dst != null_obj), "not for ConP NULL");
2036 assert(ptadr->is_Arraycopy() && ptadr->ideal_node() == n, "sanity");
2100 assert(!_collecting, "should not call when contructed graph");
2110 assert(ptn->is_LocalVar(), "sanity");
2136 assert(is_LocalVar(), "sanity");
2153 assert(!_collecting, "should not call during graph construction");
2167 assert(ptn->is_LocalVar(), "sanity");
2184 assert(is_LocalVar() || is_Field(), "sanity");
2201 assert(this->is_LocalVar() && ptn->is_LocalVar(), "sanity");
2232 assert(offs != Type::OffsetBot ||
2238 assert(t_ptr != NULL, "must be a pointer type");
2243 assert(addp->is_AddP(), "must be AddP");
2318 assert(base->in(AddPNode::Base)->uncast()->is_top(), "expected unsafe access address only");
2328 assert(opcode == Op_ConP || opcode == Op_ThreadLocal ||
2338 assert(addp->is_AddP() && addp->outcnt() > 0, "Don't process dead nodes");
2343 assert(addp->in(AddPNode::Base) == n, "expecting the same base");
2384 assert(base_t != NULL && base_t->is_known_instance(), "expecting instance oopptr");
2389 assert(igvn->type(addp) == TypeRawPtr::NOTNULL, "must be raw pointer");
2390 assert(addp->in(AddPNode::Address)->is_Proj(), "base of raw address must be result projection from allocation");
2392 assert(offs != Type::OffsetBot, "offset must be a constant");
2396 assert(!t->is_known_instance() || t->instance_id() == inst_id,
2434 assert(!abase->is_top(), "sanity"); // AddP case #3
2444 assert(adr->is_AddP() && atype != NULL &&
2483 assert(phi->_idx >= nodes_size(), "only new Phi per instance memory slice");
2513 assert(alias_idx != Compile::AliasIdxBot, "can't split out bottom memory");
2551 assert( phi->req() == result->req(), "must have same number of inputs.");
2552 assert( result->in(0) != NULL && result->in(0) == phi->in(0), "regions must match");
2558 assert((phi->in(i) == NULL) == (in == NULL), "inputs must correspond.");
2598 assert(tp != NULL, "ptr type");
2607 assert(n == mmem->memory_at(alias_idx), "should be on instance memory slice");
2614 assert(orig_uniq == C->unique(), "no new nodes");
2619 assert(!use->is_Initialize(), "initializing stores should not be moved");
2634 assert(orig_uniq == C->unique(), "no new nodes");
2648 assert(tp != NULL, "ptr type");
2650 assert(get_map(use->_idx) != NULL || idx == alias_idx,
2655 assert(tp != NULL, "ptr type");
2657 assert(idx == alias_idx, "Following Phi nodes should be on the same memory slice");
2660 assert(false, "should not be here");
2688 assert (at->isa_ptr() != NULL, "pointer type required.");
2764 assert(mem->Opcode() == Op_EncodeISOArray ||
2770 assert(at->isa_ptr() != NULL, "pointer type required.");
2774 assert(false, "Object is not scalar replaceable if a LoadStore node accesses its field");
2783 assert(at->isa_ptr() != NULL, "pointer type required.");
2787 assert(false, "Object is not scalar replaceable if a StrInflatedCopy node accesses its field");
2796 assert(mphi->bottom_type() == Type::MEMORY, "memory phi required");
2945 assert(!alloc->is_Allocate(), "allocation should have unique type");
3016 assert(tgt->is_Field() && use->is_AddP(),
3021 assert(alloc->is_AllocateArray(),"array allocation was expected");
3032 assert (raw_result != NULL, "must have an allocation result");
3038 assert(alloc->is_AllocateArray(),"array allocation was expected");
3053 assert(jobj != NULL && jobj != phantom_obj, "escaped allocation");
3066 assert(n->is_Phi(), "loops only through Phi's");
3073 assert(jobj != NULL && jobj != phantom_obj, "escaped allocation");
3081 assert(tinst != NULL && tinst->is_known_instance() &&
3103 assert(tn_type == TypePtr::NULL_PTR ||
3111 assert(false, "EA: unexpected node");
3138 assert(use->in(MemNode::Address) != n, "EA: missing allocation reference path");
3140 assert(_mergemem_worklist.contains(use->as_MergeMem()), "EA: missing MergeMem node in the worklist");
3146 assert(_mergemem_worklist.contains(m->as_MergeMem()), "EA: missing MergeMem node in the worklist");
3166 assert(false, "EA: missing allocation reference path");
3207 assert(unique_old == _compile->unique(), "there should be no new ideal nodes after Phase 1");
3229 assert(n->Opcode() == Op_SCMemProj, "memory projection required");
3231 assert(n->is_Mem(), "memory node required.");
3236 assert (addr_t->isa_ptr() != NULL, "pointer type required.");
3238 assert ((uint)alias_idx < new_index_end, "wrong alias index");
3253 assert(n->Opcode() == Op_SCMemProj, "memory projection required");
3271 assert(use->in(MemNode::Memory) != n, "EA: missing memory path");
3273 assert(_mergemem_worklist.contains(use->as_MergeMem()), "EA: missing MergeMem node in the worklist");
3293 assert(false, "EA: missing memory path");
3306 assert(!visited.test_set(nmm->_idx), "should not be visited before");
3323 assert (at->isa_ptr() != NULL, "pointer type required.");
3406 assert(nmem != NULL, "sanity");
3414 assert(n->in(MemNode::Memory) != nmem, "sanity");
3425 assert(n->is_Allocate() || n->is_CheckCastPP() ||
3435 assert(old_cnt == old_mem->outcnt(), "old mem could be lost");