Searched refs:GetInstructionSetInstructionAlignment (Results 1 – 8 of 8) sorted by relevance
43 TEST(InstructionSetTest, GetInstructionSetInstructionAlignment) { in TEST() argument44 EXPECT_EQ(GetInstructionSetInstructionAlignment(InstructionSet::kThumb2), in TEST()46 EXPECT_EQ(GetInstructionSetInstructionAlignment(InstructionSet::kArm64), in TEST()48 EXPECT_EQ(GetInstructionSetInstructionAlignment(InstructionSet::kX86), in TEST()50 EXPECT_EQ(GetInstructionSetInstructionAlignment(InstructionSet::kX86_64), in TEST()
129 constexpr size_t GetInstructionSetInstructionAlignment(InstructionSet isa) { in GetInstructionSetInstructionAlignment() function
31 constexpr static uint32_t kPcAlign = GetInstructionSetInstructionAlignment(kRuntimeISA); in TEST()
159 DCHECK_ALIGNED_PARAM(native_pc, GetInstructionSetInstructionAlignment(isa)); in PackNativePc()160 return native_pc / GetInstructionSetInstructionAlignment(isa); in PackNativePc()164 uint32_t native_pc = packed_native_pc * GetInstructionSetInstructionAlignment(isa); in UnpackNativePc()165 DCHECK_EQ(native_pc / GetInstructionSetInstructionAlignment(isa), packed_native_pc); in UnpackNativePc()
78 CHECK_ALIGNED_PARAM(native_pc_offset, GetInstructionSetInstructionAlignment(kRuntimeISA)); in SetUp()
241 const uint32_t kPcAlign = GetInstructionSetInstructionAlignment(isa); in PackElfFileForJIT()
49 constexpr static uint32_t kPcAlign = GetInstructionSetInstructionAlignment(kRuntimeISA);
511 addr = AlignDown(addr, GetInstructionSetInstructionAlignment(kRuntimeISA)); // Thumb-bit. in FreeAllMethodHeaders()