/art/compiler/linker/arm/ |
relative_patcher_thumb2_test.cc | 199 bool CheckThunk(uint32_t thunk_offset) { 201 if (output_.size() < thunk_offset + expected_code.size()) { 203 << "thunk_offset + expected_code.size() == " << (thunk_offset + expected_code.size()); 206 ArrayRef<const uint8_t> linked_code(&output_[thunk_offset], expected_code.size()); 422 uint32_t thunk_offset = CompiledCode::AlignCode(method3_offset + method3_code.size(), kThumb2); local 423 uint32_t diff = thunk_offset - (method3_offset + bl_offset_in_method3 + 4u /* PC adjustment */); 428 EXPECT_TRUE(CheckThunk(thunk_offset)); 497 uint32_t thunk_offset = local 499 DCHECK_EQ(thunk_offset + thunk_size + CodeAlignmentSize(thunk_offset + thunk_size) 529 uint32_t thunk_offset = CompiledCode::AlignCode(method3_offset + method3_code.size(), kThumb2); local 606 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArmAlignment); local 708 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArmAlignment); local 1000 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArmAlignment); local 1082 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArmAlignment); local 1142 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArmAlignment); local [all...] |
relative_patcher_arm_base.cc | 155 uint32_t thunk_offset = CompiledCode::AlignCode(offset, instruction_set_); local 156 offset = data->ReserveOffset(thunk_offset); 247 uint32_t thunk_offset = CompiledCode::AlignCode(offset, instruction_set_); local 248 offset = thunk->ReserveOffset(thunk_offset); 252 DCHECK_LE(thunk_offset - unprocessed_method_call_patches_.front().GetPatchOffset(),
|
/art/compiler/linker/arm64/ |
relative_patcher_arm64_test.cc | 178 bool CheckThunk(uint32_t thunk_offset) { 180 if (output_.size() < thunk_offset + expected_code.size()) { 182 << "thunk_offset + expected_code.size() == " << (thunk_offset + expected_code.size()); 185 ArrayRef<const uint8_t> linked_code(&output_[thunk_offset], expected_code.size()); 349 uint32_t thunk_offset = CompiledCode::AlignCode(method1_offset + method1_size, kArm64); local 350 uint32_t b_diff = thunk_offset - (method1_offset + num_nops * 4u); 364 auto expected_thunk_code = GenNopsAndAdrpLdr(0u, thunk_offset, target_offset); 371 ASSERT_EQ(thunk_offset + thunk_size, output_.size()); 373 ArrayRef<const uint8_t> thunk_code(&output_[thunk_offset], thunk_size) 603 uint32_t thunk_offset = local 690 uint32_t thunk_offset = local 722 uint32_t thunk_offset = local 932 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArm64Alignment); local 1178 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArm64Alignment); local 1255 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArm64Alignment); local [all...] |
relative_patcher_arm64.cc | 127 uint32_t thunk_offset = compiled_method->AlignCode(quick_code_offset + code.size()); local 133 adrp_thunk_locations_.emplace_back(patch_offset, thunk_offset); 134 thunk_offset += kAdrpThunkSize; 222 uint32_t thunk_offset = adrp_thunk_locations_[processed_adrp_thunks_].second; local 223 uint32_t adrp_disp = target_offset - (thunk_offset & ~0xfffu); 226 uint32_t out_disp = thunk_offset - patch_offset;
|