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.cc85 size_t padding = compiled_method->AlignCode(offset) - offset; in MakeExecutable()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.cc81 CompiledMethod::AlignCode(code_size, InstructionSet::kArm64) - code_size; in MaxExtraSpace()
111 offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64) + in ReserveSpace()
134 uint32_t quick_code_offset = compiled_method->AlignCode(offset + sizeof(OatQuickMethodHeader)); in ReserveSpace()
135 uint32_t thunk_offset = compiled_method->AlignCode(quick_code_offset + code.size()); in ReserveSpace()
156 offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64) + in ReserveSpaceEnd()
167 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()
394 CompiledCode::AlignCode(method1_offset + method1_size, InstructionSet::kArm64); in TestNopsAdrpInsn2AndUseHasThunk()
655 CompiledCode::AlignCode(last_method_offset + last_method_code.size(), InstructionSet::kArm64); in TEST_F()
783 CompiledCode::AlignCode(last_method_offset + last_method_code.size(), InstructionSet::kArm64); in TEST_F()
1018 uint32_t thunk_offset = CompiledCode::AlignCode(method_offset + kCallCode.size(), 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()
486 uint32_t thunk_offset = CompiledCode::AlignCode( in TEST_F()
614 uint32_t thunk_offset = CompiledCode::AlignCode( in TEST_F()
675 uint32_t thunk_offset = CompiledCode::AlignCode(method_offset + kCallCode.size(), in TEST_F()
/art/dex2oat/linker/
Drelative_patcher_test.h119 CompiledMethod::AlignCode(unaligned_code_offset, instruction_set_); in CodeAlignmentSize()
Doat_writer.cc106 uint32_t aligned_code_offset = compiled_method.AlignCode(unaligned_code_offset); in CodeAlignmentSize()
2216 offset = CompiledCode::AlignCode(offset + 4, instruction_set); \ in InitOatCode()
3029 uint32_t aligned_offset = CompiledCode::AlignCode(relative_offset + 4, instruction_set); \ in WriteCode()