Lines Matching refs:pc
122 Address pc, Address constant_pool, Tagged_t target,
125 pc, constant_pool, static_cast<Address>(target), icache_flush_mode);
136 Tagged_t Assembler::target_compressed_address_at(Address pc,
138 return static_cast<Tagged_t>(target_address_at(pc, constant_pool));
141 Handle<Object> Assembler::code_target_object_handle_at(Address pc,
144 static_cast<int>(target_address_at(pc, constant_pool)) & 0xFFFFFFFF;
163 Address pc, Address const_pool) {
164 return GetEmbeddedObject(target_compressed_address_at(pc, const_pool));
270 Address Assembler::target_address_at(Address pc, Address constant_pool) {
273 if (IsConstantPoolLoadStart(pc, &access))
275 pc, constant_pool, access, ConstantPoolEntry::INTPTR));
278 Instr instr1 = instr_at(pc);
279 Instr instr2 = instr_at(pc + kInstrSize);
283 Instr instr4 = instr_at(pc + (3 * kInstrSize));
284 Instr instr5 = instr_at(pc + (4 * kInstrSize));
314 bool Assembler::IsConstantPoolLoadStart(Address pc,
316 Instr instr = instr_at(pc);
322 opcode = instr_at(pc + kInstrSize) & kOpcodeMask;
333 bool Assembler::IsConstantPoolLoadEnd(Address pc,
335 Instr instr = instr_at(pc);
340 instr = instr_at(pc - kInstrSize);
354 int Assembler::GetConstantPoolOffset(Address pc,
361 DCHECK(IsConstantPoolLoadStart(pc, &access_check));
366 offset = (instr_at(pc) & kImm16Mask) << 16;
367 offset += SIGN_EXT_IMM16(instr_at(pc + kInstrSize) & kImm16Mask);
370 offset = SIGN_EXT_IMM16((instr_at(pc) & kImm16Mask));
378 Address pc = reinterpret_cast<Address>(buffer_start_) + pc_offset;
384 DCHECK(IsConstantPoolLoadStart(pc, &access_check));
392 Instr instr1 = instr_at(pc);
393 Instr instr2 = instr_at(pc + kInstrSize);
398 instr_at_put(pc, instr1);
399 instr_at_put(pc + kInstrSize, instr2);
401 Instr instr = instr_at(pc);
404 instr_at_put(pc, instr);
409 Address pc, Address constant_pool, ConstantPoolEntry::Access access,
413 addr += GetConstantPoolOffset(pc, access, type);
434 Address pc, Address target, RelocInfo::Mode mode) {
436 set_target_address_at(pc, kNullAddress, target, SKIP_ICACHE_FLUSH);
438 Memory<Address>(pc) = target;
443 void Assembler::set_target_address_at(Address pc, Address constant_pool,
448 if (IsConstantPoolLoadStart(pc, &access)) {
450 pc, constant_pool, access, ConstantPoolEntry::INTPTR)) = target;
455 Instr instr1 = instr_at(pc);
456 Instr instr2 = instr_at(pc + kInstrSize);
460 Instr instr4 = instr_at(pc + (3 * kInstrSize));
461 Instr instr5 = instr_at(pc + (4 * kInstrSize));
463 uint32_t* p = reinterpret_cast<uint32_t*>(pc);
490 uint32_t* p = reinterpret_cast<uint32_t*>(pc);