comparison src/hotspot/share/opto/macro.hpp @ 52592:1ecc914fb707

8210829: Modularize allocations in C2 Reviewed-by: kvn, roland
author rkennke
date Wed, 19 Sep 2018 21:31:33 +0200
parents ffa644980dff
children 9807daeb47c4
comparison
equal deleted inserted replaced
1:5717eff193ef 2:042dd69db02d
191 Node* initialize_object(AllocateNode* alloc, 191 Node* initialize_object(AllocateNode* alloc,
192 Node* control, Node* rawmem, Node* object, 192 Node* control, Node* rawmem, Node* object,
193 Node* klass_node, Node* length, 193 Node* klass_node, Node* length,
194 Node* size_in_bytes); 194 Node* size_in_bytes);
195 195
196 Node* prefetch_allocation(Node* i_o,
197 Node*& needgc_false, Node*& contended_phi_rawmem,
198 Node* old_eden_top, Node* new_eden_top,
199 Node* length);
200
201 Node* make_arraycopy_load(ArrayCopyNode* ac, intptr_t offset, Node* ctl, Node* mem, BasicType ft, const Type *ftype, AllocateNode *alloc); 196 Node* make_arraycopy_load(ArrayCopyNode* ac, intptr_t offset, Node* ctl, Node* mem, BasicType ft, const Type *ftype, AllocateNode *alloc);
202 197
203 public: 198 public:
204 PhaseMacroExpand(PhaseIterGVN &igvn) : Phase(Macro_Expand), _igvn(igvn), _has_locks(false) { 199 PhaseMacroExpand(PhaseIterGVN &igvn) : Phase(Macro_Expand), _igvn(igvn), _has_locks(false) {
205 _igvn.set_delay_transform(true); 200 _igvn.set_delay_transform(true);
213 void replace_node(Node* source, Node* target) { _igvn.replace_node(source, target); } 208 void replace_node(Node* source, Node* target) { _igvn.replace_node(source, target); }
214 Node* intcon(jint con) const { return _igvn.intcon(con); } 209 Node* intcon(jint con) const { return _igvn.intcon(con); }
215 Node* longcon(jlong con) const { return _igvn.longcon(con); } 210 Node* longcon(jlong con) const { return _igvn.longcon(con); }
216 Node* makecon(const Type *t) const { return _igvn.makecon(t); } 211 Node* makecon(const Type *t) const { return _igvn.makecon(t); }
217 Node* top() const { return C->top(); } 212 Node* top() const { return C->top(); }
213
214 Node* prefetch_allocation(Node* i_o,
215 Node*& needgc_false, Node*& contended_phi_rawmem,
216 Node* old_eden_top, Node* new_eden_top,
217 intx lines);
218 }; 218 };
219 219
220 #endif // SHARE_VM_OPTO_MACRO_HPP 220 #endif // SHARE_VM_OPTO_MACRO_HPP