Lines Matching refs:offset

177 MachNode *MachNode::cisc_version(int offset, Compile* C) {
245 const Node* MachNode::get_base_and_disp(intptr_t &offset, const TypePtr* &adr_type) const {
254 offset = 0;
258 offset = Type::OffsetBot;
260 // Base may be NULL, even if offset turns out to be != 0
265 // See if it adds up to a base + offset.
271 // [R12 + narrow_oop_reg<<3 + offset]
273 offset = disp;
274 adr_type = t_index->make_ptr()->add_offset(offset);
287 offset = disp;
292 // Add the offset determined by the "base", or use Type::OffsetBot.
296 offset = Type::OffsetBot;
301 offset = t_offset->get_con();
304 adr_type = t_disp->add_offset(offset);
305 } else if( base == NULL && offset != 0 && offset != Type::OffsetBot ) {
321 intptr_t offset = 0;
323 const Node *base = get_base_and_disp(offset, adr_type);
329 // offset, which is always to raw memory.
334 // NULL base, zero offset means no memory at all (a null pointer!)
335 if (offset == 0) {
338 // NULL base, any offset means any pointer whatever
339 if (offset == Type::OffsetBot) {
342 // %%% make offset be intptr_t
343 assert(!Universe::heap()->is_in_reserved((oop)offset), "must be a raw ptr");
347 // base of -1 with no particular offset means all of memory
355 if (t->isa_intptr_t() && offset != 0 && offset != Type::OffsetBot) {
356 // We cannot assert that the offset does not look oop-ish here.
373 return tp->add_offset(offset);
483 // Bind the offset lazily.
484 if (_constant.offset() == -1) {
486 int offset = constant_table.find_offset(_constant);
488 // pre-calculated offset.
489 // NOTE: If the AD file does some table base offset optimizations
492 return constant_table.calculate_table_base_offset() + offset;
494 _constant.set_offset(constant_table.table_base_offset() + offset);
496 return _constant.offset();