/art/compiler/optimizing/ |
D | stack_map_test.cc | 29 const StackMap& stack_map, in CheckStackMask() argument 32 int number_of_bits = stack_map.GetNumberOfStackMaskBits(encoding); in CheckStackMask() 37 if (stack_map.GetStackMaskBit(encoding, i) != bit_vector.IsBitSet(i)) { in CheckStackMask() 76 StackMap stack_map = code_info.GetStackMapAt(0, encoding); in TEST() local 77 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForDexPc(0, encoding))); in TEST() 78 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePcOffset(64, encoding))); in TEST() 79 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() [all …]
|
D | stack_map_stream.cc | 291 StackMap stack_map = code_info.GetStackMapAt(i, encoding); in FillIn() local 294 stack_map.SetDexPc(stack_map_encoding_, entry.dex_pc); in FillIn() 295 stack_map.SetNativePcOffset(stack_map_encoding_, entry.native_pc_offset); in FillIn() 296 stack_map.SetRegisterMask(stack_map_encoding_, entry.register_mask); in FillIn() 297 size_t number_of_stack_mask_bits = stack_map.GetNumberOfStackMaskBits(stack_map_encoding_); in FillIn() 300 stack_map.SetStackMaskBit(stack_map_encoding_, bit, entry.sp_mask->IsBitSet(bit)); in FillIn() 305 stack_map.SetStackMaskBit(stack_map_encoding_, bit, false); in FillIn() 311 stack_map.SetDexRegisterMapOffset(stack_map_encoding_, StackMap::kNoDexRegisterMap); in FillIn() 316 stack_map.SetDexRegisterMapOffset( in FillIn() 327 stack_map.SetDexRegisterMapOffset( in FillIn() [all …]
|
D | optimizing_compiler.cc | 586 ArenaVector<uint8_t> stack_map(arena->Adapter(kArenaAllocStackMaps)); in Emit() local 587 stack_map.resize(codegen->ComputeStackMapsSize()); in Emit() 588 codegen->BuildStackMaps(MemoryRegion(stack_map.data(), stack_map.size()), *code_item); in Emit() 601 ArrayRef<const uint8_t>(stack_map), in Emit()
|
/art/runtime/ |
D | oat_quick_method_header.cc | 45 StackMap stack_map = code_info.GetStackMapForNativePcOffset(sought_offset, encoding); in ToDexPc() local 46 if (stack_map.IsValid()) { in ToDexPc() 47 return stack_map.GetDexPc(encoding.stack_map_encoding); in ToDexPc() 78 StackMap stack_map = in ToNativeQuickPc() local 81 if (stack_map.IsValid()) { in ToNativeQuickPc() 83 stack_map.GetNativePcOffset(encoding.stack_map_encoding); in ToNativeQuickPc()
|
D | check_reference_map_visitor.h | 66 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset, encoding); in CheckOptimizedMethod() local 69 code_info.GetDexRegisterMapOf(stack_map, encoding, number_of_dex_registers); in CheckOptimizedMethod() 70 uint32_t register_mask = stack_map.GetRegisterMask(encoding.stack_map_encoding); in CheckOptimizedMethod() 83 CHECK(stack_map.GetStackMaskBit(encoding.stack_map_encoding, in CheckOptimizedMethod()
|
D | stack_map.h | 1140 DexRegisterMap GetDexRegisterMapOf(StackMap stack_map, in GetDexRegisterMapOf() argument 1143 if (!stack_map.HasDexRegisterMap(encoding.stack_map_encoding)) { in GetDexRegisterMapOf() 1147 + stack_map.GetDexRegisterMapOffset(encoding.stack_map_encoding); in GetDexRegisterMapOf() 1168 InlineInfo GetInlineInfoOf(StackMap stack_map, const CodeInfoEncoding& encoding) const { in GetInlineInfoOf() argument 1169 DCHECK(stack_map.HasInlineInfo(encoding.stack_map_encoding)); in GetInlineInfoOf() 1170 uint32_t offset = stack_map.GetInlineDescriptorOffset(encoding.stack_map_encoding) in GetInlineInfoOf() 1177 StackMap stack_map = GetStackMapAt(i, encoding); in GetStackMapForDexPc() local 1178 if (stack_map.GetDexPc(encoding.stack_map_encoding) == dex_pc) { in GetStackMapForDexPc() 1179 return stack_map; in GetStackMapForDexPc() 1189 StackMap stack_map = GetStackMapAt(i - 1, encoding); in GetCatchStackMapForDexPc() local [all …]
|
D | stack.cc | 119 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset, encoding); in GetCurrentInlineInfo() local 120 DCHECK(stack_map.IsValid()); in GetCurrentInlineInfo() 121 return code_info.GetInlineInfoOf(stack_map, encoding); in GetCurrentInlineInfo() 274 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset, encoding); in GetVRegFromOptimizedCode() local 275 DCHECK(stack_map.IsValid()); in GetVRegFromOptimizedCode() 280 code_info.GetInlineInfoOf(stack_map, encoding), in GetVRegFromOptimizedCode() 283 : code_info.GetDexRegisterMapOf(stack_map, encoding, number_of_dex_registers); in GetVRegFromOptimizedCode() 802 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset, encoding); in WalkStack() local 803 if (stack_map.IsValid() && stack_map.HasInlineInfo(encoding.stack_map_encoding)) { in WalkStack() 804 InlineInfo inline_info = code_info.GetInlineInfoOf(stack_map, encoding); in WalkStack()
|
D | quick_exception_handler.cc | 386 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset, encoding); in HandleOptimizingDeoptimization() local 388 uint32_t register_mask = stack_map.GetRegisterMask(encoding.stack_map_encoding); in HandleOptimizingDeoptimization() 391 code_info.GetInlineInfoOf(stack_map, encoding), in HandleOptimizingDeoptimization() 394 : code_info.GetDexRegisterMapOf(stack_map, encoding, number_of_vregs); 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()
|
D | stack_map.cc | 135 StackMap stack_map = GetStackMapAt(i, encoding); in Dump() local 136 stack_map.Dump(vios, in Dump()
|
D | Android.mk | 181 stack_map.cc \
|
/art/compiler/debug/ |
D | elf_debug_loc_writer.h | 104 StackMap stack_map = code_info.GetStackMapAt(s, encoding); in GetVariableLocations() local 105 DCHECK(stack_map.IsValid()); in GetVariableLocations() 106 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() 126 const StackMap& stack_map = code_info.GetStackMapAt(stack_map_index, encoding); in GetVariableLocations() local 138 uint32_t dex_pc = stack_map.GetDexPc(encoding.stack_map_encoding); in GetVariableLocations()
|
D | elf_debug_line_writer.h | 104 StackMap stack_map = code_info.GetStackMapAt(s, encoding); in WriteCompilationUnit() local 105 DCHECK(stack_map.IsValid()); in WriteCompilationUnit() 106 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()
|
D | elf_debug_info_writer.h | 185 const StackMap& stack_map = code_info.GetStackMapAt(s, encoding); in Write() local 187 stack_map, encoding, dex_code->registers_size_)); in Write()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.cc | 280 StackMap stack_map = code_info.GetStackMapForNativePcOffset(native_pc_offset, encoding); in GetCalleeSaveMethodCaller() local 281 DCHECK(stack_map.IsValid()); in GetCalleeSaveMethodCaller() 282 if (stack_map.HasInlineInfo(encoding.stack_map_encoding)) { in GetCalleeSaveMethodCaller() 283 InlineInfo inline_info = code_info.GetInlineInfoOf(stack_map, encoding); in GetCalleeSaveMethodCaller()
|
/art/runtime/jit/ |
D | jit.cc | 440 StackMap stack_map = code_info.GetOsrStackMapForDexPc(dex_pc + dex_pc_offset, encoding); in MaybeDoOnStackReplacement() local 441 if (!stack_map.IsValid()) { in MaybeDoOnStackReplacement() 457 code_info.GetDexRegisterMapOf(stack_map, encoding, number_of_vregs); in MaybeDoOnStackReplacement() 503 native_pc = stack_map.GetNativePcOffset(encoding.stack_map_encoding) + in MaybeDoOnStackReplacement()
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 331 StackMap stack_map = code_info.GetStackMapForNativePcOffset(outer_pc_offset, encoding); in GetCallingDexPc() local 332 DCHECK(stack_map.IsValid()); in GetCallingDexPc() 333 if (stack_map.HasInlineInfo(encoding.stack_map_encoding)) { in GetCallingDexPc() 334 InlineInfo inline_info = code_info.GetInlineInfoOf(stack_map, encoding); in GetCallingDexPc() 338 return stack_map.GetDexPc(encoding.stack_map_encoding); in GetCallingDexPc()
|
/art/oatdump/ |
D | oatdump.cc | 1236 StackMap stack_map = helper.GetStackMap(); in DumpCode() local 1237 DCHECK(stack_map.IsValid()); in DumpCode() 1238 stack_map.Dump(vios, in DumpCode()
|