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

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

Completed in 2902 milliseconds