Lines Matching refs:kArm64Alignment
115 CHECK_EQ(distance_without_thunks % kArm64Alignment, 0u); in Create2MethodsWithGap()
123 CHECK_ALIGNED(last_method_offset, kArm64Alignment); in Create2MethodsWithGap()
735 if (sizeof(OatQuickMethodHeader) < kArm64Alignment) { in TEST_F()
745 ASSERT_TRUE(IsAligned<kArm64Alignment>(method_after_thunk_offset)); in TEST_F()
749 uint32_t thunk_offset = RoundDown(method_after_thunk_header_offset - thunk_size, kArm64Alignment); in TEST_F()
752 ASSERT_TRUE(IsAligned<kArm64Alignment>(thunk_offset)); in TEST_F()
1037 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArm64Alignment); in TestBakerField()
1090 thunk_offset += RoundUp(expected_thunk.size(), kArm64Alignment); in TestBakerField()
1127 1 * MB - RoundUp(raw_code1.size() + sizeof(OatQuickMethodHeader), kArm64Alignment); in TEST_F()
1142 1 * MB - RoundUp(thunk_size + sizeof(OatQuickMethodHeader), kArm64Alignment) in TEST_F()
1143 - RoundUp(kNopCode.size() + sizeof(OatQuickMethodHeader), kArm64Alignment) in TEST_F()
1187 1 * MB - RoundUp(raw_code1.size() + sizeof(OatQuickMethodHeader), kArm64Alignment); in TEST_F()
1194 const uint32_t cbnz_offset = RoundUp(raw_code1.size(), kArm64Alignment) - kLiteralOffset1; in TEST_F()
1216 1 * MB - RoundUp(raw_code1.size() + sizeof(OatQuickMethodHeader), kArm64Alignment); in TEST_F()
1231 1 * MB - RoundUp(thunk_size + sizeof(OatQuickMethodHeader), kArm64Alignment) in TEST_F()
1232 - RoundUp(kNopCode.size() + sizeof(OatQuickMethodHeader), kArm64Alignment) in TEST_F()
1250 const uint32_t cbnz_last_offset = RoundUp(raw_code2.size(), kArm64Alignment) - kLiteralOffset2; in TEST_F()
1287 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArm64Alignment); in TEST_F()
1335 thunk_offset += RoundUp(expected_thunk.size(), kArm64Alignment); in TEST_F()
1364 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArm64Alignment); in TEST_F()
1391 thunk_offset += RoundUp(expected_thunk.size(), kArm64Alignment); in TEST_F()
1419 1 * MB - RoundUp(raw_code1.size() + sizeof(OatQuickMethodHeader), kArm64Alignment) in TEST_F()
1439 ASSERT_LT(RoundUp(CompileMethodCallThunk().size(), kArm64Alignment) + kArm64Alignment, in TEST_F()
1441 static_assert(kArm64Alignment == 16, "Code below assumes kArm64Alignment == 16"); in TEST_F()
1442 constexpr size_t kBakerLiteralOffset1 = 4u + kArm64Alignment; in TEST_F()
1443 constexpr size_t kBakerLiteralOffset2 = 4u + 2 * kArm64Alignment; in TEST_F()