Home
last modified time | relevance | path

Searched refs:Kind (Results 1 – 25 of 30) sorted by relevance

12

/art/runtime/
Dstack_map.h71 enum class Kind : uint8_t { enum
101 sizeof(Kind) == 1u,
104 static bool IsShortLocationKind(Kind kind) { in IsShortLocationKind()
106 case Kind::kInStack: in IsShortLocationKind()
107 case Kind::kInRegister: in IsShortLocationKind()
108 case Kind::kInRegisterHigh: in IsShortLocationKind()
109 case Kind::kInFpuRegister: in IsShortLocationKind()
110 case Kind::kInFpuRegisterHigh: in IsShortLocationKind()
111 case Kind::kConstant: in IsShortLocationKind()
114 case Kind::kInStackLargeOffset: in IsShortLocationKind()
[all …]
Dcheck_reference_map_visitor.h77 case DexRegisterLocation::Kind::kNone: in CheckOptimizedMethod()
81 case DexRegisterLocation::Kind::kInStack: in CheckOptimizedMethod()
86 case DexRegisterLocation::Kind::kInRegister: in CheckOptimizedMethod()
87 case DexRegisterLocation::Kind::kInRegisterHigh: in CheckOptimizedMethod()
90 case DexRegisterLocation::Kind::kInFpuRegister: in CheckOptimizedMethod()
91 case DexRegisterLocation::Kind::kInFpuRegisterHigh: in CheckOptimizedMethod()
95 case DexRegisterLocation::Kind::kConstant: in CheckOptimizedMethod()
Dstack_map.cc30 std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation::Kind& kind) { in operator <<()
31 using Kind = DexRegisterLocation::Kind; in operator <<() typedef
33 case Kind::kNone: in operator <<()
35 case Kind::kInStack: in operator <<()
37 case Kind::kInRegister: in operator <<()
39 case Kind::kInRegisterHigh: in operator <<()
41 case Kind::kInFpuRegister: in operator <<()
43 case Kind::kInFpuRegisterHigh: in operator <<()
45 case Kind::kConstant: in operator <<()
47 case Kind::kInStackLargeOffset: in operator <<()
[all …]
Dquick_exception_handler.cc180 static VRegKind ToVRegKind(DexRegisterLocation::Kind kind) { in ToVRegKind()
185 case DexRegisterLocation::Kind::kConstant: in ToVRegKind()
186 case DexRegisterLocation::Kind::kInStack: in ToVRegKind()
190 case DexRegisterLocation::Kind::kInRegister: in ToVRegKind()
194 case DexRegisterLocation::Kind::kInRegisterHigh: in ToVRegKind()
198 case DexRegisterLocation::Kind::kInFpuRegister: in ToVRegKind()
202 case DexRegisterLocation::Kind::kInFpuRegisterHigh: in ToVRegKind()
244 DexRegisterLocation::Kind catch_location = in SetCatchEnvironmentForOptimizedHandler()
246 if (catch_location == DexRegisterLocation::Kind::kNone) { in SetCatchEnvironmentForOptimizedHandler()
249 DCHECK(catch_location == DexRegisterLocation::Kind::kInStack); in SetCatchEnvironmentForOptimizedHandler()
[all …]
Dstack.cc288 DexRegisterLocation::Kind location_kind = in GetVRegFromOptimizedCode()
291 case DexRegisterLocation::Kind::kInStack: { in GetVRegFromOptimizedCode()
300 case DexRegisterLocation::Kind::kInRegister: in GetVRegFromOptimizedCode()
301 case DexRegisterLocation::Kind::kInRegisterHigh: in GetVRegFromOptimizedCode()
302 case DexRegisterLocation::Kind::kInFpuRegister: in GetVRegFromOptimizedCode()
303 case DexRegisterLocation::Kind::kInFpuRegisterHigh: { in GetVRegFromOptimizedCode()
308 case DexRegisterLocation::Kind::kConstant: in GetVRegFromOptimizedCode()
311 case DexRegisterLocation::Kind::kNone: in GetVRegFromOptimizedCode()
Ddebugger.h146 enum Kind { enum
170 Kind GetKind() const { in GetKind()
174 void SetKind(Kind kind) { in SetKind()
187 Kind kind_;
199 std::ostream& operator<<(std::ostream& os, const DeoptimizationRequest::Kind& rhs);
Ddebugger.cc88 Breakpoint(ArtMethod* method, uint32_t dex_pc, DeoptimizationRequest::Kind deoptimization_kind) in Breakpoint()
112 DeoptimizationRequest::Kind GetDeoptimizationKind() const { in GetDeoptimizationKind()
128 DeoptimizationRequest::Kind deoptimization_kind_;
3257 DeoptimizationRequest::Kind deoptimization_kind) in SanityCheckExistingBreakpoints()
3284 static DeoptimizationRequest::Kind GetRequiredDeoptimizationKind(Thread* self, in GetRequiredDeoptimizationKind()
3328 DeoptimizationRequest::Kind deoptimization_kind = first_breakpoint->GetDeoptimizationKind(); in GetRequiredDeoptimizationKind()
3345 const DeoptimizationRequest::Kind deoptimization_kind = in WatchLocation()
3360 DeoptimizationRequest::Kind breakpoint_deoptimization_kind; in WatchLocation()
3378 DeoptimizationRequest::Kind deoptimization_kind = DeoptimizationRequest::kNothing; in UnwatchLocation()
/art/compiler/optimizing/
Dstack_map_test.cc44 using Kind = DexRegisterLocation::Kind; typedef
54 stream.AddDexRegisterEntry(Kind::kInStack, 0); // Short location. in TEST()
55 stream.AddDexRegisterEntry(Kind::kConstant, -2); // Short location. in TEST()
97 ASSERT_EQ(Kind::kInStack, dex_register_map.GetLocationKind( in TEST()
99 ASSERT_EQ(Kind::kConstant, dex_register_map.GetLocationKind( in TEST()
101 ASSERT_EQ(Kind::kInStack, dex_register_map.GetLocationInternalKind( in TEST()
103 ASSERT_EQ(Kind::kConstantLargeValue, dex_register_map.GetLocationInternalKind( in TEST()
117 ASSERT_EQ(Kind::kInStack, location0.GetKind()); in TEST()
118 ASSERT_EQ(Kind::kConstant, location1.GetKind()); in TEST()
119 ASSERT_EQ(Kind::kInStack, location0.GetInternalKind()); in TEST()
[all …]
Dcode_generator.cc868 stack_map_stream_.AddDexRegisterEntry(DexRegisterLocation::Kind::kNone, 0); in RecordCatchBlockInfo()
874 DexRegisterLocation::Kind::kInStack, location.GetStackIndex()); in RecordCatchBlockInfo()
879 DexRegisterLocation::Kind::kInStack, location.GetStackIndex()); in RecordCatchBlockInfo()
881 DexRegisterLocation::Kind::kInStack, location.GetHighStackIndex(kVRegSize)); in RecordCatchBlockInfo()
915 stack_map_stream_.AddDexRegisterEntry(DexRegisterLocation::Kind::kNone, 0); in EmitEnvironment()
926 DexRegisterLocation::Kind::kConstant, Low32Bits(value)); in EmitEnvironment()
928 DexRegisterLocation::Kind::kConstant, High32Bits(value)); in EmitEnvironment()
934 DexRegisterLocation::Kind::kConstant, Low32Bits(value)); in EmitEnvironment()
936 DexRegisterLocation::Kind::kConstant, High32Bits(value)); in EmitEnvironment()
941 stack_map_stream_.AddDexRegisterEntry(DexRegisterLocation::Kind::kConstant, value); in EmitEnvironment()
[all …]
Dparallel_move_resolver.h150 virtual Location AllocateScratchLocationFor(Location::Kind kind) = 0;
161 Location GetScratchLocation(Location::Kind kind);
Dlocations.h45 enum Kind { enum
277 Kind GetKind() const { in GetKind()
385 Location(Kind kind, uintptr_t payload) in Location()
392 typedef BitField<Kind, 0, kBitsForKind> KindField;
407 std::ostream& operator<<(std::ostream& os, const Location::Kind& rhs);
Dparallel_move_resolver.cc364 Location ParallelMoveResolverNoSwap::GetScratchLocation(Location::Kind kind) { in GetScratchLocation()
456 Location::Kind kind = source.GetKind(); in PerformMove()
Dstack_map_stream.h127 void AddDexRegisterEntry(DexRegisterLocation::Kind kind, int32_t value);
Dstack_map_stream.cc63 void StackMapStream::AddDexRegisterEntry(DexRegisterLocation::Kind kind, int32_t value) { in AddDexRegisterEntry()
64 if (kind != DexRegisterLocation::Kind::kNone) { in AddDexRegisterEntry()
485 if (expected.GetKind() == DexRegisterLocation::Kind::kNone) { in CheckDexRegisterMap()
/art/compiler/debug/
Delf_debug_loc_writer.h187 using Kind = DexRegisterLocation::Kind; in WriteDebugLocEntry() local
215 const Kind kind = reg_loc.GetKind(); in WriteDebugLocEntry()
217 if (kind == Kind::kInStack) { in WriteDebugLocEntry()
220 if (piece == 0 && reg_hi.GetKind() == Kind::kInStack && in WriteDebugLocEntry()
224 } else if (kind == Kind::kInRegister) { in WriteDebugLocEntry()
226 if (piece == 0 && reg_hi.GetKind() == Kind::kInRegisterHigh && in WriteDebugLocEntry()
230 } else if (kind == Kind::kInFpuRegister) { in WriteDebugLocEntry()
232 piece == 0 && reg_hi.GetKind() == Kind::kInFpuRegister && in WriteDebugLocEntry()
239 if (piece == 0 && reg_hi.GetKind() == Kind::kInFpuRegisterHigh && in WriteDebugLocEntry()
243 } else if (kind == Kind::kConstant) { in WriteDebugLocEntry()
[all …]
/art/runtime/base/
Darena_bit_vector.cc34 ArenaAllocKind Kind() { return kArenaAllocGrowableBitMap; } in Kind() function in art::ArenaBitVectorAllocatorKindImpl
43 ArenaAllocKind Kind() { return kind_; } in Kind() function in art::ArenaBitVectorAllocatorKindImpl
66 return arena_->Alloc(size, this->Kind()); in Alloc()
Darena_containers.h93 ArenaAllocKind Kind() { return kArenaAllocSTL; } in Kind() function
102 ArenaAllocKind Kind() { return kind_; } in Kind() function
182 return arena_allocator_->AllocArray<T>(n, ArenaAllocatorAdapterKind::Kind());
Dscoped_arena_containers.h155 ArenaAllocatorAdapterKind::Kind()));
/art/compiler/
Dcommon_compiler_test.h62 Compiler::Kind GetCompilerKind() const;
63 void SetCompilerKind(Compiler::Kind compiler_kind);
96 void CreateCompilerDriver(Compiler::Kind kind, InstructionSet isa, size_t number_of_threads = 2U);
102 Compiler::Kind compiler_kind_ = Compiler::kOptimizing;
Dcompiler.h36 enum Kind { enum
41 static Compiler* Create(CompilerDriver* driver, Kind kind);
Dcompiler.cc26 Compiler* Compiler::Create(CompilerDriver* driver, Compiler::Kind kind) { in Create()
Dcommon_compiler_test.cc173 void CommonCompilerTest::CreateCompilerDriver(Compiler::Kind kind, in CreateCompilerDriver()
208 Compiler::Kind CommonCompilerTest::GetCompilerKind() const { in GetCompilerKind()
212 void CommonCompilerTest::SetCompilerKind(Compiler::Kind compiler_kind) { in SetCompilerKind()
Doat_test.cc90 void SetupCompiler(Compiler::Kind compiler_kind, in SetupCompiler()
356 Compiler::Kind compiler_kind = Compiler::kQuick; in TEST_F()
474 Compiler::Kind compiler_kind = Compiler::kQuick; in TEST_F()
/art/runtime/jit/
Djit.cc478 DexRegisterLocation::Kind location = in MaybeDoOnStackReplacement()
480 if (location == DexRegisterLocation::Kind::kNone) { in MaybeDoOnStackReplacement()
485 if (location == DexRegisterLocation::Kind::kConstant) { in MaybeDoOnStackReplacement()
490 DCHECK_EQ(location, DexRegisterLocation::Kind::kInStack); in MaybeDoOnStackReplacement()
/art/compiler/driver/
Dcompiler_driver.h92 Compiler::Kind compiler_kind,
460 Compiler::Kind GetCompilerKind() { in GetCompilerKind()
634 Compiler::Kind compiler_kind_;

12