Lines Matching refs:insn2
290 uint32_t insn2, in PrepareNopsAdrpInsn2Ldr() argument
295 InsertInsn(&code, num_nops * 4u + 4u, insn2); in PrepareNopsAdrpInsn2Ldr()
306 void PrepareNopsAdrpInsn2Add(size_t num_nops, uint32_t insn2, uint32_t string_offset) { in PrepareNopsAdrpInsn2Add() argument
310 InsertInsn(&code, num_nops * 4u + 4u, insn2); in PrepareNopsAdrpInsn2Add()
322 uint32_t insn2, in TestNopsAdrpInsn2AndUse() argument
327 InsertInsn(&expected_code, num_nops * 4u + 4u, insn2); in TestNopsAdrpInsn2AndUse()
332 uint32_t insn2, in TestNopsAdrpInsn2AndUseHasThunk() argument
348 InsertInsn(&expected_code, num_nops * 4u + 4u, insn2); in TestNopsAdrpInsn2AndUseHasThunk()
371 void TestAdrpInsn2Ldr(uint32_t insn2, in TestAdrpInsn2Ldr() argument
381 PrepareNopsAdrpInsn2Ldr(num_nops, insn2, dex_cache_arrays_begin, element_offset); in TestAdrpInsn2Ldr()
384 TestNopsAdrpInsn2AndUseHasThunk(num_nops, insn2, target_offset, kLdrWInsn); in TestAdrpInsn2Ldr()
386 TestNopsAdrpInsn2AndUse(num_nops, insn2, target_offset, kLdrWInsn); in TestAdrpInsn2Ldr()
407 uint32_t insn2 = pcrel_ldr_insn | (((static_cast<uint32_t>(pcrel_disp) >> 2) & 0x7ffffu) << 5); in TestAdrpLdrPcRelLdr() local
408 TestAdrpInsn2Ldr(insn2, adrp_offset, has_thunk, dex_cache_arrays_begin, element_offset); in TestAdrpLdrPcRelLdr()
418 uint32_t insn2 = sprel_ldr_insn | ((sprel_disp_in_load_units & 0xfffu) << 10); in TestAdrpLdrSpRelLdr() local
419 TestAdrpInsn2Ldr(insn2, adrp_offset, has_thunk, dex_cache_arrays_begin, element_offset); in TestAdrpLdrSpRelLdr()
422 void TestAdrpInsn2Add(uint32_t insn2, in TestAdrpInsn2Add() argument
431 PrepareNopsAdrpInsn2Add(num_nops, insn2, string_offset); in TestAdrpInsn2Add()
433 TestNopsAdrpInsn2AndUseHasThunk(num_nops, insn2, string_offset, kAddXInsn); in TestAdrpInsn2Add()
435 TestNopsAdrpInsn2AndUse(num_nops, insn2, string_offset, kAddXInsn); in TestAdrpInsn2Add()
452 uint32_t insn2 = pcrel_ldr_insn | (((static_cast<uint32_t>(pcrel_disp) >> 2) & 0x7ffffu) << 5); in TestAdrpLdrPcRelAdd() local
453 TestAdrpInsn2Add(insn2, adrp_offset, has_thunk, string_offset); in TestAdrpLdrPcRelAdd()
462 uint32_t insn2 = sprel_ldr_insn | ((sprel_disp_in_load_units & 0xfffu) << 10); in TestAdrpLdrSpRelAdd() local
463 TestAdrpInsn2Add(insn2, adrp_offset, has_thunk, string_offset); in TestAdrpLdrSpRelAdd()