Searched refs:GetInstructionSetInstructionAlignment (Results 1 – 7 of 7) 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()
100 constexpr size_t GetInstructionSetInstructionAlignment(InstructionSet isa) { in GetInstructionSetInstructionAlignment() function
154 DCHECK_ALIGNED_PARAM(native_pc, GetInstructionSetInstructionAlignment(isa)); in PackNativePc()155 return native_pc / GetInstructionSetInstructionAlignment(isa); in PackNativePc()159 uint32_t native_pc = packed_native_pc * GetInstructionSetInstructionAlignment(isa); in UnpackNativePc()160 DCHECK_EQ(native_pc / GetInstructionSetInstructionAlignment(isa), packed_native_pc); in UnpackNativePc()
74 CHECK_ALIGNED_PARAM(native_pc_offset, GetInstructionSetInstructionAlignment(kRuntimeISA)); in SetUp()
240 const uint32_t kPcAlign = GetInstructionSetInstructionAlignment(isa); in PackElfFileForJIT()
48 constexpr static uint32_t kPcAlign = GetInstructionSetInstructionAlignment(kRuntimeISA);
515 addr = AlignDown(addr, GetInstructionSetInstructionAlignment(kRuntimeISA)); // Thumb-bit. in FreeAllMethodHeaders()