Home
last modified time | relevance | path

Searched refs:instruction_start (Results 1 – 25 of 29) sorted by relevance

12

/external/harfbuzz_ng/src/
Dhb-subset-glyf.cc50 unsigned int *instruction_start = &(*instruction_ranges)[instruction_ranges->len - 2]; in _calculate_glyf_and_loca_prime_size() local
51 *instruction_start = 0; in _calculate_glyf_and_loca_prime_size()
68 instruction_start, instruction_end))) in _calculate_glyf_and_loca_prime_size()
75 total += end_offset - start_offset - (*instruction_end - *instruction_start); in _calculate_glyf_and_loca_prime_size()
177 unsigned int instruction_start = instruction_ranges[i * 2]; in _write_glyf_and_loca_prime() local
180 int length = end_offset - start_offset - (instruction_end - instruction_start); in _write_glyf_and_loca_prime()
191 if (instruction_start == instruction_end) in _write_glyf_and_loca_prime()
195 memcpy (glyf_prime_data_next, glyf_data + start_offset, instruction_start - start_offset); in _write_glyf_and_loca_prime()
196 …memcpy (glyf_prime_data_next + instruction_start - start_offset, glyf_data + instruction_end, end_… in _write_glyf_and_loca_prime()
204 memset (glyf_prime_data_next + instruction_start - start_offset - 2, 0, 2); in _write_glyf_and_loca_prime()
Dhb-ot-glyf-table.hh386 unsigned int *instruction_start /* OUT */, in get_instruction_offsets()
391 *instruction_start = 0; in get_instruction_offsets()
409 *instruction_start = ((char *) last - (char *) glyf_table->dataZ.arrayZ) + last->get_size (); in get_instruction_offsets()
411 *instruction_start = end_offset; in get_instruction_offsets()
413 if (unlikely (*instruction_start > *instruction_end)) in get_instruction_offsets()
415 …ET, nullptr, "Invalid instruction offset, %d is outside [%d, %d]", *instruction_start, start_offse… in get_instruction_offsets()
437 *instruction_start = start; in get_instruction_offsets()
/external/v8/src/profiler/
Dprofiler-listener.cc27 rec->instruction_start = entry_point; in CallbackEvent()
37 rec->instruction_start = code->InstructionStart(); in CodeCreateEvent()
51 rec->instruction_start = code->InstructionStart(); in CodeCreateEvent()
67 rec->instruction_start = code->InstructionStart(); in CodeCreateEvent()
86 rec->instruction_start = abstract_code->InstructionStart(); in CodeCreateEvent()
117 rec->instruction_start = code->instruction_start(); in CodeCreateEvent()
121 nullptr, code->instruction_start()); in CodeCreateEvent()
138 rec->instruction_start = code->InstructionStart(); in CodeDisableOptEvent()
148 rec->instruction_start = code->InstructionStart(); in CodeDeoptEvent()
163 rec->instruction_start = entry_point; in GetterCallbackEvent()
[all …]
Dcpu-profiler-inl.h19 code_map->AddCode(instruction_start, entry, instruction_size); in UpdateCodeMap()
29 CodeEntry* entry = code_map->FindEntry(instruction_start); in UpdateCodeMap()
37 CodeEntry* entry = code_map->FindEntry(instruction_start); in UpdateCodeMap()
47 CodeEntry* entry = code_map->FindEntry(instruction_start); in UpdateCodeMap()
Dcpu-profiler.h56 Address instruction_start;
75 Address instruction_start;
84 Address instruction_start;
98 Address instruction_start;
Dprofile-generator-inl.h17 Address instruction_start) in CodeEntry() argument
27 instruction_start_(instruction_start) {} in CodeEntry()
Dprofile-generator.cc532 DCHECK(entry->instruction_start() == kNullAddress || in AddCode()
533 addr == entry->instruction_start()); in AddCode()
558 if (ret && ret->instruction_start() != kNullAddress) { in FindEntry()
559 DCHECK_EQ(start_address, ret->instruction_start()); in FindEntry()
728 static_cast<int>(attributed_pc - pc_entry->instruction_start()); in RecordTickSample()
760 static_cast<int>(stack_pos - entry->instruction_start()); in RecordTickSample()
Dprofiler-listener.h63 Address instruction_start = kNullAddress);
Dprofile-generator.h60 Address instruction_start = kNullAddress);
112 Address instruction_start() const { return instruction_start_; } in instruction_start() function
Dcpu-profiler.cc434 rec->instruction_start = builtins->builtin(id)->InstructionStart(); in LogBuiltins()
/external/v8/src/wasm/
Dwasm-code-manager.cc41 return pc < code->instruction_start(); in operator ()()
103 return instruction_start() + constant_pool_offset_; in constant_pool()
122 Address base = instruction_start(); in RegisterTrapHandlerData()
164 LOG_CODE_EVENT(isolate, CodeLinePosInfoRecordEvent(instruction_start(), in LogCode()
191 CHECK_EQ(target, code->instruction_start()); in Validate()
249 HandlerTable table(instruction_start(), handler_table_offset_); in Disassemble()
388 code->instruction_start() > owned_code_.back()->instruction_start()) { in AddOwnedCode()
397 owned_code_.begin(), owned_code_.end(), code->instruction_start(), in AddOwnedCode()
402 memcpy(reinterpret_cast<void*>(code->instruction_start()), in AddOwnedCode()
422 PatchJumpTable(index, ret->instruction_start(), WasmCode::kFlushICache); in AddInterpreterEntry()
[all …]
Dwasm-serialization.cc251 ->instruction_start(); in NativeModuleSerializer()
359 Address offset = orig_target - code->instruction_start(); in WriteCode()
506 ->instruction_start(); in ReadCode()
520 Address target = code->instruction_start() + offset; in ReadCode()
Dwasm-code-manager.h108 Address instruction_start() const { in instruction_start() function
283 return jump_table_ ? jump_table_->instruction_start() : kNullAddress; in jump_table_start()
/external/v8/src/
Dcode-reference.cc18 Address CodeReference::instruction_start() const { in instruction_start() function in v8::internal::CodeReference
Dhandler-table.cc32 HandlerTable::HandlerTable(Address instruction_start, in HandlerTable() argument
38 raw_encoded_data_(instruction_start + handler_table_offset) { in HandlerTable()
Dcode-reference.h28 Address instruction_start() const;
Dhandler-table.h52 explicit HandlerTable(Address instruction_start, size_t handler_table_offset);
Dsafepoint-table.cc37 SafepointTable::SafepointTable(Address instruction_start, in SafepointTable() argument
40 : instruction_start_(instruction_start), in SafepointTable()
Dframes.cc831 SafepointTable table(wasm_code->instruction_start(), in IterateCompiledFrame()
1763 Address instruction_start = isolate() in Print() local
1767 ->instruction_start(); in Print()
1781 static_cast<int>(pc() - instruction_start), pos, in Print()
1825 int offset = static_cast<int>(pc() - code->instruction_start()); in Summarize()
1840 int offset = static_cast<int>(callee_pc() - code->instruction_start()); in at_to_number_conversion()
1853 HandlerTable table(code->instruction_start(), code->handler_table_offset()); in LookupExceptionHandlerInTable()
1854 int pc_offset = static_cast<int>(pc() - code->instruction_start()); in LookupExceptionHandlerInTable()
Dsafepoint-table.h94 explicit SafepointTable(Address instruction_start,
Ddisassembler.cc60 code_.instruction_start()); in NameOfAddress()
Dreloc-info.cc288 : RelocIterator(nullptr, code_reference.instruction_start(), in RelocIterator()
Dlog.cc334 WriteLogRecordedBuffer(static_cast<uintptr_t>(code->instruction_start()), in LogRecordedBuffer()
598 event.code_address = code->instruction_start(); in LogRecordedBuffer()
602 LogWriteBytes(reinterpret_cast<const char*>(code->instruction_start()), in LogRecordedBuffer()
Disolate.cc1261 auto FoundHandler = [&](Context* context, Address instruction_start, in Throw()
1268 instruction_start + handler_offset; in Throw()
1333 return FoundHandler(nullptr, wasm_code->instruction_start(), offset, in Throw()
2860 Address instruction_start = d.InstructionStartOfBuiltin(i); in Throw() local
2862 builtins->builtin_handle(i), instruction_start); in Throw()
/external/v8/src/compiler/
Dinstruction-selector.cc1078 auto FinishEmittedInstructions = [&](Node* node, int instruction_start) { in VisitBlock() argument
1080 if (current_num_instructions() == instruction_start) return true; in VisitBlock()
1081 std::reverse(instructions_.begin() + instruction_start, in VisitBlock()
1086 sequence()->SetSourcePosition(instructions_[instruction_start], in VisitBlock()
1224 int instruction_start = static_cast<int>(instructions_.size()); in VisitControl() local
1225 instr_origins_[input->id()] = {instruction_start, instruction_end}; in VisitControl()

12