Home | History | Annotate | Download | only in arm

Lines Matching refs:method_idx

183   uint32_t GetMethodOffset(uint32_t method_idx) {
184 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx));
587 uint32_t method_idx = 0u;
599 ++method_idx;
600 AddCompiledMethod(MethodRef(method_idx), code, ArrayRef<const LinkerPatch>(patches));
606 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArmAlignment);
607 method_idx = 0u;
610 ++method_idx;
611 uint32_t bne = BneWWithOffset(GetMethodOffset(method_idx) + kLiteralOffset, thunk_offset);
616 CheckLinkedMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(expected_code)));
686 uint32_t method_idx = 0u;
701 ++method_idx;
702 AddCompiledMethod(MethodRef(method_idx), code, ArrayRef<const LinkerPatch>(patches));
708 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArmAlignment);
709 method_idx = 0u;
715 ++method_idx;
716 uint32_t bne = BneWWithOffset(GetMethodOffset(method_idx) + kLiteralOffset, thunk_offset);
721 CheckLinkedMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(expected_code)));
985 uint32_t method_idx = 0u;
987 ++method_idx;
995 AddCompiledMethod(MethodRef(method_idx), code, ArrayRef<const LinkerPatch>(patches));
1000 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArmAlignment);
1001 method_idx = 0u;
1003 ++method_idx;
1004 uint32_t bne = BneWWithOffset(GetMethodOffset(method_idx) + kLiteralOffset, thunk_offset);
1007 EXPECT_TRUE(CheckLinkedMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(expected_code)));
1065 uint32_t method_idx = 0u;
1067 ++method_idx;
1077 AddCompiledMethod(MethodRef(method_idx), code, ArrayRef<const LinkerPatch>(patches));
1082 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArmAlignment);
1083 method_idx = 0u;
1085 ++method_idx;
1086 uint32_t bne = BneWWithOffset(GetMethodOffset(method_idx) + kLiteralOffset, thunk_offset);
1090 EXPECT_TRUE(CheckLinkedMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(expected_code)));
1125 uint32_t method_idx = 0u;
1127 ++method_idx;
1137 AddCompiledMethod(MethodRef(method_idx), code, ArrayRef<const LinkerPatch>(patches));
1142 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArmAlignment);
1143 method_idx = 0u;
1145 ++method_idx;
1146 uint32_t bne = BneWWithOffset(GetMethodOffset(method_idx) + kLiteralOffset, thunk_offset);
1150 EXPECT_TRUE(CheckLinkedMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(expected_code)));
1214 uint32_t method_idx = 0u;
1222 ++method_idx;
1226 ++method_idx;
1227 ASSERT_EQ(kMissingMethodIdx, method_idx);
1234 ++method_idx;
1235 AddCompiledMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(filler_code));
1241 ++method_idx;
1242 AddCompiledMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(filler_code));
1272 ++method_idx;
1273 AddCompiledMethod(MethodRef(method_idx),
1280 ASSERT_EQ(15 * MB, GetMethodOffset(method_idx) - GetMethodOffset(1u));