/external/v8/src/ |
D | safepoint-table.cc | 77 unsigned pc_offset = static_cast<unsigned>(pc - code_->instruction_start()); in FindEntry() local 80 if (GetPcOffset(i) == pc_offset) return GetEntry(i); in FindEntry() 131 info.pc = assembler->pc_offset(); in DefineSafepoint() 163 int target_offset = assembler->pc_offset() + Deoptimizer::patch_size(); in Emit() 164 while (assembler->pc_offset() < target_offset) { in Emit() 171 offset_ = assembler->pc_offset(); in Emit()
|
D | lithium.h | 472 int pc_offset() const { return pc_offset_; } in pc_offset() function 493 int pc_offset) { in Register() argument 497 pc_offset_ = pc_offset; in Register()
|
D | frames.cc | 423 unsigned pc_offset = static_cast<unsigned>(pc - holder->instruction_start()); in IteratePc() local 428 pc = holder->instruction_start() + pc_offset; in IteratePc() 895 unsigned pc_offset = in Summarize() local 897 ASSERT(pc_offset > 0); in Summarize() 899 FrameSummary summary(receiver, function, code, pc_offset, is_constructor); in Summarize()
|
D | full-codegen.cc | 355 unsigned offset = masm()->pc_offset(); in EmitStackCheckTable() 432 StateField::encode(state) | PcField::encode(masm_->pc_offset()); in PrepareForBailoutForId() 461 ASSERT(masm_->pc_offset() > 0); in RecordStackCheck() 462 BailoutEntry entry = { ast_id, static_cast<unsigned>(masm_->pc_offset()) }; in RecordStackCheck()
|
D | deoptimizer.cc | 1053 uint32_t pc_offset = Memory::uint32_at(stack_check_cursor + kIntSize); in PatchStackCheckCode() local 1054 Address pc_after = unoptimized_code->instruction_start() + pc_offset; in PatchStackCheckCode() 1075 uint32_t pc_offset = Memory::uint32_at(stack_check_cursor + kIntSize); in RevertStackCheckCode() local 1076 Address pc_after = unoptimized_code->instruction_start() + pc_offset; in RevertStackCheckCode()
|
D | heap.h | 1578 void SetArgumentsAdaptorDeoptPCOffset(int pc_offset) { in SetArgumentsAdaptorDeoptPCOffset() argument 1580 set_arguments_adaptor_deopt_pc_offset(Smi::FromInt(pc_offset)); in SetArgumentsAdaptorDeoptPCOffset() 1583 void SetConstructStubDeoptPCOffset(int pc_offset) { in SetConstructStubDeoptPCOffset() argument 1585 set_construct_stub_deopt_pc_offset(Smi::FromInt(pc_offset)); in SetConstructStubDeoptPCOffset()
|
/external/v8/src/ia32/ |
D | deoptimizer-ia32.cc | 59 int pc_offset = deopt_data->Pc(i)->value(); in EnsureRelocSpaceForLazyDeoptimization() local 60 if (pc_offset == -1) continue; in EnsureRelocSpaceForLazyDeoptimization() 61 ASSERT_GE(pc_offset, prev_pc_offset); in EnsureRelocSpaceForLazyDeoptimization() 62 int pc_delta = pc_offset - prev_pc_offset; in EnsureRelocSpaceForLazyDeoptimization() 71 prev_pc_offset = pc_offset; in EnsureRelocSpaceForLazyDeoptimization() 433 unsigned pc_offset = data->OsrPcOffset()->value(); in DoComputeOsrOutputFrame() local 435 optimized_code_->entry() + pc_offset); in DoComputeOsrOutputFrame() 802 unsigned pc_offset = FullCodeGenerator::PcField::decode(pc_and_state); in DoComputeJSFrame() local 803 uint32_t pc_value = reinterpret_cast<uint32_t>(start + pc_offset); in DoComputeJSFrame() 984 __ push(Operand(ebx, FrameDescription::pc_offset())); in Generate() [all …]
|
D | assembler-ia32-inl.h | 405 L->link_to(pc_offset()); in emit_disp() 413 int offset = L->near_link_pos() - pc_offset(); in emit_near_disp() 417 L->link_to(pc_offset(), Label::kNear); in emit_near_disp()
|
D | assembler-ia32.cc | 383 desc->instr_size = pc_offset(); in GetCode() 392 int addr = pc_offset(); in Align() 1352 ASSERT(0 <= pos && pos <= pc_offset()); // must have a valid binding position in bind_to() 1391 bind_to(L, pc_offset()); in bind() 1400 int offs = L->pos() - pc_offset(); in call() 1457 int offs = L->pos() - pc_offset(); in jmp() 1508 int offs = L->pos() - pc_offset(); in j() 2466 desc.instr_size = pc_offset(); in GrowBuffer()
|
/external/v8/src/x64/ |
D | assembler-x64.cc | 418 desc->instr_size = pc_offset(); in GetCode() 428 int delta = (m - (pc_offset() & (m - 1))) & (m - 1); in Align() 449 ASSERT(0 <= pos && pos <= pc_offset()); // Position must be valid. in bind_to() 483 bind_to(L, pc_offset()); in bind() 507 desc.instr_size = pc_offset(); in GrowBuffer() 861 int offset = L->pos() - pc_offset() - sizeof(int32_t); in call() 866 L->link_to(pc_offset() - sizeof(int32_t)); in call() 869 int32_t current = pc_offset(); in call() 1233 int offs = L->pos() - pc_offset(); in j() 1250 int offset = L->near_link_pos() - pc_offset(); in j() [all …]
|
D | deoptimizer-x64.cc | 320 unsigned pc_offset = data->OsrPcOffset()->value(); in DoComputeOsrOutputFrame() local 322 optimized_code_->entry() + pc_offset); in DoComputeOsrOutputFrame() 705 unsigned pc_offset = FullCodeGenerator::PcField::decode(pc_and_state); in DoComputeJSFrame() local 706 intptr_t pc_value = reinterpret_cast<intptr_t>(start + pc_offset); in DoComputeJSFrame() 918 __ push(Operand(rbx, FrameDescription::pc_offset())); in Generate() 952 int start = masm()->pc_offset(); in GeneratePrologue() 956 ASSERT(masm()->pc_offset() - start == table_entry_size_); in GeneratePrologue()
|
D | regexp-macro-assembler-x64.h | 227 code_relative_fixup_positions_.Add(masm_.pc_offset()); in MarkPositionForCodeRelativeFixup()
|
/external/v8/src/mips/ |
D | assembler-mips.cc | 343 desc->instr_size = pc_offset(); in GetCode() 350 while ((pc_offset() & (m - 1)) != 0) { in Align() 783 ASSERT(0 <= pos && pos <= pc_offset()); // Must have valid binding position. in bind_to() 823 bind_to(L, pc_offset()); in bind() 840 return ((pc_offset() - L->pos()) < kMaxBranchOffset - 4 * kInstrSize); in is_near() 990 L->link_to(pc_offset()); in jump_address() 992 L->link_to(pc_offset()); in jump_address() 1012 L->link_to(pc_offset()); in branch_offset() 1014 L->link_to(pc_offset()); in branch_offset() 1023 int32_t offset = target_pos - (pc_offset() + kBranchPCOffset); in branch_offset() [all …]
|
D | deoptimizer-mips.cc | 333 unsigned pc_offset = data->OsrPcOffset()->value(); in DoComputeOsrOutputFrame() local 335 optimized_code_->entry() + pc_offset); in DoComputeOsrOutputFrame() 715 unsigned pc_offset = FullCodeGenerator::PcField::decode(pc_and_state); in DoComputeJSFrame() local 716 uint32_t pc_value = reinterpret_cast<uint32_t>(start + pc_offset); in DoComputeJSFrame() 929 __ lw(t2, MemOperand(a2, FrameDescription::pc_offset())); in Generate()
|
D | assembler-mips.h | 859 return pc_offset() - label->pos(); in SizeOfCodeGeneratedSince() 935 int32_t pc_offset() const { return pc_ - buffer_; } in pc_offset() function 1038 void BlockTrampolinePoolBefore(int pc_offset) { in BlockTrampolinePoolBefore() argument 1039 if (no_trampoline_pool_before_ < pc_offset) in BlockTrampolinePoolBefore() 1040 no_trampoline_pool_before_ = pc_offset; in BlockTrampolinePoolBefore()
|
D | assembler-mips-inl.h | 355 if (pc_offset() >= next_buffer_check_) { in CheckTrampolinePoolQuick()
|
/external/v8/src/arm/ |
D | deoptimizer-arm.cc | 343 unsigned pc_offset = data->OsrPcOffset()->value(); in DoComputeOsrOutputFrame() local 345 optimized_code_->entry() + pc_offset); in DoComputeOsrOutputFrame() 725 unsigned pc_offset = FullCodeGenerator::PcField::decode(pc_and_state); in DoComputeJSFrame() local 726 uint32_t pc_value = reinterpret_cast<uint32_t>(start + pc_offset); in DoComputeJSFrame() 937 __ ldr(r6, MemOperand(r2, FrameDescription::pc_offset())); in Generate() 969 int start = masm()->pc_offset(); in GeneratePrologue() 980 ASSERT(masm()->pc_offset() - start == table_entry_size_); in GeneratePrologue()
|
D | assembler-arm.cc | 358 desc->instr_size = pc_offset(); in GetCode() 365 while ((pc_offset() & (m - 1)) != 0) { in Align() 654 ASSERT(0 <= pos && pos <= pc_offset()); // must have a valid binding position in bind_to() 692 bind_to(L, pc_offset()); in bind() 999 L->link_to(pc_offset()); in branch_offset() 1005 return target_pos - (pc_offset() + kPcLoadDelta); in branch_offset() 1481 CheckConstPool(true, no_const_pool_before_ == pc_offset() - kInstrSize); in ldm() 2455 desc.instr_size = pc_offset(); in GrowBuffer() 2524 first_const_pool_use_ = pc_offset(); in RecordRelocInfo() 2556 int pc_limit = pc_offset() + instructions * kInstrSize; in BlockConstPoolFor() [all …]
|
D | assembler-arm.h | 1169 return pc_offset() - label->pos(); in SizeOfCodeGeneratedSince() 1229 int pc_offset() const { return pc_ - buffer_; } in pc_offset() function 1315 (pc_offset() < (first_const_pool_use_ + kMaxDistToPool))); in EndBlockConstPool() 1327 (pc_offset() < no_const_pool_before_); in is_const_pool_blocked()
|
D | assembler-arm-inl.h | 319 if (pc_offset() >= next_buffer_check_) { in CheckBuffer()
|
D | regexp-macro-assembler-arm.cc | 906 masm_->pc_offset() + Assembler::kPcLoadDelta; in PushBacktrack() 1216 backtrack_constant_pool_offset_ = masm_->pc_offset(); in EmitBacktrackConstantPool() 1230 if (masm_->pc_offset() - offset < 2 * KB) { in GetBacktrackConstantPoolEntry()
|
/external/v8/test/cctest/ |
D | test-disasm-mips.cc | 91 int pc_offset = assm.pc_offset(); \ 92 byte *progcounter = &buffer[pc_offset]; \
|
D | test-disasm-arm.cc | 89 int pc_offset = assm.pc_offset(); \ 90 byte *progcounter = &buffer[pc_offset]; \
|
D | test-assembler-x64.cc | 392 int before = assm.pc_offset(); in TEST() 394 CHECK_EQ(assm.pc_offset() - before, i); in TEST()
|
D | test-assembler-ia32.cc | 429 int before = assm.pc_offset(); in TEST() 431 CHECK_EQ(assm.pc_offset() - before, i); in TEST()
|