Lines Matching refs:kArmAlignment
144 CHECK_EQ(distance_without_thunks % kArmAlignment, 0u); in Create2MethodsWithGap()
151 CHECK_ALIGNED(method3_offset, kArmAlignment); in Create2MethodsWithGap()
497 ASSERT_TRUE(IsAligned<kArmAlignment>(method3_offset)); in TEST_F()
500 uint32_t thunk_offset = RoundDown(method3_header_offset - thunk_size, kArmAlignment); in TEST_F()
503 ASSERT_TRUE(IsAligned<kArmAlignment>(thunk_offset)); in TEST_F()
609 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArmAlignment); in TestBakerFieldWide()
675 thunk_offset += RoundUp(expected_thunk.size(), kArmAlignment); in TestBakerFieldWide()
711 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArmAlignment); in TestBakerFieldNarrow()
780 thunk_offset += RoundUp(expected_thunk.size(), kArmAlignment); in TestBakerFieldNarrow()
821 static_assert(IsAligned<kArmAlignment>(expected_thunk_offset), "Target offset must be aligned."); in TEST_F()
823 RoundUp(raw_code1.size() + sizeof(OatQuickMethodHeader), kArmAlignment); in TEST_F()
832 static_assert(IsAligned<kArmAlignment>(kLiteralOffset2 + kPcAdjustment), in TEST_F()
844 - RoundUp(thunk_size + sizeof(OatQuickMethodHeader), kArmAlignment) in TEST_F()
845 - RoundUp(kNopCode.size() + sizeof(OatQuickMethodHeader), kArmAlignment) in TEST_F()
889 static_assert(IsAligned<kArmAlignment>(expected_thunk_offset), "Target offset must be aligned."); in TEST_F()
891 RoundUp(raw_code1.size() + sizeof(OatQuickMethodHeader), kArmAlignment); in TEST_F()
898 const uint32_t bne = BneWWithOffset(kLiteralOffset1, RoundUp(raw_code1.size(), kArmAlignment)); in TEST_F()
919 static_assert(IsAligned<kArmAlignment>(expected_thunk_offset), "Target offset must be aligned."); in TEST_F()
921 RoundUp(raw_code1.size() + sizeof(OatQuickMethodHeader), kArmAlignment); in TEST_F()
931 static_assert(IsAligned<kArmAlignment>(kReachableFromOffset2 + kPcAdjustment), in TEST_F()
944 - RoundUp(thunk_size + sizeof(OatQuickMethodHeader), kArmAlignment) in TEST_F()
945 - RoundUp(kNopCode.size() + sizeof(OatQuickMethodHeader), kArmAlignment) in TEST_F()
967 BneWWithOffset(kLiteralOffset2, RoundUp(raw_code2.size(), kArmAlignment)); in TEST_F()
1003 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArmAlignment); in TEST_F()
1057 thunk_offset += RoundUp(expected_thunk.size(), kArmAlignment); in TEST_F()
1085 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArmAlignment); in TEST_F()
1117 thunk_offset += RoundUp(expected_thunk.size(), kArmAlignment); in TEST_F()
1145 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArmAlignment); in TEST_F()
1171 thunk_offset += RoundUp(expected_thunk.size(), kArmAlignment); in TEST_F()
1200 DCHECK_ALIGNED(1 * MB, kArmAlignment); in TEST_F()
1234 1 * MB - RoundUp(raw_code1.size() + sizeof(OatQuickMethodHeader), kArmAlignment) in TEST_F()
1254 ASSERT_LT(RoundUp(CompileMethodCallThunk().size(), kArmAlignment) + kArmAlignment, in TEST_F()
1256 static_assert(kArmAlignment == 8, "Code below assumes kArmAlignment == 8"); in TEST_F()
1257 constexpr size_t kBakerLiteralOffset1 = kArmAlignment + 2u - kPcAdjustment; in TEST_F()
1258 constexpr size_t kBakerLiteralOffset2 = kBakerLiteralOffset1 + kArmAlignment; in TEST_F()