Home
last modified time | relevance | path

Searched refs:stack_map_encoding (Results 1 – 15 of 15) sorted by relevance

/art/runtime/
Dstack_map.cc126 encoding.stack_map_encoding.Dump(vios); in Dump()
191 StackMapEncoding stack_map_encoding = encoding.stack_map_encoding; in Dump() local
195 << " [native_pc=0x" << code_offset + GetNativePcOffset(stack_map_encoding) << "]" in Dump()
196 << " (dex_pc=0x" << GetDexPc(stack_map_encoding) in Dump()
197 << ", native_pc_offset=0x" << GetNativePcOffset(stack_map_encoding) in Dump()
198 << ", dex_register_map_offset=0x" << GetDexRegisterMapOffset(stack_map_encoding) in Dump()
199 << ", inline_info_offset=0x" << GetInlineDescriptorOffset(stack_map_encoding) in Dump()
200 << ", register_mask=0x" << GetRegisterMask(stack_map_encoding) in Dump()
203 for (size_t i = 0, e = GetNumberOfStackMaskBits(stack_map_encoding); i < e; ++i) { in Dump()
204 vios->Stream() << GetStackMaskBit(stack_map_encoding, e - i - 1); in Dump()
[all …]
Dstack_map.h1026 StackMapEncoding stack_map_encoding; member
1040 stack_map_encoding = *reinterpret_cast<const StackMapEncoding*>(ptr); in CodeInfoEncoding()
1042 if (stack_map_encoding.GetInlineInfoEncoding().BitSize() > 0) { in CodeInfoEncoding()
1059 const uint8_t* stack_map_ptr = reinterpret_cast<const uint8_t*>(&stack_map_encoding); in Compress()
1061 if (stack_map_encoding.GetInlineInfoEncoding().BitSize() > 0) { in Compress()
1095 return encoding.stack_map_encoding.GetInlineInfoEncoding().BitSize() > 0; in HasInlineInfo()
1143 if (!stack_map.HasDexRegisterMap(encoding.stack_map_encoding)) { in GetDexRegisterMapOf()
1147 + stack_map.GetDexRegisterMapOffset(encoding.stack_map_encoding); in GetDexRegisterMapOf()
1169 DCHECK(stack_map.HasInlineInfo(encoding.stack_map_encoding)); in GetInlineInfoOf()
1170 uint32_t offset = stack_map.GetInlineDescriptorOffset(encoding.stack_map_encoding) in GetInlineInfoOf()
[all …]
Doat_quick_method_header.cc47 return stack_map.GetDexPc(encoding.stack_map_encoding); in ToDexPc()
83 stack_map.GetNativePcOffset(encoding.stack_map_encoding); in ToNativeQuickPc()
Dcheck_reference_map_visitor.h70 uint32_t register_mask = stack_map.GetRegisterMask(encoding.stack_map_encoding); in CheckOptimizedMethod()
83 CHECK(stack_map.GetStackMaskBit(encoding.stack_map_encoding, in CheckOptimizedMethod()
Dquick_exception_handler.cc388 uint32_t register_mask = stack_map.GetRegisterMask(encoding.stack_map_encoding); in HandleOptimizingDeoptimization()
421 if (stack_map.GetNumberOfStackMaskBits(encoding.stack_map_encoding) > bit && in HandleOptimizingDeoptimization()
422 stack_map.GetStackMaskBit(encoding.stack_map_encoding, bit)) { in HandleOptimizingDeoptimization()
Dthread.cc2778 size_t number_of_bits = map.GetNumberOfStackMaskBits(encoding.stack_map_encoding); in VisitQuickFrame()
2780 if (map.GetStackMaskBit(encoding.stack_map_encoding, i)) { in VisitQuickFrame()
2793 uint32_t register_mask = map.GetRegisterMask(encoding.stack_map_encoding); in VisitQuickFrame()
Dstack.cc803 if (stack_map.IsValid() && stack_map.HasInlineInfo(encoding.stack_map_encoding)) { in WalkStack()
/art/compiler/optimizing/
Dstack_map_test.cc79 ASSERT_EQ(0u, stack_map.GetDexPc(encoding.stack_map_encoding)); in TEST()
80 ASSERT_EQ(64u, stack_map.GetNativePcOffset(encoding.stack_map_encoding)); in TEST()
81 ASSERT_EQ(0x3u, stack_map.GetRegisterMask(encoding.stack_map_encoding)); in TEST()
83 ASSERT_TRUE(CheckStackMask(stack_map, encoding.stack_map_encoding, sp_mask)); in TEST()
85 ASSERT_TRUE(stack_map.HasDexRegisterMap(encoding.stack_map_encoding)); in TEST()
124 ASSERT_FALSE(stack_map.HasInlineInfo(encoding.stack_map_encoding)); in TEST()
193 ASSERT_EQ(0u, stack_map.GetDexPc(encoding.stack_map_encoding)); in TEST()
194 ASSERT_EQ(64u, stack_map.GetNativePcOffset(encoding.stack_map_encoding)); in TEST()
195 ASSERT_EQ(0x3u, stack_map.GetRegisterMask(encoding.stack_map_encoding)); in TEST()
197 ASSERT_TRUE(CheckStackMask(stack_map, encoding.stack_map_encoding, sp_mask1)); in TEST()
[all …]
Dstack_map_stream.cc164 code_info_encoding.stack_map_encoding = stack_map_encoding_; in PrepareForFillIn()
507 const StackMapEncoding& stack_map_encoding = encoding.stack_map_encoding; in CheckCodeInfo() local
511 DCHECK_EQ(stack_map.GetNativePcOffset(stack_map_encoding), entry.native_pc_offset); in CheckCodeInfo()
512 DCHECK_EQ(stack_map.GetDexPc(stack_map_encoding), entry.dex_pc); in CheckCodeInfo()
513 DCHECK_EQ(stack_map.GetRegisterMask(stack_map_encoding), entry.register_mask); in CheckCodeInfo()
514 size_t num_stack_mask_bits = stack_map.GetNumberOfStackMaskBits(stack_map_encoding); in CheckCodeInfo()
518 DCHECK_EQ(stack_map.GetStackMaskBit(stack_map_encoding, b), entry.sp_mask->IsBitSet(b)); in CheckCodeInfo()
522 DCHECK_EQ(stack_map.GetStackMaskBit(stack_map_encoding, b), 0u); in CheckCodeInfo()
534 DCHECK_EQ(stack_map.HasInlineInfo(stack_map_encoding), (entry.inlining_depth != 0)); in CheckCodeInfo()
/art/compiler/debug/
Delf_debug_line_writer.h106 const uint32_t pc = stack_map.GetNativePcOffset(encoding.stack_map_encoding); in WriteCompilationUnit()
107 const int32_t dex = stack_map.GetDexPc(encoding.stack_map_encoding); in WriteCompilationUnit()
109 if (stack_map.HasDexRegisterMap(encoding.stack_map_encoding)) { in WriteCompilationUnit()
Delf_debug_loc_writer.h106 if (!stack_map.HasDexRegisterMap(encoding.stack_map_encoding)) { in GetVariableLocations()
114 const uint32_t pc_offset = stack_map.GetNativePcOffset(encoding.stack_map_encoding); in GetVariableLocations()
138 uint32_t dex_pc = stack_map.GetDexPc(encoding.stack_map_encoding); in GetVariableLocations()
/art/runtime/entrypoints/
Dentrypoint_utils.cc282 if (stack_map.HasInlineInfo(encoding.stack_map_encoding)) { in GetCalleeSaveMethodCaller()
/art/oatdump/
Doatdump.cc1148 if (last.GetNativePcOffset(encoding_.stack_map_encoding) > in StackMapsHelper()
1149 current.GetNativePcOffset(encoding_.stack_map_encoding)) { in StackMapsHelper()
1165 uint32_t left_pc = left.GetNativePcOffset(encoding_.stack_map_encoding); in StackMapsHelper()
1167 uint32_t right_pc = right.GetNativePcOffset(encoding_.stack_map_encoding); in StackMapsHelper()
1172 offset_ = GetStackMapAt(0).GetNativePcOffset(encoding_.stack_map_encoding); in StackMapsHelper()
1196 : GetStackMapAt(stack_map_index_).GetNativePcOffset(encoding_.stack_map_encoding); in Next()
/art/runtime/jit/
Djit.cc503 native_pc = stack_map.GetNativePcOffset(encoding.stack_map_encoding) + in MaybeDoOnStackReplacement()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc333 if (stack_map.HasInlineInfo(encoding.stack_map_encoding)) { in GetCallingDexPc()
338 return stack_map.GetDexPc(encoding.stack_map_encoding); in GetCallingDexPc()