Home
last modified time | relevance | path

Searched refs:AlignCode (Results 1 – 10 of 10) sorted by relevance

/art/compiler/linker/arm/
Drelative_patcher_arm_base.cc37 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, instruction_set_); in ReserveSpaceEnd()
42 offset = CompiledMethod::AlignCode(aligned_offset + thunk_code_.size(), instruction_set_); in ReserveSpaceEnd()
51 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, instruction_set_); in WriteThunks()
63 offset = CompiledMethod::AlignCode(thunk_end_offset, instruction_set_); in WriteThunks()
89 uint32_t quick_code_offset = compiled_method->AlignCode(offset) + sizeof(OatQuickMethodHeader); in ReserveSpaceInternal()
90 uint32_t next_aligned_offset = compiled_method->AlignCode(quick_code_offset + quick_code_size); in ReserveSpaceInternal()
92 next_aligned_offset = compiled_method->AlignCode(next_aligned_offset + max_extra_space); in ReserveSpaceInternal()
102 uint32_t thunk_location = compiled_method->AlignCode(offset); in ReserveSpaceInternal()
104 offset = CompiledMethod::AlignCode(thunk_location + thunk_code_.size(), instruction_set_); in ReserveSpaceInternal()
Drelative_patcher_thumb2_test.cc48 CompiledCode::AlignCode(kTrampolineSize, kThumb2) + sizeof(OatQuickMethodHeader); in Create2MethodsWithGap()
57 CompiledCode::AlignCode(method1_offset + method1_code.size(), kThumb2) + in Create2MethodsWithGap()
77 uint32_t aligned_thunk_size = CompiledCode::AlignCode(ThunkSize(), kThumb2); in Create2MethodsWithGap()
294 uint32_t thunk_offset = method3_header_offset - CompiledCode::AlignCode(ThunkSize(), kThumb2); in TEST_F()
321 uint32_t thunk_offset = CompiledCode::AlignCode(method3_offset + method3_code.size(), kThumb2); in TEST_F()
/art/compiler/linker/arm64/
Drelative_patcher_arm64.cc54 offset = CompiledMethod::AlignCode(offset, kArm64) + kAdrpThunkSize * num_adrp_thunks; in ReserveSpace()
75 uint32_t quick_code_offset = compiled_method->AlignCode(offset) + sizeof(OatQuickMethodHeader); in ReserveSpace()
77 uint32_t thunk_offset = compiled_method->AlignCode(quick_code_offset + code.size()); in ReserveSpace()
99 offset = CompiledMethod::AlignCode(offset, kArm64) + kAdrpThunkSize * num_adrp_thunks; in ReserveSpaceEnd()
109 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, kArm64); in WriteThunks()
Drelative_patcher_arm64_test.cc61 CompiledCode::AlignCode(kTrampolineSize, kArm64) + sizeof(OatQuickMethodHeader); in Create2MethodsWithGap()
64 CompiledCode::AlignCode(method1_offset + method1_code.size(), kArm64); in Create2MethodsWithGap()
102 uint32_t aligned_thunk_size = CompiledCode::AlignCode(ThunkSize(), kArm64); in Create2MethodsWithGap()
240 uint32_t thunk_offset = CompiledCode::AlignCode(method1_offset + method1_size, kArm64); in TestNopsAdrpInsn2LdrHasThunk()
275 CompiledCode::AlignCode(kTrampolineSize, kArm64) + sizeof(OatQuickMethodHeader); in TestAdrpInsn2Ldr()
456 uint32_t thunk_offset = last_method_header_offset - CompiledCode::AlignCode(ThunkSize(), kArm64); in TEST_F()
486 CompiledCode::AlignCode(last_method_offset + last_method_code.size(), kArm64); in TEST_F()
/art/compiler/
Dcompiled_method.cc62 size_t CompiledCode::AlignCode(size_t offset) const { in AlignCode() function in art::CompiledCode
63 return AlignCode(offset, instruction_set_); in AlignCode()
66 size_t CompiledCode::AlignCode(size_t offset, InstructionSet instruction_set) { in AlignCode() function in art::CompiledCode
Dcompiled_method.h57 size_t AlignCode(size_t offset) const;
58 static size_t AlignCode(size_t offset, InstructionSet instruction_set);
Dcommon_compiler_test.cc81 size_t code_offset = compiled_method->AlignCode(size - code_size); in MakeExecutable()
Doat_writer.cc538 offset_ = compiled_method->AlignCode(offset_); in NewQuickCodeOffset()
706 uint32_t aligned_offset = compiled_method->AlignCode(offset_); in VisitMethod()
1080 offset = CompiledCode::AlignCode(offset, instruction_set); \ in InitOatCode()
1332 uint32_t aligned_offset = CompiledCode::AlignCode(relative_offset, instruction_set); \ in WriteCode()
/art/compiler/linker/
Drelative_patcher_test.h89 uint32_t aligned_offset = compiled_method->AlignCode(offset); in Link()
119 uint32_t aligned_offset = compiled_method->AlignCode(offset); in Link()
/art/compiler/jit/
Djit_compiler.cc185 compiled_method->AlignCode(reinterpret_cast<uintptr_t>(reserve_begin))); in WriteMethodHeaderAndCode()