Searched defs:pc_offset (Results 1 - 25 of 33) sorted by relevance

12

/external/v8/src/runtime/
H A Druntime-compiler.cc217 uint32_t pc_offset = local
226 BailoutId ast_id = caller_code->TranslatePcOffsetToAstId(pc_offset);
/external/v8/src/compiler/
H A Dcode-generator.h169 int BuildTranslation(Instruction* instr, int pc_offset,
202 int pc_offset() const { return pc_offset_; } function in struct:v8::internal::compiler::final::DeoptimizationState
204 DeoptimizationState(BailoutId bailout_id, int translation_id, int pc_offset) argument
207 pc_offset_(pc_offset) {}
218 int pc_offset; member in struct:v8::internal::compiler::final::HandlerInfo
H A Dcode-generator.cc84 info->set_prologue_offset(masm()->pc_offset());
188 int target_offset = masm()->pc_offset() + Deoptimizer::patch_size();
189 while (masm()->pc_offset() < target_offset) {
224 table->SetReturnOffset(static_cast<int>(i), handlers_[i].pc_offset);
481 data->SetPc(i, Smi::FromInt(deoptimization_state->pc_offset()));
507 handlers_.push_back({caught, GetLabel(handler_rpo), masm()->pc_offset()});
517 int pc_offset = masm()->pc_offset(); local
518 int deopt_state_id = BuildTranslation(instr, pc_offset, frame_state_offset,
677 int CodeGenerator::BuildTranslation(Instruction* instr, int pc_offset, argument
[all...]
/external/v8/src/
H A Dsafepoint-table.cc53 unsigned pc_offset = static_cast<unsigned>(pc - code_->instruction_start()); local
56 if (GetPcOffset(i) == pc_offset) return GetEntry(i);
109 info.pc = assembler->pc_offset();
142 offset_ = assembler->pc_offset();
H A Dframes.cc377 unsigned pc_offset = static_cast<unsigned>(pc - holder->instruction_start()); local
382 pc = holder->instruction_start() + pc_offset;
880 int pc_offset = static_cast<int>(pc() - code->entry()); local
881 return table->LookupRange(pc_offset, stack_depth, prediction);
1127 int pc_offset = static_cast<int>(pc() - code->entry()); local
1129 return table->LookupReturn(pc_offset, prediction);
1227 int pc_offset = GetBytecodeOffset() + 1; // Point after current bytecode. local
1228 return table->LookupRange(pc_offset, context_register, prediction);
H A Dassembler.h100 int pc_offset() const { return static_cast<int>(pc_ - buffer_); } function in class:v8::internal::AssemblerBase
1340 Label emitted_label_; // Records pc_offset of emitted pool
H A Dlog.cc429 void AddCodeLinePosInfoEvent(void* jit_handler_data, int pc_offset,
486 int pc_offset,
493 event.line_info.offset = pc_offset;
1226 int pc_offset, int position) {
1228 pc_offset,
1235 int pc_offset,
1238 pc_offset,
484 AddCodeLinePosInfoEvent( void* jit_handler_data, int pc_offset, int position, JitCodeEvent::PositionType position_type) argument
1225 CodeLinePosInfoAddPositionEvent(void* jit_handler_data, int pc_offset, int position) argument
1234 CodeLinePosInfoAddStatementPositionEvent(void* jit_handler_data, int pc_offset, int position) argument
H A Ddeoptimizer.cc692 unsigned pc_offset = FullCodeGenerator::PcField::decode(pc_and_state); local
696 return table->LookupRange(pc_offset, data_out, &prediction);
1058 unsigned pc_offset = goto_catch_handler local
1061 intptr_t pc_value = reinterpret_cast<intptr_t>(start + pc_offset);
2796 unsigned pc_offset = FullCodeGenerator::PcField::decode(pc_and_state); local
2797 return non_optimized_code->SourcePosition(pc_offset);
/external/v8/src/ia32/
H A Ddeoptimizer-ia32.cc36 int pc_offset = deopt_data->Pc(i)->value(); local
37 if (pc_offset == -1) continue;
38 DCHECK_GE(pc_offset, prev_pc_offset);
39 int pc_delta = pc_offset - prev_pc_offset;
48 prev_pc_offset = pc_offset;
341 __ push(Operand(ebx, FrameDescription::pc_offset()));
363 int start = masm()->pc_offset();
367 DCHECK(masm()->pc_offset() - start == table_entry_size_);
/external/v8/src/profiler/
H A Dprofiler-listener.cc106 int pc_offset = static_cast<int>(reloc_info->pc() - code->address()); local
108 line_table->SetPosition(pc_offset, line_number);
117 int pc_offset = it.bytecode_offset() + BytecodeArray::kHeaderSize; local
118 line_table->SetPosition(pc_offset, line_number);
227 int pc_offset = deopt_input_data->Pc(i)->value(); local
228 if (pc_offset == -1) continue;
260 entry->AddInlineStack(pc_offset, inline_stack);
H A Dprofile-generator.cc27 void JITLineInfoTable::SetPosition(int pc_offset, int line) { argument
28 DCHECK(pc_offset >= 0);
30 if (GetSourceLineNumber(pc_offset) != line) {
31 pc_offset_map_.insert(std::make_pair(pc_offset, line));
36 int JITLineInfoTable::GetSourceLineNumber(int pc_offset) const {
37 PcOffsetMap::const_iterator it = pc_offset_map_.lower_bound(pc_offset);
137 int CodeEntry::GetSourceLine(int pc_offset) const {
139 return line_info_->GetSourceLineNumber(pc_offset);
144 void CodeEntry::AddInlineStack(int pc_offset, argument
148 inline_locations_.insert(std::make_pair(pc_offset, st
595 int pc_offset = local
626 int pc_offset = local
[all...]
/external/v8/src/wasm/
H A Ddecoder.h342 uint32_t pc_offset() { return static_cast<uint32_t>(pc_ - start_); } function in class:v8::internal::wasm::Decoder
/external/v8/src/x87/
H A Ddeoptimizer-x87.cc36 int pc_offset = deopt_data->Pc(i)->value(); local
37 if (pc_offset == -1) continue;
38 DCHECK_GE(pc_offset, prev_pc_offset);
39 int pc_delta = pc_offset - prev_pc_offset;
48 prev_pc_offset = pc_offset;
377 __ push(Operand(ebx, FrameDescription::pc_offset()));
399 int start = masm()->pc_offset();
403 DCHECK(masm()->pc_offset() - start == table_entry_size_);
/external/v8/src/mips/
H A Dassembler-mips.h424 return pc_offset() - L->pos() < kMaxBranchOffset - 4 * kInstrSize;
428 return pc_offset() - L->pos() < kMaxCompactBranchOffset - 4 * kInstrSize;
979 return pc_offset() - label->pos();
1159 void PatchConstantPoolAccessInstruction(int pc_offset, int offset, argument
1196 // Block the emission of the trampoline pool before pc_offset.
1197 void BlockTrampolinePoolBefore(int pc_offset) { argument
1198 if (no_trampoline_pool_before_ < pc_offset)
1199 no_trampoline_pool_before_ = pc_offset;
/external/v8/src/mips64/
H A Dassembler-mips64.h427 return pc_offset() - L->pos() < kMaxBranchOffset - 4 * kInstrSize;
431 return pc_offset() - L->pos() < kMaxCompactBranchOffset - 4 * kInstrSize;
1041 return pc_offset() - label->pos();
1216 void PatchConstantPoolAccessInstruction(int pc_offset, int offset, argument
1257 // Block the emission of the trampoline pool before pc_offset.
1258 void BlockTrampolinePoolBefore(int pc_offset) { argument
1259 if (no_trampoline_pool_before_ < pc_offset)
1260 no_trampoline_pool_before_ = pc_offset;
/external/v8/src/ppc/
H A Dassembler-ppc-inl.h413 pc_offset() + kMaxCondBranchReach - kMaxBlockTrampolineSectionSize;
432 if (pc_offset() >= next_trampoline_check_) {
559 int pc_offset, int offset, ConstantPoolEntry::Access access,
561 Address pc = buffer_ + pc_offset;
558 PatchConstantPoolAccessInstruction( int pc_offset, int offset, ConstantPoolEntry::Access access, ConstantPoolEntry::Type type) argument
H A Dassembler-ppc.h427 // Links a label at the current pc_offset(). If already bound, returns the
429 // Otherwise, returns the current pc_offset().
442 return link(L) - pc_offset();
457 int pc_offset, int offset, ConstantPoolEntry::Access access,
593 int pos = pc_offset();
594 int cmpi_pos = pc_offset() - kInstrSize;
1146 return pc_offset() - label->pos();
1326 return constant_pool_builder_.AddEntry(pc_offset(), value, sharing_ok);
1329 return constant_pool_builder_.AddEntry(pc_offset(), value);
1332 // Block the emission of the trampoline pool before pc_offset
1333 BlockTrampolinePoolBefore(int pc_offset) argument
[all...]
/external/v8/src/snapshot/
H A Ddeserializer.cc655 int pc_offset = source_.GetInt(); local
659 DCHECK(0 <= pc_offset && pc_offset <= code->instruction_size());
661 Address pc = code->entry() + pc_offset;
H A Dserializer.cc619 intptr_t pc_offset = rinfo->target_internal_reference_address() - entry; local
621 DCHECK(0 <= pc_offset &&
622 pc_offset <= Code::cast(object_)->instruction_size());
629 sink_->PutInt(static_cast<uintptr_t>(pc_offset), "internal ref address");
/external/v8/src/full-codegen/
H A Dfull-codegen.h1011 uint32_t pc_offset(uint32_t index) { function in class:v8::internal::BackEdgeTable
1016 return instruction_start_ + pc_offset(index);
/external/v8/src/heap/
H A Dheap-inl.h729 void Heap::SetArgumentsAdaptorDeoptPCOffset(int pc_offset) { argument
731 set_arguments_adaptor_deopt_pc_offset(Smi::FromInt(pc_offset));
734 void Heap::SetConstructStubDeoptPCOffset(int pc_offset) { argument
736 set_construct_stub_deopt_pc_offset(Smi::FromInt(pc_offset));
739 void Heap::SetGetterStubDeoptPCOffset(int pc_offset) { argument
741 set_getter_stub_deopt_pc_offset(Smi::FromInt(pc_offset));
744 void Heap::SetSetterStubDeoptPCOffset(int pc_offset) { argument
746 set_setter_stub_deopt_pc_offset(Smi::FromInt(pc_offset));
749 void Heap::SetInterpreterEntryReturnPCOffset(int pc_offset) { argument
751 set_interpreter_entry_return_pc_offset(Smi::FromInt(pc_offset));
[all...]
/external/v8/src/crankshaft/
H A Dlithium.h437 int pc_offset() const { return pc_offset_; } function in class:v8::internal::final
502 int pc_offset) {
506 pc_offset_ = pc_offset;
500 Register(int deoptimization_index, int translation_index, int pc_offset) argument
/external/v8/src/debug/
H A Ddebug.cc1216 static int ComputeContinuationIndexFromPcOffset(Code* code, int pc_offset) { argument
1218 Address pc = code->instruction_start() + pc_offset;
1349 int pc_offset = generator_obj->continuation(); local
1351 ComputeContinuationIndexFromPcOffset(function->code(), pc_offset);
1375 int pc_offset = ComputePcOffsetFromContinuationIndex(shared->code(), index); local
1376 generator_obj->set_continuation(pc_offset);
/external/v8/src/crankshaft/arm/
H A Dlithium-codegen-arm.cc112 info()->set_prologue_offset(masm_->pc_offset());
223 osr_pc_offset_ = masm()->pc_offset();
296 if (!is_int24((masm()->pc_offset() / Assembler::kInstrSize) +
761 int pc_offset = masm()->pc_offset(); local
764 (mode == Safepoint::kLazyDeopt) ? pc_offset : -1);
5306 int current_pc = masm()->pc_offset();
5318 last_lazy_deopt_pc_ = masm()->pc_offset();
5323 last_lazy_deopt_pc_ = masm()->pc_offset();
/external/v8/src/crankshaft/arm64/
H A Dlithium-codegen-arm64.cc326 int pc_offset = masm()->pc_offset(); local
329 (mode == Safepoint::kLazyDeopt) ? pc_offset : -1);
564 info()->set_prologue_offset(masm_->pc_offset());
658 osr_pc_offset_ = masm()->pc_offset();
997 intptr_t current_pc = masm()->pc_offset();
1011 last_lazy_deopt_pc_ = masm()->pc_offset();
2463 last_lazy_deopt_pc_ = masm()->pc_offset();

Completed in 790 milliseconds

12