/external/v8/src/compiler/ |
H A D | code-generator.h | 149 int BuildTranslation(Instruction* instr, int pc_offset, 180 int pc_offset() const { return pc_offset_; } function in struct:v8::internal::compiler::final::DeoptimizationState 182 DeoptimizationState(BailoutId bailout_id, int translation_id, int pc_offset) argument 185 pc_offset_(pc_offset) {} 196 int pc_offset; member in struct:v8::internal::compiler::final::HandlerInfo
|
H A D | code-generator.cc | 83 info->set_prologue_offset(masm()->pc_offset()); 161 int target_offset = masm()->pc_offset() + Deoptimizer::patch_size(); 162 while (masm()->pc_offset() < target_offset) { 197 table->SetReturnOffset(static_cast<int>(i), handlers_[i].pc_offset); 408 data->SetPc(i, Smi::FromInt(deoptimization_state->pc_offset())); 434 handlers_.push_back({caught, GetLabel(handler_rpo), masm()->pc_offset()}); 448 int pc_offset = masm()->pc_offset(); local 449 int deopt_state_id = BuildTranslation(instr, pc_offset, frame_state_offset, 605 int CodeGenerator::BuildTranslation(Instruction* instr, int pc_offset, argument [all...] |
/external/v8/src/profiler/ |
H A D | cpu-profiler.h | 84 size_t pc_offset; member in class:v8::internal::CodeDeoptEventRecord
|
H A D | cpu-profiler.cc | 281 int pc_offset = static_cast<int>(it.rinfo()->pc() - code->address()); local 283 line_table->SetPosition(pc_offset, line_number); 341 rec->pc_offset = pc - code->instruction_start();
|
H A D | profile-generator.cc | 26 void JITLineInfoTable::SetPosition(int pc_offset, int line) { argument 27 DCHECK(pc_offset >= 0); 29 if (GetSourceLineNumber(pc_offset) != line) { 30 pc_offset_map_.insert(std::make_pair(pc_offset, line)); 35 int JITLineInfoTable::GetSourceLineNumber(int pc_offset) const { 36 PcOffsetMap::const_iterator it = pc_offset_map_.lower_bound(pc_offset); 96 int CodeEntry::GetSourceLine(int pc_offset) const { 98 return line_info_->GetSourceLineNumber(pc_offset); 613 int pc_offset = local 615 src_line = pc_entry->GetSourceLine(pc_offset); 646 int pc_offset = local [all...] |
H A D | profile-generator.h | 25 void SetPosition(int pc_offset, int line); 26 int GetSourceLineNumber(int pc_offset) const; 31 // pc_offset -> source line 67 size_t pc_offset) { 71 pc_offset_ = pc_offset; 100 int GetSourceLine(int pc_offset) const; 66 set_deopt_info(const char* deopt_reason, SourcePosition position, size_t pc_offset) argument
|
/external/v8/src/runtime/ |
H A D | runtime-compiler.cc | 231 uint32_t pc_offset = local 241 BailoutId ast_id = caller_code->TranslatePcOffsetToAstId(pc_offset); 255 BackEdgeTable::AddStackCheck(caller_code, pc_offset);
|
/external/v8/src/ |
H A D | safepoint-table.cc | 53 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 D | compiler.cc | 302 void CompilationInfo::LogDeoptCallPosition(int pc_offset, int inlining_id) { argument 305 inlined_function_infos_.at(inlining_id).deopt_pc_offsets.push_back(pc_offset);
|
H A D | frames.cc | 383 unsigned pc_offset = static_cast<unsigned>(pc - holder->instruction_start()); local 388 pc = holder->instruction_start() + pc_offset; 815 int pc_offset = static_cast<int>(pc() - code->entry()); local 816 return table->LookupRange(pc_offset, stack_slots, prediction); 999 unsigned pc_offset; local 1005 pc_offset = 1007 DCHECK_NE(0U, pc_offset); 1012 pc_offset = 0; 1014 FrameSummary summary(receiver, function, code, pc_offset, is_constructor); 1036 int pc_offset local [all...] |
H A D | assembler.h | 100 int pc_offset() const { return static_cast<int>(pc_ - buffer_); } function in class:v8::internal::AssemblerBase 1281 Label emitted_label_; // Records pc_offset of emitted pool
|
H A D | log.cc | 492 int pc_offset, 569 int pc_offset, 576 event.line_info.offset = pc_offset; 1336 int pc_offset, 1339 pc_offset, 1346 int pc_offset, 1349 pc_offset, 567 AddCodeLinePosInfoEvent( void* jit_handler_data, int pc_offset, int position, JitCodeEvent::PositionType position_type) argument 1335 CodeLinePosInfoAddPositionEvent(void* jit_handler_data, int pc_offset, int position) argument 1345 CodeLinePosInfoAddStatementPositionEvent(void* jit_handler_data, int pc_offset, int position) argument
|
H A D | deoptimizer.cc | 996 unsigned pc_offset = FullCodeGenerator::PcField::decode(pc_and_state); local 997 intptr_t pc_value = reinterpret_cast<intptr_t>(start + pc_offset);
|
/external/v8/src/ia32/ |
H A D | deoptimizer-ia32.cc | 36 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; 384 __ push(Operand(ebx, FrameDescription::pc_offset())); 406 int start = masm()->pc_offset(); 410 DCHECK(masm()->pc_offset() - start == table_entry_size_);
|
/external/v8/src/x87/ |
H A D | deoptimizer-x87.cc | 36 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; 421 __ push(Operand(ebx, FrameDescription::pc_offset())); 443 int start = masm()->pc_offset(); 447 DCHECK(masm()->pc_offset() - start == table_entry_size_);
|
/external/v8/src/mips/ |
H A D | assembler-mips.h | 421 return pc_offset() - L->pos() < kMaxBranchOffset - 4 * kInstrSize; 425 return pc_offset() - L->pos() < kMaxCompactBranchOffset - 4 * kInstrSize; 967 return pc_offset() - label->pos(); 1137 void PatchConstantPoolAccessInstruction(int pc_offset, int offset, argument 1166 // Block the emission of the trampoline pool before pc_offset. 1167 void BlockTrampolinePoolBefore(int pc_offset) { argument 1168 if (no_trampoline_pool_before_ < pc_offset) 1169 no_trampoline_pool_before_ = pc_offset;
|
/external/v8/src/mips64/ |
H A D | assembler-mips64.h | 424 return pc_offset() - L->pos() < kMaxBranchOffset - 4 * kInstrSize; 428 return pc_offset() - L->pos() < kMaxCompactBranchOffset - 4 * kInstrSize; 1024 return pc_offset() - label->pos(); 1197 void PatchConstantPoolAccessInstruction(int pc_offset, int offset, argument 1229 // Block the emission of the trampoline pool before pc_offset. 1230 void BlockTrampolinePoolBefore(int pc_offset) { argument 1231 if (no_trampoline_pool_before_ < pc_offset) 1232 no_trampoline_pool_before_ = pc_offset;
|
/external/v8/src/ppc/ |
H A D | assembler-ppc-inl.h | 449 pc_offset() + kMaxCondBranchReach - kMaxBlockTrampolineSectionSize; 468 if (pc_offset() >= next_trampoline_check_) { 595 int pc_offset, int offset, ConstantPoolEntry::Access access, 597 Address pc = buffer_ + pc_offset; 594 PatchConstantPoolAccessInstruction( int pc_offset, int offset, ConstantPoolEntry::Access access, ConstantPoolEntry::Type type) argument
|
H A D | assembler-ppc.h | 421 // Links a label at the current pc_offset(). If already bound, returns the 423 // Otherwise, returns the current pc_offset(). 436 return link(L) - pc_offset(); 451 int pc_offset, int offset, ConstantPoolEntry::Access access, 587 int pos = pc_offset(); 588 int cmpi_pos = pc_offset() - kInstrSize; 1137 return pc_offset() - label->pos(); 1315 return constant_pool_builder_.AddEntry(pc_offset(), value, sharing_ok); 1318 return constant_pool_builder_.AddEntry(pc_offset(), value); 1321 // Block the emission of the trampoline pool before pc_offset 1322 BlockTrampolinePoolBefore(int pc_offset) argument [all...] |
/external/v8/src/full-codegen/ |
H A D | full-codegen.h | 987 uint32_t pc_offset(uint32_t index) { function in class:v8::internal::BackEdgeTable 992 return instruction_start_ + pc_offset(index); 1016 static void AddStackCheck(Handle<Code> code, uint32_t pc_offset); 1019 static void RemoveStackCheck(Handle<Code> code, uint32_t pc_offset);
|
H A D | full-codegen.cc | 83 unsigned offset = masm()->pc_offset(); 222 StateField::encode(state) | PcField::encode(masm_->pc_offset()); 236 DCHECK(masm_->pc_offset() > 0); 240 { ast_id, static_cast<unsigned>(masm_->pc_offset()), depth }; 1390 entry->range_start = masm()->pc_offset(); 1409 entry->range_end = masm()->pc_offset(); 1587 void BackEdgeTable::AddStackCheck(Handle<Code> code, uint32_t pc_offset) { argument 1590 Address pc = code->instruction_start() + pc_offset; 1596 void BackEdgeTable::RemoveStackCheck(Handle<Code> code, uint32_t pc_offset) { argument 1599 Address pc = code->instruction_start() + pc_offset; [all...] |
/external/v8/src/heap/ |
H A D | heap-inl.h | 674 void Heap::SetArgumentsAdaptorDeoptPCOffset(int pc_offset) { argument 676 set_arguments_adaptor_deopt_pc_offset(Smi::FromInt(pc_offset)); 680 void Heap::SetConstructStubDeoptPCOffset(int pc_offset) { argument 682 set_construct_stub_deopt_pc_offset(Smi::FromInt(pc_offset)); 686 void Heap::SetGetterStubDeoptPCOffset(int pc_offset) { argument 688 set_getter_stub_deopt_pc_offset(Smi::FromInt(pc_offset)); 692 void Heap::SetSetterStubDeoptPCOffset(int pc_offset) { argument 694 set_setter_stub_deopt_pc_offset(Smi::FromInt(pc_offset));
|
/external/v8/src/crankshaft/ |
H A D | lithium.h | 436 int pc_offset() const { return pc_offset_; } function in class:v8::internal::final 501 int pc_offset) { 505 pc_offset_ = pc_offset; 499 Register(int deoptimization_index, int translation_index, int pc_offset) argument
|
/external/v8/src/debug/ |
H A D | debug.cc | 1032 static int ComputeContinuationIndexFromPcOffset(Code* code, int pc_offset) { argument 1034 Address pc = code->instruction_start() + pc_offset; 1149 int pc_offset = generator_obj->continuation(); local 1151 ComputeContinuationIndexFromPcOffset(function->code(), pc_offset); 1169 int pc_offset = ComputePcOffsetFromContinuationIndex(shared->code(), index); local 1170 generator_obj->set_continuation(pc_offset);
|
/external/v8/src/snapshot/ |
H A D | serialize.cc | 1106 int pc_offset = source_.GetInt(); local 1110 DCHECK(0 <= pc_offset && pc_offset <= code->instruction_size()); 1112 Address pc = code->entry() + pc_offset; 2107 intptr_t pc_offset = rinfo->target_internal_reference_address() - entry; local 2109 DCHECK(0 <= pc_offset && 2110 pc_offset <= Code::cast(object_)->instruction_size()); 2117 sink_->PutInt(static_cast<uintptr_t>(pc_offset), "internal ref address");
|