Home
last modified time | relevance | path

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

/art/compiler/linker/arm/
Drelative_patcher_arm_base.cc38 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, instruction_set_); in ReserveSpaceEnd()
49 offset = CompiledMethod::AlignCode(aligned_offset + thunk_code_.size(), instruction_set_); in ReserveSpaceEnd()
58 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, instruction_set_); in WriteThunks()
70 offset = CompiledMethod::AlignCode(thunk_end_offset, instruction_set_); in WriteThunks()
95 uint32_t quick_code_offset = compiled_method->AlignCode(offset) + sizeof(OatQuickMethodHeader); in ReserveSpaceInternal()
96 uint32_t next_aligned_offset = compiled_method->AlignCode(quick_code_offset + quick_code_size); in ReserveSpaceInternal()
98 next_aligned_offset = compiled_method->AlignCode(next_aligned_offset + max_extra_space); in ReserveSpaceInternal()
109 uint32_t thunk_location = compiled_method->AlignCode(offset); in ReserveSpaceInternal()
111 offset = CompiledMethod::AlignCode(thunk_location + thunk_code_.size(), instruction_set_); in ReserveSpaceInternal()
Drelative_patcher_thumb2_test.cc52 CompiledCode::AlignCode(kTrampolineSize, kThumb2) + sizeof(OatQuickMethodHeader); in Create2MethodsWithGap()
61 CompiledCode::AlignCode(method1_offset + method1_code.size(), kThumb2) + in Create2MethodsWithGap()
81 uint32_t aligned_thunk_size = CompiledCode::AlignCode(ThunkSize(), kThumb2); in Create2MethodsWithGap()
283 uint32_t thunk_offset = CompiledCode::AlignCode(method3_offset + method3_code.size(), kThumb2); in TEST_F()
357 uint32_t thunk_offset = method3_header_offset - CompiledCode::AlignCode(ThunkSize(), kThumb2); in TEST_F()
386 uint32_t thunk_offset = CompiledCode::AlignCode(method3_offset + method3_code.size(), kThumb2); in TEST_F()
/art/compiler/
Dcompiled_method.cc49 size_t CompiledCode::AlignCode(size_t offset) const { in AlignCode() function in art::CompiledCode
50 return AlignCode(offset, instruction_set_); in AlignCode()
53 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.cc80 size_t padding = compiled_method->AlignCode(offset) - offset; in MakeExecutable()
Doat_writer.cc819 offset_ = compiled_method->AlignCode(offset_); in NewQuickCodeOffset()
1013 uint32_t aligned_offset = compiled_method->AlignCode(offset_); in VisitMethod()
1438 offset = CompiledCode::AlignCode(offset, instruction_set); \ in InitOatCode()
1715 uint32_t aligned_offset = CompiledCode::AlignCode(relative_offset, instruction_set); \ in WriteCode()
/art/compiler/linker/arm64/
Drelative_patcher_arm64.cc66 offset = CompiledMethod::AlignCode(offset, kArm64) + kAdrpThunkSize * num_adrp_thunks; in ReserveSpace()
86 uint32_t quick_code_offset = compiled_method->AlignCode(offset) + sizeof(OatQuickMethodHeader); in ReserveSpace()
88 uint32_t thunk_offset = compiled_method->AlignCode(quick_code_offset + code.size()); in ReserveSpace()
109 offset = CompiledMethod::AlignCode(offset, kArm64) + kAdrpThunkSize * num_adrp_thunks; in ReserveSpaceEnd()
119 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, kArm64); in WriteThunks()
Drelative_patcher_arm64_test.cc71 CompiledCode::AlignCode(kTrampolineSize, kArm64) + sizeof(OatQuickMethodHeader); in Create2MethodsWithGap()
74 CompiledCode::AlignCode(method1_offset + method1_code.size(), kArm64); in Create2MethodsWithGap()
112 uint32_t aligned_thunk_size = CompiledCode::AlignCode(ThunkSize(), kArm64); in Create2MethodsWithGap()
307 uint32_t thunk_offset = CompiledCode::AlignCode(method1_offset + method1_size, kArm64); in TestNopsAdrpInsn2AndUseHasThunk()
344 CompiledCode::AlignCode(kTrampolineSize, kArm64) + sizeof(OatQuickMethodHeader); in TestAdrpInsn2Ldr()
394 CompiledCode::AlignCode(kTrampolineSize, kArm64) + sizeof(OatQuickMethodHeader); in TestAdrpInsn2Add()
534 CompiledCode::AlignCode(last_method_offset + last_method_code.size(), kArm64); in TEST_F()
619 uint32_t thunk_offset = last_method_header_offset - CompiledCode::AlignCode(ThunkSize(), kArm64); in TEST_F()
650 CompiledCode::AlignCode(last_method_offset + last_method_code.size(), kArm64); in TEST_F()
/art/compiler/linker/
Drelative_patcher_test.h109 uint32_t aligned_offset = compiled_method->AlignCode(offset); in Link()
139 uint32_t aligned_offset = compiled_method->AlignCode(offset); in Link()