Searched refs:DexRegisterLocation (Results 1 - 11 of 11) sorted by relevance

/art/runtime/
H A Dcheck_reference_map_visitor.h74 DexRegisterLocation location = dex_register_map.GetDexRegisterLocation(
77 case DexRegisterLocation::Kind::kNone:
81 case DexRegisterLocation::Kind::kInStack:
86 case DexRegisterLocation::Kind::kInRegister:
87 case DexRegisterLocation::Kind::kInRegisterHigh:
90 case DexRegisterLocation::Kind::kInFpuRegister:
91 case DexRegisterLocation::Kind::kInFpuRegisterHigh:
95 case DexRegisterLocation::Kind::kConstant:
H A Dstack_map.h48 class DexRegisterLocation { class in namespace:art
102 "art::DexRegisterLocation::Kind has a size different from one byte.");
150 DexRegisterLocation() : kind_(Kind::kNone), value_(0) {} function in class:art::DexRegisterLocation::Kind
152 DexRegisterLocation(Kind kind, int32_t value) : kind_(kind), value_(value) {} function in class:art::DexRegisterLocation::Kind
154 static DexRegisterLocation None() {
155 return DexRegisterLocation(Kind::kNone, 0);
170 bool operator==(DexRegisterLocation other) const {
174 bool operator!=(DexRegisterLocation other) const {
185 std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation::Kind& kind);
191 * [DexRegisterLocation
[all...]
H A Dquick_exception_handler.cc180 static VRegKind ToVRegKind(DexRegisterLocation::Kind kind) {
185 case DexRegisterLocation::Kind::kConstant:
186 case DexRegisterLocation::Kind::kInStack:
190 case DexRegisterLocation::Kind::kInRegister:
194 case DexRegisterLocation::Kind::kInRegisterHigh:
198 case DexRegisterLocation::Kind::kInFpuRegister:
202 case DexRegisterLocation::Kind::kInFpuRegisterHigh:
244 DexRegisterLocation::Kind catch_location =
246 if (catch_location == DexRegisterLocation::Kind::kNone) {
249 DCHECK(catch_location == DexRegisterLocation
[all...]
H A Dstack_map.cc30 std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation::Kind& kind) {
31 using Kind = DexRegisterLocation::Kind;
55 DexRegisterLocation::Kind DexRegisterMap::GetLocationInternalKind(
69 DexRegisterLocation DexRegisterMap::GetDexRegisterLocation(uint16_t dex_register_number,
84 DexRegisterLocation location,
157 DexRegisterLocation location = GetDexRegisterLocation(i);
173 DexRegisterLocation location = GetDexRegisterLocation(j,
H A Dstack.cc288 DexRegisterLocation::Kind location_kind =
291 case DexRegisterLocation::Kind::kInStack: {
300 case DexRegisterLocation::Kind::kInRegister:
301 case DexRegisterLocation::Kind::kInRegisterHigh:
302 case DexRegisterLocation::Kind::kInFpuRegister:
303 case DexRegisterLocation::Kind::kInFpuRegisterHigh: {
308 case DexRegisterLocation::Kind::kConstant:
311 case DexRegisterLocation::Kind::kNone:
/art/compiler/optimizing/
H A Dstack_map_stream.h33 void MakeEmpty(std::pair<DexRegisterLocation, size_t>& item) const {
34 item.first = DexRegisterLocation::None();
36 bool IsEmpty(const std::pair<DexRegisterLocation, size_t>& item) const {
37 return item.first == DexRegisterLocation::None();
45 size_t operator()(DexRegisterLocation key) const {
127 void AddDexRegisterEntry(DexRegisterLocation::Kind kind, int32_t value);
181 ArenaVector<DexRegisterLocation> location_catalog_entries_;
184 using LocationCatalogEntriesIndices = ArenaHashMap<DexRegisterLocation,
H A Dcode_generator.cc868 stack_map_stream_.AddDexRegisterEntry(DexRegisterLocation::Kind::kNone, 0);
874 DexRegisterLocation::Kind::kInStack, location.GetStackIndex());
879 DexRegisterLocation::Kind::kInStack, location.GetStackIndex());
881 DexRegisterLocation::Kind::kInStack, location.GetHighStackIndex(kVRegSize));
915 stack_map_stream_.AddDexRegisterEntry(DexRegisterLocation::Kind::kNone, 0);
926 DexRegisterLocation::Kind::kConstant, Low32Bits(value));
928 DexRegisterLocation::Kind::kConstant, High32Bits(value));
934 DexRegisterLocation::Kind::kConstant, Low32Bits(value));
936 DexRegisterLocation::Kind::kConstant, High32Bits(value));
941 stack_map_stream_.AddDexRegisterEntry(DexRegisterLocation
[all...]
H A Dstack_map_stream.cc63 void StackMapStream::AddDexRegisterEntry(DexRegisterLocation::Kind kind, int32_t value) {
64 if (kind != DexRegisterLocation::Kind::kNone) {
66 DCHECK(DexRegisterLocation::IsShortLocationKind(kind)) << kind;
67 DexRegisterLocation location(kind, value);
182 for (const DexRegisterLocation& dex_register_location : location_catalog_entries_) {
280 for (DexRegisterLocation dex_register_location : location_catalog_entries_) {
479 DexRegisterLocation expected = DexRegisterLocation::None();
485 if (expected.GetKind() == DexRegisterLocation::Kind::kNone) {
489 DexRegisterLocation see
[all...]
H A Dstack_map_test.cc44 using Kind = DexRegisterLocation::Kind;
115 DexRegisterLocation location0 = location_catalog.GetDexRegisterLocation(index0);
116 DexRegisterLocation location1 = location_catalog.GetDexRegisterLocation(index1);
229 DexRegisterLocation location0 = location_catalog.GetDexRegisterLocation(index0);
230 DexRegisterLocation location1 = location_catalog.GetDexRegisterLocation(index1);
291 DexRegisterLocation location0 = location_catalog.GetDexRegisterLocation(index0);
292 DexRegisterLocation location1 = location_catalog.GetDexRegisterLocation(index1);
345 DexRegisterLocation location0 = location_catalog.GetDexRegisterLocation(index0);
346 DexRegisterLocation location1 = location_catalog.GetDexRegisterLocation(index1);
399 DexRegisterLocation location
[all...]
/art/compiler/debug/
H A Delf_debug_loc_writer.h79 DexRegisterLocation reg_lo; // May be None if the location is unknown.
80 DexRegisterLocation reg_hi; // Most significant bits of 64-bit value.
146 DexRegisterLocation reg_lo = DexRegisterLocation::None();
147 DexRegisterLocation reg_hi = DexRegisterLocation::None();
187 using Kind = DexRegisterLocation::Kind;
211 DexRegisterLocation reg_lo = variable_location.reg_lo;
212 DexRegisterLocation reg_hi = variable_location.reg_hi;
214 DexRegisterLocation reg_lo
[all...]
/art/runtime/jit/
H A Djit.cc487 DexRegisterLocation::Kind location =
489 if (location == DexRegisterLocation::Kind::kNone) {
494 if (location == DexRegisterLocation::Kind::kConstant) {
499 DCHECK_EQ(location, DexRegisterLocation::Kind::kInStack);

Completed in 114 milliseconds