Home
last modified time | relevance | path

Searched refs:num_nops (Results 1 – 2 of 2) sorted by relevance

/art/compiler/linker/arm64/
Drelative_patcher_arm64_test.cc136 std::vector<uint8_t> GenNopsAndBl(size_t num_nops, uint32_t bl) { in GenNopsAndBl() argument
138 result.reserve(num_nops * 4u + 4u); in GenNopsAndBl()
139 for (size_t i = 0; i != num_nops; ++i) { in GenNopsAndBl()
149 std::vector<uint8_t> GenNopsAndAdrpLdr(size_t num_nops, in GenNopsAndAdrpLdr() argument
152 result.reserve(num_nops * 4u + 8u); in GenNopsAndAdrpLdr()
153 for (size_t i = 0; i != num_nops; ++i) { in GenNopsAndAdrpLdr()
158 uint32_t adrp_offset = method_offset + num_nops * 4u; in GenNopsAndAdrpLdr()
179 void TestNopsAdrpLdr(size_t num_nops, uint32_t dex_cache_arrays_begin, uint32_t element_offset) { in TestNopsAdrpLdr() argument
181 auto code = GenNopsAndAdrpLdr(num_nops, 0u, 0u); // Unpatched. in TestNopsAdrpLdr()
183 LinkerPatch::DexCacheArrayPatch(num_nops * 4u , nullptr, num_nops * 4u, element_offset), in TestNopsAdrpLdr()
[all …]
/art/compiler/linker/arm/
Drelative_patcher_thumb2_test.cc111 std::vector<uint8_t> GenNopsAndBl(size_t num_nops, uint32_t bl) { in GenNopsAndBl() argument
113 result.reserve(num_nops * 2u + 4u); in GenNopsAndBl()
114 for (size_t i = 0; i != num_nops; ++i) { in GenNopsAndBl()