/openjdk7/hotspot/src/share/vm/opto/ |
H A D | idealKit.cpp | 357 const TypePtr* adr_type = NULL; // debug-mode-only argument local 358 debug_only(adr_type = C->get_adr_type(adr_idx)); 362 ld = LoadLNode::make_atomic(C, ctl, mem, adr, adr_type, t); 364 ld = LoadNode::make(_gvn, ctl, mem, adr, adr_type, t, bt); 373 const TypePtr* adr_type = NULL; local 374 debug_only(adr_type = C->get_adr_type(adr_idx)); 378 st = StoreLNode::make_atomic(C, ctl, mem, adr, adr_type, val); 380 st = StoreNode::make(_gvn, ctl, mem, adr, adr_type, val, bt); 394 const TypePtr* adr_type = NULL; local 395 debug_only(adr_type 496 const TypePtr* adr_type = TypeRawPtr::BOTTOM; local 534 make_leaf_call_no_fp(const TypeFunc *slow_call_type, address slow_call, const char *leaf_name, const TypePtr* adr_type, Node* parm0, Node* parm1, Node* parm2, Node* parm3) argument [all...] |
H A D | multnode.cpp | 85 const TypePtr *ProjNode::adr_type() const { function in class:ProjNode 88 const TypePtr* adr_type = in(0)->adr_type(); local 91 assert(adr_type != NULL, "source must have adr_type"); 93 return adr_type;
|
H A D | machnode.cpp | 245 const Node* MachNode::get_base_and_disp(intptr_t &offset, const TypePtr* &adr_type) const { 274 adr_type = t_index->make_ptr()->add_offset(offset); 293 if( adr_type == TYPE_PTR_SENTINAL ) { 304 adr_type = t_disp->add_offset(offset); 309 adr_type = tp; 319 //---------------------------------adr_type--------------------------------- 320 const class TypePtr *MachNode::adr_type() const { function in class:MachNode 322 const TypePtr *adr_type = TYPE_PTR_SENTINAL; // attempt computing adr_type local 323 const Node *base = get_base_and_disp(offset, adr_type); 538 const TypePtr *MachProjNode::adr_type() const { function in class:MachProjNode 541 const TypePtr* adr_type = in(0)->adr_type(); local 577 const TypePtr *MachReturnNode::adr_type() const { function in class:MachReturnNode [all...] |
H A D | parse3.cpp | 176 const TypePtr* adr_type = C->alias_type(field)->adr_type(); local 203 Node* ld = make_load(NULL, adr, type, bt, adr_type, is_vol); 255 const TypePtr* adr_type = C->alias_type(field)->adr_type(); local 272 store = store_oop_to_object( control(), obj, adr, adr_type, val, field_type, bt); 274 store = store_to_memory( control(), adr, val, bt, adr_type, is_vol ); 283 int adr_idx = C->get_alias_index(adr_type); 407 const TypePtr* adr_type = TypeAryPtr::OOPS; local 414 store_oop_to_array(control(), array, eaddr, adr_type, ele local [all...] |
H A D | parseHelper.cpp | 340 const TypePtr* adr_type = TypeOopPtr::make_from_constant(method()); local 341 Node *methodOop_node = makecon(adr_type); 346 Node* cnt = make_load(NULL, adr_node, TypeInt::INT, T_INT, adr_type); 352 store_to_memory( NULL, adr_node, incr, T_INT, adr_type ); 366 const TypePtr* adr_type = TypeOopPtr::make_from_constant(md); local 367 Node* mdo = makecon(adr_type); 383 const TypePtr* adr_type = _gvn.type(adr_node)->is_ptr(); local 384 Node* cnt = make_load(NULL, adr_node, TypeInt::INT, T_INT, adr_type); 386 store_to_memory(NULL, adr_node, incr, T_INT, adr_type ); 393 const TypePtr* adr_type local 403 const TypePtr* adr_type = _gvn.type(adr_node)->is_ptr(); local [all...] |
H A D | multnode.hpp | 81 virtual const TypePtr *adr_type() const;
|
H A D | memnode.hpp | 58 debug_only(_adr_type=at; adr_type();) 63 debug_only(_adr_type=at; adr_type();) 68 debug_only(_adr_type=at; adr_type();) 87 virtual const class TypePtr *adr_type() const; // returns bottom_type of address 92 // Helper function for adr_type() implementations. 95 // Raw access function, to allow copying of adr_type efficiently in 129 static void dump_adr_type(const Node* mem, const TypePtr* adr_type, outputStream *st); 312 static LoadLNode* make_atomic(Compile *C, Node* ctl, Node* mem, Node* adr, const TypePtr* adr_type, const Type* rt); 382 virtual bool depends_only_on_test() const { return adr_type() != TypeRawPtr::BOTTOM; } 405 virtual bool depends_only_on_test() const { return adr_type() ! 637 virtual const TypePtr *adr_type() const { return in(0)->in(MemNode::Memory)->adr_type();} function in class:SCMemProjNode 659 virtual const class TypePtr *adr_type() const { return _adr_type; } // returns bottom_type of address function in class:LoadStoreNode 836 virtual const TypePtr* adr_type() const { return TypeAryPtr::CHARS; } function in class:StrIntrinsicNode 905 virtual const class TypePtr *adr_type() const { return _adr_type; } function in class:MemBarNode 1106 virtual const TypePtr *adr_type() const { return TypePtr::BOTTOM; } function in class:MergeMemNode 1233 const TypePtr* adr_type() const { function in class:MergeMemStream 1237 const TypePtr* adr_type(Compile* C) const { function in class:MergeMemStream [all...] |
H A D | callnode.hpp | 76 virtual const TypePtr *adr_type() const { return TypePtr::BOTTOM; } function in class:StartNode 323 const TypePtr* adr_type = NULL) 327 _adr_type(adr_type) 338 // The adr_type reports the call's behavior as a store, not a load. 431 virtual const TypePtr *adr_type() const { return _adr_type; } function in class:SafePointNode 523 CallNode(const TypeFunc* tf, address addr, const TypePtr* adr_type) argument 524 : SafePointNode(tf->domain()->cnt(), NULL, adr_type), 638 const TypePtr* adr_type) 642 _adr_type = adr_type; 680 const TypePtr* adr_type) 637 CallStaticJavaNode(const TypeFunc* tf, address addr, const char* name, int bci, const TypePtr* adr_type) argument 679 CallRuntimeNode(const TypeFunc* tf, address addr, const char* name, const TypePtr* adr_type) argument 701 CallLeafNode(const TypeFunc* tf, address addr, const char* name, const TypePtr* adr_type) argument 719 CallLeafNoFPNode(const TypeFunc* tf, address addr, const char* name, const TypePtr* adr_type) argument [all...] |
H A D | graphKit.hpp | 494 Node* make_load(Node* ctl, Node* adr, const Type* t, BasicType bt, const TypePtr* adr_type, bool require_atomic_access = false) { argument 496 assert(adr_type != NULL, "use other make_load factory"); 497 return make_load(ctl, adr, t, bt, C->get_alias_index(adr_type), 506 const TypePtr* adr_type, 509 assert(adr_type != NULL, "use other store_to_memory factory"); 511 C->get_alias_index(adr_type), 536 const TypePtr* adr_type, 545 const TypePtr* adr_type, 549 return store_oop(ctl, obj, adr, adr_type, val, val_type, bt, false); 555 const TypePtr* adr_type, 505 store_to_memory(Node* ctl, Node* adr, Node* val, BasicType bt, const TypePtr* adr_type, bool require_atomic_access = false) argument 542 store_oop_to_object(Node* ctl, Node* obj, Node* adr, const TypePtr* adr_type, Node* val, const TypeOopPtr* val_type, BasicType bt) argument 552 store_oop_to_array(Node* ctl, Node* obj, Node* adr, const TypePtr* adr_type, Node* val, const TypeOopPtr* val_type, BasicType bt) argument [all...] |
H A D | library_call.cpp | 75 const TypeOopPtr* sharpen_unsafe_type(Compile::AliasType* alias_type, const TypePtr *adr_type, bool is_native_ptr = false); 242 void generate_arraycopy(const TypePtr* adr_type, 252 void generate_clear_array(const TypePtr* adr_type, 258 bool generate_block_arraycopy(const TypePtr* adr_type, 264 void generate_slow_arraycopy(const TypePtr* adr_type, 268 Node* generate_checkcast_arraycopy(const TypePtr* adr_type, 273 Node* generate_generic_arraycopy(const TypePtr* adr_type, 277 void generate_unchecked_arraycopy(const TypePtr* adr_type, 2237 const TypeOopPtr* LibraryCallKit::sharpen_unsafe_type(Compile::AliasType* alias_type, const TypePtr *adr_type, bool is_native_ptr) { argument 2250 if (adr_type 2351 const TypePtr *adr_type = _gvn.type(adr)->isa_ptr(); local 2460 (void) store_to_memory(control(), adr, val, type, adr_type, is_volatile); local 2465 (void) store_oop_to_unknown(control(), heap_base_oop, adr, adr_type, val, type); local 2663 const TypePtr *adr_type = _gvn.type(adr)->isa_ptr(); local 2826 const TypePtr *adr_type = _gvn.type(adr)->isa_ptr(); local 2892 const TypePtr *adr_type = _gvn.type(insp)->isa_ptr(); local 2893 store_to_memory(control(), insp, orl, T_LONG, adr_type); local 3319 const TypePtr* adr_type = TypeRawPtr::BOTTOM; // memory type of loads local 4533 const TypePtr* adr_type = TypeAryPtr::get_array_body_type(dest_elem); local 4576 generate_arraycopy(const TypePtr* adr_type, BasicType basic_elem_type, Node* src, Node* src_offset, Node* dest, Node* dest_offset, Node* copy_length, bool disjoint_bases, bool length_never_negative, RegionNode* slow_region) argument 5070 generate_clear_array(const TypePtr* adr_type, Node* dest, BasicType basic_elem_type, Node* slice_idx, Node* slice_len, Node* dest_size) argument 5174 generate_block_arraycopy(const TypePtr* adr_type, BasicType basic_elem_type, AllocateNode* alloc, Node* src, Node* src_offset, Node* dest, Node* dest_offset, Node* dest_size, bool dest_uninitialized) argument 5206 store_to_memory(control(), dptr, sval, T_INT, adr_type); local 5235 generate_slow_arraycopy(const TypePtr* adr_type, Node* src, Node* src_offset, Node* dest, Node* dest_offset, Node* copy_length, bool dest_uninitialized) argument 5253 generate_checkcast_arraycopy(const TypePtr* adr_type, Node* dest_elem_klass, Node* src, Node* src_offset, Node* dest, Node* dest_offset, Node* copy_length, bool dest_uninitialized) argument 5295 generate_generic_arraycopy(const TypePtr* adr_type, Node* src, Node* src_offset, Node* dest, Node* dest_offset, Node* copy_length, bool dest_uninitialized) argument 5316 generate_unchecked_arraycopy(const TypePtr* adr_type, BasicType basic_elem_type, bool disjoint_bases, Node* src, Node* src_offset, Node* dest, Node* dest_offset, Node* copy_length, bool dest_uninitialized) argument 5400 const TypePtr* adr_type = C->alias_type(field)->adr_type(); local [all...] |
H A D | memnode.cpp | 51 const TypePtr *MemNode::adr_type() const { function in class:MemNode 74 void MemNode::dump_adr_type(const Node* mem, const TypePtr* adr_type, outputStream *st) { argument 76 if (adr_type == NULL) { 79 adr_type->dump_on(st); 82 if (C->have_alias_type(adr_type)) atp = C->alias_type(adr_type); 163 const TypePtr *t = mphi->adr_type(); 281 igvn->_worklist.size() > 0 && (t_adr != adr_type())) ) { 314 tty->print("this->adr_type(): "); adr_type() 893 make( PhaseGVN& gvn, Node *ctl, Node *mem, Node *adr, const TypePtr* adr_type, const Type *rt, BasicType bt ) argument 934 make_atomic(Compile *C, Node* ctl, Node* mem, Node* adr, const TypePtr* adr_type, const Type* rt) argument 1917 const TypeOopPtr *adr_type = adr->bottom_type()->isa_oopptr(); local 2235 make( PhaseGVN& gvn, Node* ctl, Node* mem, Node* adr, const TypePtr* adr_type, Node* val, BasicType bt ) argument 2267 make_atomic(Compile *C, Node* ctl, Node* mem, Node* adr, const TypePtr* adr_type, Node* val) argument 2613 const TypePtr* ClearArrayNode::adr_type() const { function in class:ClearArrayNode 3009 InitializeNode(Compile* C, int adr_type, Node* rawoop) argument [all...] |
H A D | escape.cpp | 465 const Type *adr_type = igvn->type(adr); local 466 adr_type = adr_type->make_ptr(); 467 if (adr_type == NULL) { 470 if (adr_type->isa_oopptr() || 472 (adr_type == TypeRawPtr::NOTNULL && 478 if (adr_type == TypeRawPtr::NOTNULL) { 489 if ((opcode == Op_StoreP) && (adr_type == TypeRawPtr::BOTTOM)) { 658 const Type *adr_type = _igvn->type(adr); local 659 adr_type 1434 const Type* adr_type = field->ideal_node()->as_AddP()->bottom_type(); local 1893 const Type* adr_type = n->as_AddP()->bottom_type(); local 2073 const Type *adr_type = phase->type(adr); local [all...] |
H A D | graphKit.cpp | 356 Node* m_phi = PhiNode::make(region, m, Type::MEMORY, mms.adr_type(C)); 381 const TypePtr* adr_type = mms.adr_type(C); local 382 Node* phi = mms.force_memory()->as_Phi()->slice_memory(adr_type); 1432 const TypePtr* adr_type = NULL; // debug-mode-only argument local 1433 debug_only(adr_type = C->get_adr_type(adr_idx)); 1437 ld = LoadLNode::make_atomic(C, ctl, mem, adr, adr_type, t); 1439 ld = LoadNode::make(_gvn, ctl, mem, adr, adr_type, t, bt); 1448 const TypePtr* adr_type = NULL; local 1449 debug_only(adr_type 1529 store_oop(Node* ctl, Node* obj, Node* adr, const TypePtr* adr_type, Node* val, const TypeOopPtr* val_type, BasicType bt, bool use_precise) argument 1562 store_oop_to_unknown(Node* ctl, Node* obj, Node* adr, const TypePtr* adr_type, Node* val, BasicType bt) argument 1863 int adr_type = Compile::AliasIdxRaw; local 2139 make_runtime_call(int flags, const TypeFunc* call_type, address call_addr, const char* call_name, const TypePtr* adr_type, Node* parm0, Node* parm1, Node* parm2, Node* parm3, Node* parm4, Node* parm5, Node* parm6, Node* parm7) argument 3509 int adr_type = Compile::AliasIdxRaw; local 3527 __ store(__ ctrl(), card_adr, zero, bt, adr_type); local 3530 __ storeCM(__ ctrl(), card_adr, zero, oop_store, adr_idx, bt, adr_type); local [all...] |
H A D | compile.hpp | 130 const TypePtr* adr_type() const { return _adr_type; } function in class:Compile::AliasType 766 AliasType* alias_type(const TypePtr* adr_type, ciField* field = NULL) { return find_alias_type(adr_type, false, field); } 767 bool have_alias_type(const TypePtr* adr_type); 771 const TypePtr* get_adr_type(uint aidx) { return alias_type(aidx)->adr_type(); } 1046 AliasCacheEntry* probe_alias_cache(const TypePtr* adr_type); 1047 const TypePtr *flatten_alias_type(const TypePtr* adr_type) const; 1048 AliasType* find_alias_type(const TypePtr* adr_type, bool no_create, ciField* field);
|
H A D | compile.cpp | 1075 // A NULL adr_type hits in the cache right away. Preload the right answer. 1514 int offset = adr_type()->offset(); 1519 adr_type()->dump_on(st); 1520 const TypeOopPtr* tjp = adr_type()->isa_oopptr(); 1543 Compile::AliasCacheEntry* Compile::probe_alias_cache(const TypePtr* adr_type) { argument 1544 intptr_t key = (intptr_t) adr_type; 1564 Compile::AliasType* Compile::find_alias_type(const TypePtr* adr_type, bool no_create, ciField* original_field) { argument 1568 AliasCacheEntry* ace = probe_alias_cache(adr_type); 1569 if (ace->_adr_type == adr_type) { 1574 if (adr_type 1683 have_alias_type(const TypePtr* adr_type) argument 1698 must_alias(const TypePtr* adr_type, int alias_idx) argument 1716 can_alias(const TypePtr* adr_type, int alias_idx) argument [all...] |
H A D | cfgnode.cpp | 723 return Compile::current()->alias_type(at)->adr_type(); 742 if (t == Type::MEMORY) at = flatten_phi_adr_type(x->adr_type()); 748 if (t == Type::MEMORY) at = flatten_phi_adr_type(x->adr_type()); 755 PhiNode* PhiNode::slice_memory(const TypePtr* adr_type) const { 757 *(const TypePtr**)&mem->_adr_type = adr_type; 771 const TypePtr *t = adr_type(); 786 if (phi2->type() == Type::MEMORY && phi2->adr_type() == at) { 811 if (optphi != NULL && optphi->adr_type() == TypePtr::BOTTOM) { 839 "adr_type must be consistent across phi nest"); 852 const TypePtr* nat = flatten_phi_adr_type(n->adr_type()); [all...] |
H A D | cfgnode.hpp | 156 // extra type arguments override the new phi's bottom_type and adr_type 159 PhiNode* slice_memory(const TypePtr* adr_type) const; 188 virtual const TypePtr *adr_type() const { verify_adr_type(true); return _adr_type; } function in class:PhiNode
|
H A D | machnode.hpp | 259 // Passing TYPE_PTR_SENTINAL as adr_type asks for computation of the adr_type if possible 260 const Node* get_base_and_disp(intptr_t &offset, const TypePtr* &adr_type) const; 275 virtual const class TypePtr *adr_type() const; 581 virtual const TypePtr *adr_type() const; 645 virtual const TypePtr *adr_type() const;
|
H A D | matcher.cpp | 868 const TypePtr* nat = n->adr_type(); 869 const TypePtr* mat = m->adr_type(); 876 const TypePtr* n1at = n1->adr_type(); 883 // %%% Kludgery. Instead, fix ideal adr_type methods for all these cases: 921 case Op_MemBarCPUOrder: // %%% these ideals should have narrower adr_type? 1194 msfpt->set_adr_type(sfpt->adr_type()); 1671 const Type* mach_at = mach->adr_type(); 1674 if (m->adr_type() != mach_at && 1681 mach_at = m->adr_type(); 1683 if (m->adr_type() ! [all...] |
H A D | buildOopMap.cpp | 487 const TypePtr *adr_type = NULL; local 489 const Node* base = m->get_base_and_disp(offset, adr_type);
|
H A D | idealKit.hpp | 252 const TypePtr* adr_type,
|
H A D | parse1.cpp | 1880 const TypePtr* adr_type = C->get_adr_type(idx); local 1881 phi = phi->slice_memory(adr_type); 1890 const TypePtr* adr_type = C->get_adr_type(idx); local 1891 phi = PhiNode::make(region, o, t, adr_type); 1993 const TypePtr* adr_type = mms.adr_type(C); local 1994 Node* phi = mms.force_memory()->as_Phi()->slice_memory(adr_type);
|
H A D | parse2.cpp | 52 const TypeAryPtr* adr_type = TypeAryPtr::get_array_body_type(elem_type); local 53 Node* ld = make_load(control(), adr, elem, elem_type, adr_type); 64 const TypeAryPtr* adr_type = TypeAryPtr::get_array_body_type(elem_type); local 65 store_to_memory(control(), adr, val, elem_type, adr_type); local 1696 const TypeAryPtr* adr_type = TypeAryPtr::OOPS; local 1697 Node* store = store_oop_to_array(control(), a, d, adr_type, c, elemtype, T_OBJECT);
|
H A D | gcm.cpp | 454 uint load_alias_idx = C->get_alias_index(load->adr_type()); 577 const TypePtr* adr_type = store->adr_type(); local 578 if (!C->can_alias(adr_type, load_alias_idx)) continue;
|
H A D | lcm.cpp | 210 const TypePtr *adr_type = NULL; // Do not need this return value here local 211 const Node* base = mach->get_base_and_disp(offset, adr_type);
|