Searched refs:kPcAlign (Results 1 – 2 of 2) sorted by relevance
/art/compiler/optimizing/ |
D | stack_map_test.cc | 48 constexpr static uint32_t kPcAlign = GetInstructionSetInstructionAlignment(kRuntimeISA); variable 59 stream.BeginStackMapEntry(0, 64 * kPcAlign, 0x3, &sp_mask); in TEST() 64 stream.EndMethod(64 * kPcAlign); in TEST() 75 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePcOffset(64 * kPcAlign))); in TEST() 77 ASSERT_EQ(64u * kPcAlign, stack_map.GetNativePcOffset(kRuntimeISA)); in TEST() 117 stream.BeginStackMapEntry(0, 64 * kPcAlign, 0x3, &sp_mask1); in TEST() 129 stream.BeginStackMapEntry(1, 128 * kPcAlign, 0xFF, &sp_mask2); in TEST() 137 stream.BeginStackMapEntry(2, 192 * kPcAlign, 0xAB, &sp_mask3); in TEST() 145 stream.BeginStackMapEntry(3, 256 * kPcAlign, 0xCD, &sp_mask4); in TEST() 150 stream.EndMethod(256 * kPcAlign); in TEST() [all …]
|
/art/compiler/debug/ |
D | elf_debug_writer.cc | 240 const uint32_t kPcAlign = GetInstructionSetInstructionAlignment(isa); in PackElfFileForJIT() local 241 auto is_pc_aligned = [](const void* pc) { return IsAligned<kPcAlign>(pc); }; in PackElfFileForJIT() 245 const void* code_ptr = AlignDown(reinterpret_cast<const void*>(addr), kPcAlign); in PackElfFileForJIT()
|