Home
last modified time | relevance | path

Searched refs:code_offset (Results 1 – 25 of 37) sorted by relevance

12

/third_party/node/deps/v8/src/codegen/
Dsource-position-table.cc40 value->code_offset += other.code_offset; in AddAndSetEntry()
41 DCHECK_IMPLIES(value->code_offset != kFunctionEntryBytecodeOffset, in AddAndSetEntry()
42 value->code_offset >= 0); in AddAndSetEntry()
51 value->code_offset -= other.code_offset; in SubtractFromEntry()
77 DCHECK_LE(0, entry.code_offset); in EncodeEntry()
84 entry.is_statement ? entry.code_offset : -entry.code_offset - 1); in EncodeEntry()
113 entry->code_offset = tmp; in DecodeEntry()
116 entry->code_offset = -(tmp + 1); in DecodeEntry()
134 DCHECK_EQ(encoded->code_offset(), raw->code_offset); in CheckTableEquals()
154 void SourcePositionTableBuilder::AddPosition(size_t code_offset, in AddPosition() argument
[all …]
Dsource-position-table.h27 : code_offset(kFunctionEntryBytecodeOffset), in PositionTableEntry()
31 : code_offset(offset), source_position(source), is_statement(statement) {} in PositionTableEntry()
33 int code_offset; member
54 void AddPosition(size_t code_offset, SourcePosition source_position,
123 int code_offset() const { in code_offset() function
125 return current_.code_offset; in code_offset()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_job_context.c325 uint32_t code_offset; in pvr_pds_render_ctx_sr_program_create_and_upload() local
338 code_offset = ALIGN_POT(program.data_size, pds_data_alignment); in pvr_pds_render_ctx_sr_program_create_and_upload()
342 &staging_buffer[code_offset], in pvr_pds_render_ctx_sr_program_create_and_upload()
353 &staging_buffer[code_offset], in pvr_pds_render_ctx_sr_program_create_and_upload()
384 uint32_t code_offset; in pvr_pds_compute_ctx_sr_program_create_and_upload() local
404 code_offset = ALIGN_POT(program.data_size, pds_data_alignment); in pvr_pds_compute_ctx_sr_program_create_and_upload()
407 pvr_pds_generate_compute_barrier_conditional(&staging_buffer[code_offset], in pvr_pds_compute_ctx_sr_program_create_and_upload()
438 &staging_buffer[code_offset], in pvr_pds_compute_ctx_sr_program_create_and_upload()
439 (uint32_t)(buffer_ptr - &staging_buffer[code_offset]), in pvr_pds_compute_ctx_sr_program_create_and_upload()
795 PVR_DEV_ADDR(sr_prog->pds.store_program.code_offset); in pvr_render_ctx_ws_static_state_init()
[all …]
Dpvr_device.c2258 const uint32_t code_offset = ALIGN_POT(data_aligned_size, code_alignment); in pvr_gpu_upload_pds() local
2260 const uint64_t bo_size = (!!code) ? (code_offset + code_aligned_size) in pvr_gpu_upload_pds()
2294 memcpy((uint8_t *)pds_upload_out->pvr_bo->bo->map + code_offset, in pvr_gpu_upload_pds()
2298 pds_upload_out->code_offset = in pvr_gpu_upload_pds()
2299 (pds_upload_out->pvr_bo->vma->dev_addr.addr + code_offset) - in pvr_gpu_upload_pds()
2306 pds_upload_out->code_offset = 0; in pvr_gpu_upload_pds()
Dpvr_private.h242 uint32_t code_offset; member
892 uint32_t code_offset; member
Dpvr_cmd_buffer.c667 PVR_DEV_ADDR(load_op->pds_tex_state_prog.code_offset); in pvr_pds_bgnd_pack_state()
1363 .pds_code_offset = program->code_offset, in pvr_compute_generate_idfwdf()
1403 .pds_code_offset = program->code_offset, in pvr_compute_generate_fence()
2979 info.pds_code_offset = pipeline->state.descriptor.pds_code.code_offset; in pvr_compute_update_shared()
3055 .pds_code_offset = pipeline->state.primary_program.code_offset, in pvr_compute_update_kernel()
3269 PVR_DEV_ADDR(vertex_descriptor_state->pds_code.code_offset); in pvr_emit_dirty_pds_state()
3785 PVR_DEV_ADDR(descriptor_shader_state->pds_code.code_offset); in pvr_setup_fragment_state_pointers()
4391 PVR_DEV_ADDR(state->pds_shader.code_offset); in pvr_emit_dirty_vdm_state()
4506 state->pds_shader.code_offset = program->program.code_offset; in pvr_validate_draw_state()
/third_party/node/deps/v8/src/profiler/
Dprofiler-listener.cc150 int code_offset = it.code_offset(); in CodeCreateEvent() local
153 baseline_iterator->AdvanceToBytecodeOffset(code_offset); in CodeCreateEvent()
154 code_offset = in CodeCreateEvent()
160 line_table->SetPosition(code_offset, line_number, inlining_id); in CodeCreateEvent()
173 line_table->SetPosition(code_offset, line_number, inlining_id); in CodeCreateEvent()
236 const char* source_url, int code_offset, in CodeCreateEvent() argument
242 code_offset + 1, nullptr, true, in CodeCreateEvent()
245 rec->entry->set_position(code_offset); in CodeCreateEvent()
Dprofiler-listener.h51 int code_offset, int script_id) override;
/third_party/node/deps/v8/src/diagnostics/
Dperf-jit.cc391 entry.address_ = code_start + iterator.code_offset() + kElfHeaderSize; in LogWriteDebugInfo()
418 uint32_t code_offset = code_ref.offset(); in LogWriteDebugInfo() local
425 !source_map->HasSource(code_offset, code_end_offset)) { in LogWriteDebugInfo()
431 uint32_t offset = iterator.source_position().ScriptOffset() + code_offset; in LogWriteDebugInfo()
432 if (!source_map->HasValidEntry(code_offset, offset)) continue; in LogWriteDebugInfo()
460 uint32_t offset = iterator.source_position().ScriptOffset() + code_offset; in LogWriteDebugInfo()
461 if (!source_map->HasValidEntry(code_offset, offset)) continue; in LogWriteDebugInfo()
466 entry.address_ = code_begin + iterator.code_offset() + kElfHeaderSize; in LogWriteDebugInfo()
/third_party/node/deps/v8/src/execution/
Dframes.cc879 int code_offset = code.GetOffsetFromInstructionStart(isolate(), pc()); in Summarize() local
881 isolate(), receiver(), function(), AbstractCode::cast(code), code_offset, in Summarize()
992 int code_offset = code.GetOffsetFromInstructionStart(isolate(), pc()); in position() local
993 return AbstractCode::cast(code).SourcePosition(code_offset); in position()
1391 AbstractCode code, int code_offset, in PrintFunctionAndOffset() argument
1396 PrintF(file, "+%d", code_offset); in PrintFunctionAndOffset()
1399 int source_pos = code.SourcePosition(code_offset); in PrintFunctionAndOffset()
1429 int code_offset = 0; in PrintTop() local
1433 code_offset = iframe->GetBytecodeOffset(); in PrintTop()
1437 code_offset = baseline_frame->GetBytecodeOffset(); in PrintTop()
[all …]
Dframes.h380 int code_offset, bool is_constructor,
389 int code_offset() const { return code_offset_; } in code_offset() function
412 int code_offset, bool at_to_number_conversion);
417 int code_offset() const { return code_offset_; } in code_offset() function
454 int code_offset() const;
637 int code_offset, FILE* file,
645 int code_offset);
/third_party/node/deps/v8/src/objects/
Dscript.h204 static int GetColumnNumber(Handle<Script> script, int code_offset);
207 int code_offset);
Dcode.cc248 !iterator.done() && iterator.code_offset() <= offset; in SourcePosition()
544 os << std::setw(10) << std::hex << it.code_offset() << std::dec in Disassemble()
559 os << std::setw(10) << std::hex << it.code_offset() << std::dec in Disassemble()
626 iterator.current_offset() == source_positions.code_offset()) { in Disassemble()
Dcall-site-info.cc549 int code_offset = info->code_offset_or_source_position(); in ComputeLocation() local
550 *location = MessageLocation(script, shared, code_offset); in ComputeLocation()
/third_party/node/deps/v8/src/logging/
Dcode-events.h90 int code_offset, int script_id) = 0;
182 int code_offset, int script_id) override { in CodeCreateEvent() argument
184 listener->CodeCreateEvent(tag, code, name, source_url, code_offset, in CodeCreateEvent()
Dlog.h184 int code_offset, int script_id) override;
423 int code_offset, int script_id) override;
491 int code_offset, int script_id) override;
Dlog.cc506 const char* source_url, int code_offset, int script_id) { in CodeCreateEvent() argument
762 uint32_t code_offset = code_ref.offset(); in LogRecordedBuffer() local
770 source_map->HasSource(code_offset, code_end_offset)) { in LogRecordedBuffer()
775 uint32_t offset = iterator.source_position().ScriptOffset() + code_offset; in LogRecordedBuffer()
776 if (!source_map->HasValidEntry(code_offset, offset)) continue; in LogRecordedBuffer()
780 mapping_info.push_back({static_cast<size_t>(iterator.code_offset()), in LogRecordedBuffer()
1242 msg << "C" << iterator.code_offset() << "O" << pos.ScriptOffset(); in LogSourceCodeInformation()
1534 jit_logger.AddCodeLinePosInfoEvent(jit_handler_data, iter.code_offset(), in CodeLinePosEvent()
1539 jit_logger.AddCodeLinePosInfoEvent(jit_handler_data, iter.code_offset(), in CodeLinePosEvent()
/third_party/mesa3d/src/amd/common/
Dac_rgp_elf_object_pack.c240 uint32_t code_offset = rgp_shader_data->base_address - in ac_rgp_file_write_elf_text() local
242 uint32_t gap_between_code = code_offset - in ac_rgp_file_write_elf_text()
244 symbol_offset += code_offset; in ac_rgp_file_write_elf_text()
/third_party/node/deps/v8/src/debug/
Ddebug.h93 int code_offset, int position, int generator_obj_reg_index, in BreakLocation() argument
96 code_offset_(code_offset), in BreakLocation()
143 int code_offset() { return source_position_iterator_.code_offset(); } in code_offset() function
Ddebug.cc120 int offset = summary.code_offset(); in FromFrame()
161 int offset = summary.code_offset(); in AllAtCurrentStatement()
197 if (it.code_offset() <= offset && offset - it.code_offset() < distance) { in BreakIndexFromCodeOffset()
199 distance = offset - it.code_offset(); in BreakIndexFromCodeOffset()
221 return it.code_offset() == code_offset_; in HasBreakPoint()
290 interpreter::Bytecodes::FromByte(bytecode_array.get(code_offset())); in GetDebugBreakType()
295 interpreter::Bytecodes::FromByte(bytecode_array.get(code_offset() + 1)); in GetDebugBreakType()
325 interpreter::BytecodeArrayIterator(bytecode_array, code_offset()) in SetDebugBreak()
335 bytecode_array.set(code_offset(), original.get(code_offset())); in ClearDebugBreak()
352 handle(bytecode_array, isolate()), code_offset()); in GetBreakLocation()
[all …]
/third_party/node/deps/v8/src/snapshot/embedded/
Dembedded-file-writer.cc95 static_cast<uint32_t>(positions.done() ? size : positions.code_offset()); in WriteBuiltin()
108 positions.done() ? size : positions.code_offset()); in WriteBuiltin()
/third_party/node/deps/v8/src/wasm/
Dwasm-debug.cc55 while (!old_it.done() && old_it.code_offset() < pc_offset) { in FindNewPC()
56 call_offset = old_it.code_offset(); in FindNewPC()
73 return wasm_code->instruction_start() + it.code_offset() + in FindNewPC()
78 int code_offset; in FindNewPC() local
80 code_offset = it.code_offset(); in FindNewPC()
83 return wasm_code->instruction_start() + code_offset + call_instruction_size; in FindNewPC()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_code.h208 uint32_t code_offset; /* US_CODE_OFFSET */ member
Dr300_fragprog_emit.c526 code->code_offset = in r300BuildFragmentProgramHwCode()
/third_party/python/Objects/
Dcodeobject.c451 int code_offset = 0; in code_getlnotab() local
460 int bdelta = bounds.ar_start - code_offset; in code_getlnotab()
466 code_offset = bounds.ar_start; in code_getlnotab()

12