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, GetInstructionSet()); 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.cc74 size_t padding = compiled_method->AlignCode(offset) - offset; in MakeExecutable()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.cc80 CompiledMethod::AlignCode(code_size, InstructionSet::kArm64) - code_size; in MaxExtraSpace()
110 offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64) + in ReserveSpace()
133 uint32_t quick_code_offset = compiled_method->AlignCode(offset + sizeof(OatQuickMethodHeader)); in ReserveSpace()
134 uint32_t thunk_offset = compiled_method->AlignCode(quick_code_offset + code.size()); in ReserveSpace()
155 offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64) + in ReserveSpaceEnd()
166 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64); in WriteThunks()
Drelative_patcher_arm64_test.cc161 CompiledCode::AlignCode(gap_end, InstructionSet::kArm64) + MethodCallThunkSize(); in Create2MethodsWithGap()
393 CompiledCode::AlignCode(method1_offset + method1_size, InstructionSet::kArm64); in TestNopsAdrpInsn2AndUseHasThunk()
654 CompiledCode::AlignCode(last_method_offset + last_method_code.size(), InstructionSet::kArm64); in TEST_F()
782 CompiledCode::AlignCode(last_method_offset + last_method_code.size(), InstructionSet::kArm64); in TEST_F()
/art/dex2oat/linker/arm/
Drelative_patcher_arm_base.cc183 uint32_t thunk_offset = CompiledCode::AlignCode(offset, instruction_set_); in ReserveSpaceEnd()
208 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, instruction_set_); in WriteThunks()
228 aligned_offset = CompiledMethod::AlignCode(offset, instruction_set_); in WriteThunks()
300 code_offset = compiled_method->AlignCode(offset + sizeof(OatQuickMethodHeader)); in ReserveSpaceInternal()
301 next_aligned_offset = compiled_method->AlignCode(code_offset + max_code_size); in ReserveSpaceInternal()
318 uint32_t thunk_offset = CompiledCode::AlignCode(offset, instruction_set_); in ReserveSpaceInternal()
Drelative_patcher_thumb2_test.cc194 CompiledCode::AlignCode(gap_end, InstructionSet::kThumb2) + MethodCallThunkSize(); in Create2MethodsWithGap()
485 uint32_t thunk_offset = CompiledCode::AlignCode( in TEST_F()
613 uint32_t thunk_offset = CompiledCode::AlignCode( in TEST_F()
/art/dex2oat/linker/
Drelative_patcher_test.h120 CompiledMethod::AlignCode(unaligned_code_offset, instruction_set_); in CodeAlignmentSize()
Doat_writer.cc105 uint32_t aligned_code_offset = compiled_method.AlignCode(unaligned_code_offset); in CodeAlignmentSize()
2197 offset = CompiledCode::AlignCode(offset, instruction_set); \ in InitOatCode()
3073 uint32_t aligned_offset = CompiledCode::AlignCode(relative_offset, instruction_set); \ in WriteCode()