Searched refs:AlignCode (Results 1 – 8 of 8) sorted by relevance
/art/compiler/ |
D | compiled_method.cc | 49 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
|
D | compiled_method.h | 58 size_t AlignCode(size_t offset) const; 59 static size_t AlignCode(size_t offset, InstructionSet instruction_set);
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64.cc | 83 CompiledMethod::AlignCode(code_size, InstructionSet::kArm64) - code_size; in MaxExtraSpace() 113 offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64) + in ReserveSpace() 136 uint32_t quick_code_offset = compiled_method->AlignCode(offset + sizeof(OatQuickMethodHeader)); in ReserveSpace() 137 uint32_t thunk_offset = compiled_method->AlignCode(quick_code_offset + code.size()); in ReserveSpace() 158 offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64) + in ReserveSpaceEnd() 169 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64); in WriteThunks()
|
D | relative_patcher_arm64_test.cc | 161 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/ |
D | relative_patcher_arm_base.cc | 183 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()
|
D | relative_patcher_thumb2_test.cc | 194 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/ |
D | relative_patcher_test.h | 119 CompiledMethod::AlignCode(unaligned_code_offset, instruction_set_); in CodeAlignmentSize()
|
D | oat_writer.cc | 105 uint32_t aligned_code_offset = compiled_method.AlignCode(unaligned_code_offset); in CodeAlignmentSize() 2282 offset = CompiledCode::AlignCode(offset + 4, instruction_set); \ in InitOatCode() 3001 uint32_t aligned_offset = CompiledCode::AlignCode(relative_offset + 4, instruction_set); \ in WriteCode()
|