Home
last modified time | relevance | path

Searched refs:code_ptr (Results 1 – 7 of 7) sorted by relevance

/art/compiler/jit/
Djit_compiler.cc189 auto* code_ptr = reserve_begin; in WriteMethodHeaderAndCode() local
190 OatQuickMethodHeader* method_header = reinterpret_cast<OatQuickMethodHeader*>(code_ptr) - 1; in WriteMethodHeaderAndCode()
197 std::copy(quick_code->data(), quick_code->data() + code_size, code_ptr); in WriteMethodHeaderAndCode()
201 code_ptr - mapping_table, code_ptr - vmap_table, code_ptr - gc_map, frame_size_in_bytes, in WriteMethodHeaderAndCode()
204 return code_ptr; in WriteMethodHeaderAndCode()
244 auto* code_ptr = WriteMethodHeaderAndCode( in AddToCodeCache() local
248 __builtin___clear_cache(reinterpret_cast<char*>(code_ptr), in AddToCodeCache()
249 reinterpret_cast<char*>(code_ptr + quick_code->size())); in AddToCodeCache()
252 const uint32_t code_offset = code_ptr - base + thumb_offset; in AddToCodeCache()
261 << PrettySize(code_cache->CodeCacheSize()) << ": " << reinterpret_cast<void*>(code_ptr) in AddToCodeCache()
[all …]
/art/runtime/jit/
Djit_code_cache_test.cc82 uint8_t* code_ptr = nullptr; in TEST_F() local
85 code_ptr = code_cache->ReserveCode(Thread::Current(), kCodeArrSize); in TEST_F()
87 if (code_ptr != nullptr) { in TEST_F()
93 } while (code_ptr != nullptr || data_ptr != nullptr); in TEST_F()
/art/runtime/
Dexception_test.cc97 const uint8_t* code_ptr = &fake_header_code_and_maps_[gc_map_offset]; in SetUp() local
101 method_f_->SetEntryPointFromQuickCompiledCode(code_ptr); in SetUp()
105 method_g_->SetEntryPointFromQuickCompiledCode(code_ptr); in SetUp()
/art/compiler/
Dcommon_compiler_test.cc96 const void* code_ptr = &(*chunk)[code_offset]; in MakeExecutable() local
97 MakeExecutable(code_ptr, code->size()); in MakeExecutable()
98 const void* method_code = CompiledMethod::CodePointer(code_ptr, in MakeExecutable()
/art/compiler/optimizing/
Dbuilder.cc265 const uint16_t* code_ptr = code_item.insns_; in BuildGraph() local
267 code_start_ = code_ptr; in BuildGraph()
285 if (!ComputeBranchTargets(code_ptr, code_end, &number_of_branches)) { in BuildGraph()
317 while (code_ptr < code_end) { in BuildGraph()
320 const Instruction& instruction = *Instruction::At(code_ptr); in BuildGraph()
325 code_ptr += instruction.SizeInCodeUnits(); in BuildGraph()
355 bool HGraphBuilder::ComputeBranchTargets(const uint16_t* code_ptr, in ComputeBranchTargets() argument
358 branch_targets_.SetSize(code_end - code_ptr); in ComputeBranchTargets()
368 while (code_ptr < code_end) { in ComputeBranchTargets()
369 const Instruction& instruction = *Instruction::At(code_ptr); in ComputeBranchTargets()
[all …]
/art/compiler/dex/
Dmir_graph.cc169 int MIRGraph::ParseInsn(const uint16_t* code_ptr, MIR::DecodedInstruction* decoded_instruction) { in ParseInsn() argument
170 const Instruction* inst = Instruction::At(code_ptr); in ParseInsn()
456 int width, int flags, const uint16_t* code_ptr, in ProcessCanBranch() argument
506 } else if (code_ptr < code_end) { in ProcessCanBranch()
597 const uint16_t* code_ptr, const uint16_t* code_end, in ProcessCanThrow() argument
649 if (code_ptr < code_end) { in ProcessCanThrow()
712 const uint16_t* code_ptr = current_code_item_->insns_; in InlineMethod() local
762 while (code_ptr < code_end) { in InlineMethod()
766 int width = ParseInsn(code_ptr, &insn->dalvikInsn); in InlineMethod()
789 if ((width == 1) && ((current_offset_ & 0x1) == 0x1) && ((code_end - code_ptr) > 1)) { in InlineMethod()
[all …]
Dmir_graph.h1287 int ParseInsn(const uint16_t* code_ptr, MIR::DecodedInstruction* decoded_instruction);
1288 bool ContentIsInsn(const uint16_t* code_ptr);
1296 int flags, const uint16_t* code_ptr, const uint16_t* code_end,
1302 int flags, ArenaBitVector* try_block_addr, const uint16_t* code_ptr,