Lines Matching refs:kArm64Alignment
115 CHECK_EQ(distance_without_thunks % kArm64Alignment, 0u); in Create2MethodsWithGap()
123 CHECK_ALIGNED(last_method_offset, kArm64Alignment); in Create2MethodsWithGap()
736 if (sizeof(OatQuickMethodHeader) < kArm64Alignment) { in TEST_F()
746 ASSERT_TRUE(IsAligned<kArm64Alignment>(method_after_thunk_offset)); in TEST_F()
750 uint32_t thunk_offset = RoundDown(method_after_thunk_header_offset - thunk_size, kArm64Alignment); in TEST_F()
753 ASSERT_TRUE(IsAligned<kArm64Alignment>(thunk_offset)); in TEST_F()
1068 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArm64Alignment); in TestBakerField()
1121 thunk_offset += RoundUp(expected_thunk.size(), kArm64Alignment); in TestBakerField()
1158 1 * MB - RoundUp(raw_code1.size() + sizeof(OatQuickMethodHeader), kArm64Alignment); in TEST_F()
1173 1 * MB - RoundUp(thunk_size + sizeof(OatQuickMethodHeader), kArm64Alignment) in TEST_F()
1174 - RoundUp(kNopCode.size() + sizeof(OatQuickMethodHeader), kArm64Alignment) in TEST_F()
1218 1 * MB - RoundUp(raw_code1.size() + sizeof(OatQuickMethodHeader), kArm64Alignment); in TEST_F()
1225 const uint32_t cbnz_offset = RoundUp(raw_code1.size(), kArm64Alignment) - kLiteralOffset1; in TEST_F()
1247 1 * MB - RoundUp(raw_code1.size() + sizeof(OatQuickMethodHeader), kArm64Alignment); in TEST_F()
1262 1 * MB - RoundUp(thunk_size + sizeof(OatQuickMethodHeader), kArm64Alignment) in TEST_F()
1263 - RoundUp(kNopCode.size() + sizeof(OatQuickMethodHeader), kArm64Alignment) in TEST_F()
1281 const uint32_t cbnz_last_offset = RoundUp(raw_code2.size(), kArm64Alignment) - kLiteralOffset2; in TEST_F()
1318 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArm64Alignment); in TEST_F()
1366 thunk_offset += RoundUp(expected_thunk.size(), kArm64Alignment); in TEST_F()
1395 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArm64Alignment); in TEST_F()
1422 thunk_offset += RoundUp(expected_thunk.size(), kArm64Alignment); in TEST_F()
1450 1 * MB - RoundUp(raw_code1.size() + sizeof(OatQuickMethodHeader), kArm64Alignment) in TEST_F()
1470 ASSERT_LT(RoundUp(CompileMethodCallThunk().size(), kArm64Alignment) + kArm64Alignment, in TEST_F()
1472 static_assert(kArm64Alignment == 16, "Code below assumes kArm64Alignment == 16"); in TEST_F()
1473 constexpr size_t kBakerLiteralOffset1 = 4u + kArm64Alignment; in TEST_F()
1474 constexpr size_t kBakerLiteralOffset2 = 4u + 2 * kArm64Alignment; in TEST_F()