Home
last modified time | relevance | path

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

/art/compiler/
Dcompiled_method.cc50 size_t CompiledCode::AlignCode(size_t offset) const { in AlignCode() function in art::CompiledCode
51 return AlignCode(offset, GetInstructionSet()); in AlignCode()
54 size_t CompiledCode::AlignCode(size_t offset, InstructionSet instruction_set) { in AlignCode() function in art::CompiledCode
Dcompiled_method.h59 size_t AlignCode(size_t offset) const;
60 static size_t AlignCode(size_t offset, InstructionSet instruction_set);
Dcommon_compiler_test.cc89 size_t padding = compiled_method->AlignCode(offset) - offset; in MakeExecutable()
/art/compiler/linker/arm/
Drelative_patcher_arm_base.cc177 uint32_t thunk_offset = CompiledCode::AlignCode(offset, instruction_set_); in ReserveSpaceEnd()
202 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, instruction_set_); in WriteThunks()
222 aligned_offset = CompiledMethod::AlignCode(offset, instruction_set_); in WriteThunks()
293 code_offset = compiled_method->AlignCode(offset + sizeof(OatQuickMethodHeader)); in ReserveSpaceInternal()
294 next_aligned_offset = compiled_method->AlignCode(code_offset + max_code_size); in ReserveSpaceInternal()
311 uint32_t thunk_offset = CompiledCode::AlignCode(offset, instruction_set_); in ReserveSpaceInternal()
Drelative_patcher_thumb2_test.cc176 CompiledCode::AlignCode(method3_offset - sizeof(OatQuickMethodHeader), in Create2MethodsWithGap()
424 uint32_t thunk_offset = CompiledCode::AlignCode(method3_offset + method3_code.size(), in TEST_F()
531 uint32_t thunk_offset = CompiledCode::AlignCode(method3_offset + method3_code.size(), in TEST_F()
/art/compiler/linker/arm64/
Drelative_patcher_arm64.cc80 CompiledMethod::AlignCode(code_size, InstructionSet::kArm64) - code_size; in MaxExtraSpace()
109 offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64) + in ReserveSpace()
132 uint32_t quick_code_offset = compiled_method->AlignCode(offset + sizeof(OatQuickMethodHeader)); in ReserveSpace()
133 uint32_t thunk_offset = compiled_method->AlignCode(quick_code_offset + code.size()); in ReserveSpace()
154 offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64) + in ReserveSpaceEnd()
165 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64); in WriteThunks()
Drelative_patcher_arm64_test.cc157 CompiledCode::AlignCode(gap_end, InstructionSet::kArm64) + MethodCallThunkSize(); in Create2MethodsWithGap()
352 CompiledCode::AlignCode(method1_offset + method1_size, InstructionSet::kArm64); in TestNopsAdrpInsn2AndUseHasThunk()
607 CompiledCode::AlignCode(last_method_offset + last_method_code.size(), InstructionSet::kArm64); in TEST_F()
725 CompiledCode::AlignCode(last_method_offset + last_method_code.size(), InstructionSet::kArm64); in TEST_F()
/art/compiler/linker/
Drelative_patcher_test.h99 CompiledMethod::AlignCode(unaligned_code_offset, instruction_set_); in CodeAlignmentSize()