Home
last modified time | relevance | path

Searched refs:pc_offset (Results 1 – 25 of 115) sorted by relevance

12345

/external/v8/src/crankshaft/arm64/
Ddelayed-masm-arm64.cc22 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/
Dcode-generator.h149 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
Dcode-generator.cc83 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/
Dprofile-generator.cc26 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 …]
Dprofile-generator.h25 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;
Dcpu-profiler-inl.h38 if (entry != NULL) entry->set_deopt_info(deopt_reason, position, pc_offset); in UpdateCodeMap()
/external/v8/src/ia32/
Ddeoptimizer-ia32.cc36 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/
Ddeoptimizer-x87.cc36 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/
Dtest-disasm-mips.cc86 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]; \
Dtest-disasm-ppc.cc80 int pc_offset = assm.pc_offset(); \
81 byte* progcounter = &buffer[pc_offset]; \
Dtest-disasm-mips64.cc86 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/
Dsafepoint-table.cc53 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()
Dframes.cc383 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/
Dheap-inl.h674 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/
Dassembler-arm64.cc302 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 …]
Ddeoptimizer-arm64.cc310 __ 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/
Dassembler-x64.cc290 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 …]
Ddeoptimizer-x64.cc290 __ 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/
Dassembler-ppc.cc225 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 …]
Ddeoptimizer-ppc.cc309 __ 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()
Dassembler-ppc.h436 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/
Druntime-compiler.cc231 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/
Dfull-codegen.cc83 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/
Ddeoptimizer-arm.cc304 __ 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()
Dassembler-arm.cc510 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 …]

12345