/external/v8/src/crankshaft/arm64/ |
D | delayed-masm-arm64.cc | 22 DCHECK(pending_pc_ == masm_->pc_offset()); in StackSlotMove() 61 pending_pc_ = masm_->pc_offset(); in StackSlotMove() 76 DCHECK(pending_pc_ == masm_->pc_offset()); in StoreConstant() 93 pending_pc_ = masm_->pc_offset(); in StoreConstant() 105 DCHECK(pending_pc_ == masm_->pc_offset()); in Load() 113 DCHECK(pending_pc_ == masm_->pc_offset()); in Load() 128 pending_pc_ = masm_->pc_offset(); in Load() 140 DCHECK(pending_pc_ == masm_->pc_offset()); in Store() 145 DCHECK(pending_pc_ == masm_->pc_offset()); in Store() 157 pending_pc_ = masm_->pc_offset(); in Store() [all …]
|
/external/v8/src/compiler/ |
D | code-generator.h | 149 int BuildTranslation(Instruction* instr, int pc_offset, 180 int pc_offset() const { return pc_offset_; } in pc_offset() function 182 DeoptimizationState(BailoutId bailout_id, int translation_id, int pc_offset) in DeoptimizationState() 185 pc_offset_(pc_offset) {} in DeoptimizationState() 196 int pc_offset; member
|
D | code-generator.cc | 83 info->set_prologue_offset(masm()->pc_offset()); in GenerateCode() 161 int target_offset = masm()->pc_offset() + Deoptimizer::patch_size(); in GenerateCode() 162 while (masm()->pc_offset() < target_offset) { in GenerateCode() 197 table->SetReturnOffset(static_cast<int>(i), handlers_[i].pc_offset); in GenerateCode() 408 data->SetPc(i, Smi::FromInt(deoptimization_state->pc_offset())); in PopulateDeoptimizationData() 434 handlers_.push_back({caught, GetLabel(handler_rpo), masm()->pc_offset()}); in RecordCallPosition() 448 int pc_offset = masm()->pc_offset(); in RecordCallPosition() local 449 int deopt_state_id = BuildTranslation(instr, pc_offset, frame_state_offset, in RecordCallPosition() 605 int CodeGenerator::BuildTranslation(Instruction* instr, int pc_offset, in BuildTranslation() argument 622 descriptor->bailout_id(), translation.index(), pc_offset)); in BuildTranslation() [all …]
|
/external/v8/src/profiler/ |
D | profile-generator.cc | 26 void JITLineInfoTable::SetPosition(int pc_offset, int line) { in SetPosition() argument 27 DCHECK(pc_offset >= 0); in SetPosition() 29 if (GetSourceLineNumber(pc_offset) != line) { in SetPosition() 30 pc_offset_map_.insert(std::make_pair(pc_offset, line)); in SetPosition() 35 int JITLineInfoTable::GetSourceLineNumber(int pc_offset) const { in GetSourceLineNumber() 36 PcOffsetMap::const_iterator it = pc_offset_map_.lower_bound(pc_offset); in GetSourceLineNumber() 96 int CodeEntry::GetSourceLine(int pc_offset) const { in GetSourceLine() 98 return line_info_->GetSourceLineNumber(pc_offset); in GetSourceLine() 613 int pc_offset = in RecordTickSample() local 615 src_line = pc_entry->GetSourceLine(pc_offset); in RecordTickSample() [all …]
|
D | profile-generator.h | 25 void SetPosition(int pc_offset, int line); 26 int GetSourceLineNumber(int pc_offset) const; 67 size_t pc_offset) { in set_deopt_info() argument 71 pc_offset_ = pc_offset; in set_deopt_info() 100 int GetSourceLine(int pc_offset) const;
|
D | cpu-profiler-inl.h | 38 if (entry != NULL) entry->set_deopt_info(deopt_reason, position, pc_offset); in UpdateCodeMap()
|
/external/v8/src/ia32/ |
D | deoptimizer-ia32.cc | 36 int pc_offset = deopt_data->Pc(i)->value(); in EnsureRelocSpaceForLazyDeoptimization() local 37 if (pc_offset == -1) continue; in EnsureRelocSpaceForLazyDeoptimization() 38 DCHECK_GE(pc_offset, prev_pc_offset); in EnsureRelocSpaceForLazyDeoptimization() 39 int pc_delta = pc_offset - prev_pc_offset; in EnsureRelocSpaceForLazyDeoptimization() 48 prev_pc_offset = pc_offset; in EnsureRelocSpaceForLazyDeoptimization() 384 __ push(Operand(ebx, FrameDescription::pc_offset())); in Generate() 406 int start = masm()->pc_offset(); in GeneratePrologue() 410 DCHECK(masm()->pc_offset() - start == table_entry_size_); in GeneratePrologue()
|
/external/v8/src/x87/ |
D | deoptimizer-x87.cc | 36 int pc_offset = deopt_data->Pc(i)->value(); in EnsureRelocSpaceForLazyDeoptimization() local 37 if (pc_offset == -1) continue; in EnsureRelocSpaceForLazyDeoptimization() 38 DCHECK_GE(pc_offset, prev_pc_offset); in EnsureRelocSpaceForLazyDeoptimization() 39 int pc_delta = pc_offset - prev_pc_offset; in EnsureRelocSpaceForLazyDeoptimization() 48 prev_pc_offset = pc_offset; in EnsureRelocSpaceForLazyDeoptimization() 421 __ push(Operand(ebx, FrameDescription::pc_offset())); in Generate() 443 int start = masm()->pc_offset(); in GeneratePrologue() 447 DCHECK(masm()->pc_offset() - start == table_entry_size_); in GeneratePrologue()
|
/external/v8/test/cctest/ |
D | test-disasm-mips.cc | 86 int pc_offset = assm.pc_offset(); \ 87 byte *progcounter = &buffer[pc_offset]; \ 103 int pc_offset = assm.pc_offset(); \ 104 byte *progcounter = &buffer[pc_offset]; \ 121 int pc_offset = assm.pc_offset(); \ 122 byte *progcounter = &buffer[pc_offset]; \ 133 int pc_offset = assm.pc_offset(); \ 134 byte *progcounter = &buffer[pc_offset]; \ 149 int pc_offset = assm.pc_offset(); \ 150 byte *progcounter = &buffer[pc_offset]; \
|
D | test-disasm-ppc.cc | 80 int pc_offset = assm.pc_offset(); \ 81 byte* progcounter = &buffer[pc_offset]; \
|
D | test-disasm-mips64.cc | 86 int pc_offset = assm.pc_offset(); \ 87 byte *progcounter = &buffer[pc_offset]; \ 103 int pc_offset = assm.pc_offset(); \ 104 byte *progcounter = &buffer[pc_offset]; \ 121 int pc_offset = assm.pc_offset(); \ 122 byte *progcounter = &buffer[pc_offset]; \ 133 int pc_offset = assm.pc_offset(); \ 134 byte *progcounter = &buffer[pc_offset]; \ 149 int pc_offset = assm.pc_offset(); \ 150 byte *progcounter = &buffer[pc_offset]; \
|
/external/v8/src/ |
D | safepoint-table.cc | 53 unsigned pc_offset = static_cast<unsigned>(pc - code_->instruction_start()); in FindEntry() local 56 if (GetPcOffset(i) == pc_offset) return GetEntry(i); in FindEntry() 109 info.pc = assembler->pc_offset(); in DefineSafepoint() 142 offset_ = assembler->pc_offset(); in Emit()
|
D | frames.cc | 383 unsigned pc_offset = static_cast<unsigned>(pc - holder->instruction_start()); in IteratePc() local 388 pc = holder->instruction_start() + pc_offset; in IteratePc() 815 int pc_offset = static_cast<int>(pc() - code->entry()); in LookupExceptionHandlerInTable() local 816 return table->LookupRange(pc_offset, stack_slots, prediction); in LookupExceptionHandlerInTable() 999 unsigned pc_offset; in Summarize() local 1005 pc_offset = in Summarize() 1007 DCHECK_NE(0U, pc_offset); in Summarize() 1012 pc_offset = 0; in Summarize() 1014 FrameSummary summary(receiver, function, code, pc_offset, is_constructor); in Summarize() 1036 int pc_offset = static_cast<int>(pc() - code->entry()); in LookupExceptionHandlerInTable() local [all …]
|
/external/v8/src/heap/ |
D | heap-inl.h | 674 void Heap::SetArgumentsAdaptorDeoptPCOffset(int pc_offset) { in SetArgumentsAdaptorDeoptPCOffset() argument 676 set_arguments_adaptor_deopt_pc_offset(Smi::FromInt(pc_offset)); in SetArgumentsAdaptorDeoptPCOffset() 680 void Heap::SetConstructStubDeoptPCOffset(int pc_offset) { in SetConstructStubDeoptPCOffset() argument 682 set_construct_stub_deopt_pc_offset(Smi::FromInt(pc_offset)); in SetConstructStubDeoptPCOffset() 686 void Heap::SetGetterStubDeoptPCOffset(int pc_offset) { in SetGetterStubDeoptPCOffset() argument 688 set_getter_stub_deopt_pc_offset(Smi::FromInt(pc_offset)); in SetGetterStubDeoptPCOffset() 692 void Heap::SetSetterStubDeoptPCOffset(int pc_offset) { in SetSetterStubDeoptPCOffset() argument 694 set_setter_stub_deopt_pc_offset(Smi::FromInt(pc_offset)); in SetSetterStubDeoptPCOffset()
|
/external/v8/src/arm64/ |
D | assembler-arm64.cc | 302 int offset = assm_->pc_offset(); in RecordEntry() 326 return assm_->pc_offset() - first_use_; in DistanceToFirstUse() 364 prologue_size += IsAligned(assm_->pc_offset() + prologue_size, 8) ? in SizeIfEmittedAtCurrentPc() 450 (IsAligned(assm_->pc_offset(), 8) ? 0 : 1); in EmitMarker() 496 DCHECK(IsAligned(assm_->pc_offset(), 8)); in EmitEntries() 587 desc->instr_size = pc_offset(); in GetCode() 599 while ((pc_offset() & (m - 1)) != 0) { in Align() 737 DCHECK(linkoffset < pc_offset()); in bind() 763 label->bind_to(pc_offset()); in bind() 785 offset = label->pos() - pc_offset(); in LinkAndGetByteOffsetTo() [all …]
|
D | deoptimizer-arm64.cc | 310 __ Ldr(lr, MemOperand(last_output_frame, FrameDescription::pc_offset())); in Generate() 337 int start = masm()->pc_offset(); in GeneratePrologue() 341 DCHECK(masm()->pc_offset() - start == table_entry_size_); in GeneratePrologue()
|
/external/v8/src/x64/ |
D | assembler-x64.cc | 290 desc->instr_size = pc_offset(); in GetCode() 301 int delta = (m - (pc_offset() & (m - 1))) & (m - 1); in Align() 322 DCHECK(0 <= pos && pos <= pc_offset()); // Position must be valid. in bind_to() 371 bind_to(L, pc_offset()); in bind() 393 desc.instr_size = pc_offset(); in GrowBuffer() 443 int offset = label->pos() - pc_offset() - sizeof(int32_t); in emit_operand() 448 label->link_to(pc_offset() - sizeof(int32_t)); in emit_operand() 451 int32_t current = pc_offset(); in emit_operand() 810 int offset = L->pos() - pc_offset() - sizeof(int32_t); in call() 815 L->link_to(pc_offset() - sizeof(int32_t)); in call() [all …]
|
D | deoptimizer-x64.cc | 290 __ PushQuad(Operand(rbx, FrameDescription::pc_offset())); in Generate() 323 int start = masm()->pc_offset(); in GeneratePrologue() 327 DCHECK(masm()->pc_offset() - start == table_entry_size_); in GeneratePrologue()
|
/external/v8/src/ppc/ |
D | assembler-ppc.cc | 225 desc->instr_size = pc_offset(); in GetCode() 235 DCHECK((pc_offset() & (kInstrSize - 1)) == 0); in Align() 236 while ((pc_offset() & (m - 1)) != 0) { in Align() 519 DCHECK(0 <= pos && pos <= pc_offset()); // must have a valid binding position in bind_to() 552 bind_to(L, pc_offset()); in bind() 573 int offset = L->pos() - pc_offset(); in is_near() 665 position = pc_offset(); in link() 667 L->link_to(pc_offset()); in link() 1024 int pos = pc_offset(); in cmpwi() 1509 DCHECK(pc_offset() == 0); in function_descriptor() [all …]
|
D | deoptimizer-ppc.cc | 309 __ LoadP(r9, MemOperand(r5, FrameDescription::pc_offset())); in Generate() 341 int start = masm()->pc_offset(); in GeneratePrologue() 345 DCHECK(masm()->pc_offset() - start == table_entry_size_); in GeneratePrologue()
|
D | assembler-ppc.h | 436 return link(L) - pc_offset(); in branch_offset() 451 int pc_offset, int offset, ConstantPoolEntry::Access access, 587 int pos = pc_offset(); in cmpi_optimization() 588 int cmpi_pos = pc_offset() - kInstrSize; in cmpi_optimization() 1137 return pc_offset() - label->pos(); in SizeOfCodeGeneratedSince() 1315 return constant_pool_builder_.AddEntry(pc_offset(), value, sharing_ok); in ConstantPoolAddEntry() 1318 return constant_pool_builder_.AddEntry(pc_offset(), value); in ConstantPoolAddEntry() 1322 void BlockTrampolinePoolBefore(int pc_offset) { in BlockTrampolinePoolBefore() argument 1323 if (no_trampoline_pool_before_ < pc_offset) in BlockTrampolinePoolBefore() 1324 no_trampoline_pool_before_ = pc_offset; in BlockTrampolinePoolBefore()
|
/external/v8/src/runtime/ |
D | runtime-compiler.cc | 231 uint32_t pc_offset = in RUNTIME_FUNCTION() local 241 BailoutId ast_id = caller_code->TranslatePcOffsetToAstId(pc_offset); in RUNTIME_FUNCTION() 255 BackEdgeTable::AddStackCheck(caller_code, pc_offset); in RUNTIME_FUNCTION()
|
/external/v8/src/full-codegen/ |
D | full-codegen.cc | 83 unsigned offset = masm()->pc_offset(); in EmitBackEdgeTable() 222 StateField::encode(state) | PcField::encode(masm_->pc_offset()); in PrepareForBailoutForId() 236 DCHECK(masm_->pc_offset() > 0); in RecordBackEdge() 240 { ast_id, static_cast<unsigned>(masm_->pc_offset()), depth }; in RecordBackEdge() 1390 entry->range_start = masm()->pc_offset(); in EnterTryBlock() 1409 entry->range_end = masm()->pc_offset(); in ExitTryBlock() 1587 void BackEdgeTable::AddStackCheck(Handle<Code> code, uint32_t pc_offset) { in AddStackCheck() argument 1590 Address pc = code->instruction_start() + pc_offset; in AddStackCheck() 1596 void BackEdgeTable::RemoveStackCheck(Handle<Code> code, uint32_t pc_offset) { in RemoveStackCheck() argument 1599 Address pc = code->instruction_start() + pc_offset; in RemoveStackCheck()
|
/external/v8/src/arm/ |
D | deoptimizer-arm.cc | 304 __ ldr(r6, MemOperand(r2, FrameDescription::pc_offset())); in Generate() 336 int start = masm()->pc_offset(); in GeneratePrologue() 340 DCHECK(masm()->pc_offset() - start == table_entry_size_); in GeneratePrologue()
|
D | assembler-arm.cc | 510 desc->instr_size = pc_offset(); in GetCode() 520 DCHECK((pc_offset() & (kInstrSize - 1)) == 0); in Align() 521 while ((pc_offset() & (m - 1)) != 0) { in Align() 960 DCHECK(0 <= pos && pos <= pc_offset()); // must have a valid binding position in bind_to() 977 bind_to(L, pc_offset()); in bind() 1157 ConstantPoolAddEntry(pc_offset(), x.rmode_, x.imm32_); in move_32_bit_immediate() 1339 target_pos = pc_offset(); in branch_offset() 1341 L->link_to(pc_offset()); in branch_offset() 1348 return target_pos - (pc_offset() + kPcLoadDelta); in branch_offset() 1520 int link = label->is_linked() ? label->pos() : pc_offset(); in mov_label_offset() [all …]
|