Home
last modified time | relevance | path

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

/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.h58 size_t AlignCode(size_t offset) const;
59 static size_t AlignCode(size_t offset, InstructionSet instruction_set);
Dcommon_compiler_test.cc87 size_t padding = compiled_method->AlignCode(offset) - offset; in MakeExecutable()
Doat_writer.cc97 uint32_t aligned_code_offset = compiled_method.AlignCode(unaligned_code_offset); in CodeAlignmentSize()
1790 offset = CompiledCode::AlignCode(offset, instruction_set); \ in InitOatCode()
2259 uint32_t aligned_offset = CompiledCode::AlignCode(relative_offset, instruction_set); \ in WriteCode()
/art/compiler/linker/arm/
Drelative_patcher_arm_base.cc154 uint32_t thunk_offset = CompiledCode::AlignCode(offset, instruction_set_); in ReserveSpaceEnd()
179 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, instruction_set_); in WriteThunks()
199 aligned_offset = CompiledMethod::AlignCode(offset, instruction_set_); in WriteThunks()
228 code_offset = compiled_method->AlignCode(offset + sizeof(OatQuickMethodHeader)); in ReserveSpaceInternal()
229 next_aligned_offset = compiled_method->AlignCode(code_offset + max_code_size); in ReserveSpaceInternal()
246 uint32_t thunk_offset = CompiledCode::AlignCode(offset, instruction_set_); in ReserveSpaceInternal()
Drelative_patcher_thumb2_test.cc82 CompiledCode::AlignCode(method3_offset - sizeof(OatQuickMethodHeader), kThumb2) + in Create2MethodsWithGap()
292 uint32_t thunk_offset = CompiledCode::AlignCode(method3_offset + method3_code.size(), kThumb2); in TEST_F()
399 uint32_t thunk_offset = CompiledCode::AlignCode(method3_offset + method3_code.size(), kThumb2); in TEST_F()
/art/compiler/linker/arm64/
Drelative_patcher_arm64.cc76 uint32_t alignment_bytes = CompiledMethod::AlignCode(code_size, kArm64) - code_size; in MaxExtraSpace()
105 offset = CompiledMethod::AlignCode(offset, kArm64) + kAdrpThunkSize * num_adrp_thunks; in ReserveSpace()
127 uint32_t quick_code_offset = compiled_method->AlignCode(offset + sizeof(OatQuickMethodHeader)); in ReserveSpace()
128 uint32_t thunk_offset = compiled_method->AlignCode(quick_code_offset + code.size()); in ReserveSpace()
149 offset = CompiledMethod::AlignCode(offset, kArm64) + kAdrpThunkSize * num_adrp_thunks; in ReserveSpaceEnd()
159 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, kArm64); in WriteThunks()
Drelative_patcher_arm64_test.cc148 uint32_t thunk_end = CompiledCode::AlignCode(gap_end, kArm64) + MethodCallThunkSize(); in Create2MethodsWithGap()
340 uint32_t thunk_offset = CompiledCode::AlignCode(method1_offset + method1_size, kArm64); in TestNopsAdrpInsn2AndUseHasThunk()
590 CompiledCode::AlignCode(last_method_offset + last_method_code.size(), kArm64); in TEST_F()
709 CompiledCode::AlignCode(last_method_offset + last_method_code.size(), kArm64); in TEST_F()
/art/compiler/linker/
Drelative_patcher_test.h101 CompiledMethod::AlignCode(unaligned_code_offset, instruction_set_); in CodeAlignmentSize()