Home | History | Annotate | Download | only in arm64

Lines Matching refs:method_idx

126     uint32_t method_idx = 2u;
137 AddCompiledMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(gap_code));
138 method_idx += 1u;
145 AddCompiledMethod(MethodRef(method_idx), last_method_code, last_method_patches);
150 auto last_result = method_offset_map_.FindMethodOffset(MethodRef(method_idx));
159 return method_idx;
162 uint32_t GetMethodOffset(uint32_t method_idx) {
163 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx));
913 uint32_t method_idx = 0u;
925 ++method_idx;
926 AddCompiledMethod(MethodRef(method_idx), code, ArrayRef<const LinkerPatch>(patches));
932 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArm64Alignment);
933 method_idx = 0u;
936 ++method_idx;
937 uint32_t cbnz_offset = thunk_offset - (GetMethodOffset(method_idx) + kLiteralOffset);
943 CheckLinkedMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(expected_code)));
1163 uint32_t method_idx = 0u;
1165 ++method_idx;
1173 AddCompiledMethod(MethodRef(method_idx), code, ArrayRef<const LinkerPatch>(patches));
1178 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArm64Alignment);
1179 method_idx = 0u;
1181 ++method_idx;
1182 uint32_t cbnz_offset = thunk_offset - (GetMethodOffset(method_idx) + kLiteralOffset);
1186 EXPECT_TRUE(CheckLinkedMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(expected_code)));
1239 uint32_t method_idx = 0u;
1241 ++method_idx;
1250 AddCompiledMethod(MethodRef(method_idx), code, ArrayRef<const LinkerPatch>(patches));
1255 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArm64Alignment);
1256 method_idx = 0u;
1258 ++method_idx;
1259 uint32_t cbnz_offset = thunk_offset - (GetMethodOffset(method_idx) + kLiteralOffset);
1264 EXPECT_TRUE(CheckLinkedMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(expected_code)));
1293 uint32_t method_idx = 0u;
1301 ++method_idx;
1305 ++method_idx;
1306 ASSERT_EQ(kMissingMethodIdx, method_idx);
1313 ++method_idx;
1314 AddCompiledMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(filler_code));
1320 ++method_idx;
1321 AddCompiledMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(filler_code));
1350 ++method_idx;
1351 AddCompiledMethod(MethodRef(method_idx),
1358 ASSERT_EQ(127 * MB, GetMethodOffset(method_idx) - GetMethodOffset(1u));