HomeSort by relevance Sort by last modified time
    Searched defs:code_ptr (Results 1 - 15 of 15) sorted by null

  /art/runtime/jit/
profiling_info.cc 33 const uint16_t* code_ptr = code_item.insns_; local
38 while (code_ptr < code_end) {
39 const Instruction& instruction = *Instruction::At(code_ptr);
54 code_ptr += instruction.SizeInCodeUnits();
jit_code_cache.cc 244 void JitCodeCache::FreeCode(const void* code_ptr, ArtMethod* method ATTRIBUTE_UNUSED) {
245 uintptr_t allocation = FromCodeToAllocation(code_ptr);
246 const OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr);
249 DeleteJITCodeEntryForAddress(reinterpret_cast<uintptr_t>(code_ptr));
322 uint8_t* code_ptr = nullptr; local
334 code_ptr = memory + header_size;
336 std::copy(code, code + code_size, code_ptr);
337 method_header = OatQuickMethodHeader::FromCodePointer(code_ptr);
339 (vmap_table == nullptr) ? 0 : code_ptr - vmap_table,
346 FlushInstructionCache(reinterpret_cast<char*>(code_ptr),
664 const void* code_ptr = it->first; local
709 const void* code_ptr = it.first; local
766 const void* code_ptr = it.first; local
796 const void* code_ptr = it->first; local
    [all...]
  /art/compiler/
exception_test.cc 93 const void* code_ptr = reinterpret_cast<const uint8_t*>(unaligned_code_ptr) + padding; local
94 CHECK_EQ(code_ptr,
105 method_f_->SetEntryPointFromQuickCompiledCode(code_ptr);
109 method_g_->SetEntryPointFromQuickCompiledCode(code_ptr);
common_compiler_test.cc 84 const void* code_ptr = reinterpret_cast<const uint8_t*>(unaligned_code_ptr) + padding; local
85 CHECK_EQ(code_ptr, static_cast<const void*>(chunk->data() + (chunk->size() - code_size)));
86 MakeExecutable(code_ptr, code.size());
87 const void* method_code = CompiledMethod::CodePointer(code_ptr,
  /external/v8/src/base/platform/
platform-macos.cc 79 char* code_ptr = getsectdatafromheader_64( local
86 char* code_ptr = getsectdatafromheader(header, SEG_TEXT, SECT_TEXT, &size); local
88 if (code_ptr == NULL) continue;
90 const uintptr_t start = reinterpret_cast<uintptr_t>(code_ptr) + slide;
  /art/compiler/optimizing/
code_generator.cc 662 const uint16_t* code_ptr = code_item.insns_; local
666 while (code_ptr < code_end) {
667 const Instruction& instruction = *Instruction::At(code_ptr);
684 code_ptr += instruction.SizeInCodeUnits();
    [all...]
  /external/pcre/dist/sljit/
sljitNativeARM_32.c 266 static sljit_uw patch_pc_relative_loads(sljit_uw *last_pc_patch, sljit_uw *code_ptr, sljit_uw* const_pool, sljit_uw cpool_size)
274 SLJIT_ASSERT(const_pool - code_ptr <= CONST_POOL_ALIGNMENT);
281 while (last_pc_patch < code_ptr) {
392 static SLJIT_INLINE sljit_si detect_jump_type(struct sljit_jump *jump, sljit_uw *code_ptr, sljit_uw *code)
401 code_ptr--;
404 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2));
407 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)(code_ptr + 2));
416 *code_ptr = (BL - CONDITIONAL) | (*(code_ptr + 1) & COND_MASK);
423 *code_ptr = (B - CONDITIONAL) | (*code_ptr & COND_MASK)
560 sljit_uw *code_ptr; local
    [all...]
sljitNativeARM_64.c 154 static SLJIT_INLINE sljit_si detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code)
170 diff = (sljit_sw)target_addr - (sljit_sw)(code_ptr + 4);
175 code_ptr[-5] ^= (jump->flags & IS_CBZ) ? (0x1 << 24) : 0x1;
190 code_ptr[-5] -= (2 << 5);
191 code_ptr[-2] = code_ptr[0];
196 code_ptr[-5] -= (1 << 5);
198 code_ptr[-1] = code_ptr[0];
210 sljit_ins *code_ptr; local
    [all...]
sljitNativeARM_T2_32.c 224 static SLJIT_INLINE sljit_si detect_jump_type(struct sljit_jump *jump, sljit_uh *code_ptr, sljit_uh *code)
235 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2)) >> 1;
239 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)(code_ptr + 2)) >> 1;
346 sljit_uh *code_ptr; local
363 code_ptr = code;
373 *code_ptr = *buf_ptr++;
379 label->addr = ((sljit_uw)code_ptr) | 0x1;
380 label->size = code_ptr - code;
384 jump->addr = (sljit_uw)code_ptr - ((jump->flags & IS_COND) ? 10 : 8);
385 code_ptr -= detect_jump_type(jump, code_ptr, code)
    [all...]
sljitNativeMIPS_common.c 221 static SLJIT_INLINE sljit_ins* detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code)
230 return code_ptr;
233 return code_ptr;
349 return code_ptr;
353 static __attribute__ ((noinline)) void sljit_cache_flush(void* code, void* code_ptr)
355 SLJIT_CACHE_FLUSH(code, code_ptr);
363 sljit_ins *code_ptr; local
381 code_ptr = code;
390 *code_ptr = *buf_ptr++;
397 label->addr = (sljit_uw)code_ptr;
    [all...]
sljitNativePPC_common.c 248 static SLJIT_INLINE sljit_si detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code)
274 diff = ((sljit_sw)target_addr - (sljit_sw)(code_ptr)) & ~0x3l;
321 sljit_ins *code_ptr; local
346 code_ptr = code;
355 *code_ptr = *buf_ptr++;
362 label->addr = (sljit_uw)code_ptr;
363 label->size = code_ptr - code;
368 jump->addr = (sljit_uw)(code_ptr - 3);
370 jump->addr = (sljit_uw)(code_ptr - 6);
372 if (detect_jump_type(jump, code_ptr, code))
    [all...]
sljitNativeSPARC_common.c 198 static SLJIT_INLINE sljit_ins* detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code)
206 return code_ptr;
268 return code_ptr;
275 sljit_ins *code_ptr; local
293 code_ptr = code;
302 *code_ptr = *buf_ptr++;
309 label->addr = (sljit_uw)code_ptr;
310 label->size = code_ptr - code;
315 jump->addr = (sljit_uw)(code_ptr - 3);
317 jump->addr = (sljit_uw)(code_ptr - 6)
    [all...]
sljitNativeX86_common.c 389 static sljit_ub* generate_far_jump_code(struct sljit_jump *jump, sljit_ub *code_ptr, sljit_si type);
392 static sljit_ub* generate_fixed_jump(sljit_ub *code_ptr, sljit_sw addr, sljit_si type);
395 static sljit_ub* generate_near_jump_code(struct sljit_jump *jump, sljit_ub *code_ptr, sljit_ub *code, sljit_si type)
408 return generate_far_jump_code(jump, code_ptr, type);
413 *code_ptr++ = JMP_i8;
415 *code_ptr++ = JMP_i32;
420 *code_ptr++ = CALL_i32;
424 *code_ptr++ = get_jump_code(type) - 0x10;
428 *code_ptr++ = GROUP_0F;
429 *code_ptr++ = get_jump_code(type)
452 sljit_ub *code_ptr; local
    [all...]
sljitNativeTILEGX_64.c 903 static SLJIT_INLINE sljit_ins * detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code)
910 return code_ptr;
967 return code_ptr;
993 return code_ptr;
1000 sljit_ins *code_ptr; local
1018 code_ptr = code;
1027 *code_ptr = *buf_ptr++;
1034 label->addr = (sljit_uw) code_ptr;
1035 label->size = code_ptr - code;
1041 jump->addr = (sljit_uw)(code_ptr - 4)
    [all...]
  /art/compiler/driver/
compiler_driver.cc 792 const uint16_t* code_ptr = code_item->insns_; local
795 while (code_ptr < code_end) {
796 const Instruction* inst = Instruction::At(code_ptr);
813 code_ptr += inst->SizeInCodeUnits();
    [all...]

Completed in 165 milliseconds