comparison src/share/vm/opto/memnode.hpp @ 10278:6f3fd5150b67

6934604: enable parts of EliminateAutoBox by default Summary: Resurrected autobox elimination code and enabled part of it by default. Reviewed-by: roland, twisti
author kvn
date Wed, 08 May 2013 15:08:01 -0700
parents 6931f425c517
children 94a83e0f9ce1 2113136690bc
comparison
equal deleted inserted replaced
10277:aabf54ccedb1 10278:6f3fd5150b67
73 static bool detect_ptr_independence(Node* p1, AllocateNode* a1, 73 static bool detect_ptr_independence(Node* p1, AllocateNode* a1,
74 Node* p2, AllocateNode* a2, 74 Node* p2, AllocateNode* a2,
75 PhaseTransform* phase); 75 PhaseTransform* phase);
76 static bool adr_phi_is_loop_invariant(Node* adr_phi, Node* cast); 76 static bool adr_phi_is_loop_invariant(Node* adr_phi, Node* cast);
77 77
78 static Node *optimize_simple_memory_chain(Node *mchain, const TypePtr *t_adr, PhaseGVN *phase); 78 static Node *optimize_simple_memory_chain(Node *mchain, const TypeOopPtr *t_oop, Node *load, PhaseGVN *phase);
79 static Node *optimize_memory_chain(Node *mchain, const TypePtr *t_adr, PhaseGVN *phase); 79 static Node *optimize_memory_chain(Node *mchain, const TypePtr *t_adr, Node *load, PhaseGVN *phase);
80 // This one should probably be a phase-specific function: 80 // This one should probably be a phase-specific function:
81 static bool all_controls_dominate(Node* dom, Node* sub); 81 static bool all_controls_dominate(Node* dom, Node* sub);
82 82
83 // Find any cast-away of null-ness and keep its control. 83 // Find any cast-away of null-ness and keep its control.
84 static Node *Ideal_common_DU_postCCP( PhaseCCP *ccp, Node* n, Node* adr ); 84 static Node *Ideal_common_DU_postCCP( PhaseCCP *ccp, Node* n, Node* adr );
1097 1097
1098 static intptr_t get_store_offset(Node* st, PhaseTransform* phase); 1098 static intptr_t get_store_offset(Node* st, PhaseTransform* phase);
1099 1099
1100 Node* make_raw_address(intptr_t offset, PhaseTransform* phase); 1100 Node* make_raw_address(intptr_t offset, PhaseTransform* phase);
1101 1101
1102 bool detect_init_independence(Node* n, bool st_is_pinned, int& count); 1102 bool detect_init_independence(Node* n, int& count);
1103 1103
1104 void coalesce_subword_stores(intptr_t header_size, Node* size_in_bytes, 1104 void coalesce_subword_stores(intptr_t header_size, Node* size_in_bytes,
1105 PhaseGVN* phase); 1105 PhaseGVN* phase);
1106 1106
1107 intptr_t find_next_fullword_store(uint i, PhaseGVN* phase); 1107 intptr_t find_next_fullword_store(uint i, PhaseGVN* phase);