Home
last modified time | relevance | path

Searched refs:kind (Results 1 – 25 of 45) sorted by relevance

12

/art/runtime/
Dvmap_table.h54 bool IsInContext(size_t vreg, VRegKind kind, uint32_t* vmap_offset) const { in IsInContext() argument
55 DCHECK(kind == kReferenceVReg || kind == kIntVReg || kind == kFloatVReg || in IsInContext()
56 kind == kLongLoVReg || kind == kLongHiVReg || kind == kDoubleLoVReg || in IsInContext()
57 kind == kDoubleHiVReg || kind == kImpreciseConstant); in IsInContext()
62 bool is_float = (kind == kFloatVReg) || (kind == kDoubleLoVReg) || (kind == kDoubleHiVReg); in IsInContext()
67 bool high_reg = (kind == kLongHiVReg) || (kind == kDoubleHiVReg); in IsInContext()
91 uint32_t ComputeRegister(uint32_t spill_mask, uint32_t vmap_offset, VRegKind kind) const { in ComputeRegister() argument
93 DCHECK(kind == kReferenceVReg || kind == kIntVReg || kind == kFloatVReg || in ComputeRegister()
94 kind == kLongLoVReg || kind == kLongHiVReg || kind == kDoubleLoVReg || in ComputeRegister()
95 kind == kDoubleHiVReg || kind == kImpreciseConstant); in ComputeRegister()
[all …]
Dstack.cc154 bool StackVisitor::GetVReg(mirror::ArtMethod* m, uint16_t vreg, VRegKind kind, in GetVReg() argument
165 if (vmap_table.IsInContext(vreg, kind, &vmap_offset)) { in GetVReg()
166 bool is_float = (kind == kFloatVReg) || (kind == kDoubleLoVReg) || (kind == kDoubleHiVReg); in GetVReg()
168 uint32_t reg = vmap_table.ComputeRegister(spill_mask, vmap_offset, kind); in GetVReg()
176 bool wide_lo = (kind == kLongLoVReg) || (kind == kDoubleLoVReg); in GetVReg()
177 bool wide_hi = (kind == kLongHiVReg) || (kind == kDoubleHiVReg); in GetVReg()
256 VRegKind kind) { in SetVReg() argument
266 if (vmap_table.IsInContext(vreg, kind, &vmap_offset)) { in SetVReg()
267 bool is_float = (kind == kFloatVReg) || (kind == kDoubleLoVReg) || (kind == kDoubleHiVReg); in SetVReg()
269 const uint32_t reg = vmap_table.ComputeRegister(spill_mask, vmap_offset, kind); in SetVReg()
[all …]
Dquick_exception_handler.cc220 VRegKind kind = GetVRegKind(reg, kinds); in HandleDeoptimization() local
221 switch (kind) { in HandleDeoptimization()
231 reg, kind))); in HandleDeoptimization()
238 new_frame->SetVReg(reg, GetVReg(h_method.Get(), reg, kind)); in HandleDeoptimization()
245 new_frame->SetVReg(reg, GetVReg(h_method.Get(), reg, kind)); in HandleDeoptimization()
253 new_frame->SetVReg(reg, GetVReg(h_method.Get(), reg, kind)); in HandleDeoptimization()
260 new_frame->SetVReg(reg, GetVReg(h_method.Get(), reg, kind)); in HandleDeoptimization()
264 new_frame->SetVReg(reg, GetVReg(h_method.Get(), reg, kind)); in HandleDeoptimization()
Dtransaction.h106 FieldValueKind kind; member
146 InternStringLog(mirror::String* s, StringKind kind, StringOp op) in InternStringLog() argument
147 : str_(s), string_kind_(kind), string_op_(op) { in InternStringLog()
Dtransaction.cc232 field_value.kind = ObjectLog::k32Bits; in Log32BitsValue()
243 field_value.kind = ObjectLog::k64Bits; in Log64BitsValue()
254 field_value.kind = ObjectLog::kReference; in LogReferenceValue()
283 switch (field_value.kind) { in UndoFieldWrite()
310 LOG(FATAL) << "Unknown value kind " << field_value.kind; in UndoFieldWrite()
318 if (field_value.kind == ObjectLog::kReference) { in VisitRoots()
Dstack.h578 bool GetVReg(mirror::ArtMethod* m, uint16_t vreg, VRegKind kind, uint32_t* val) const
581 uint32_t GetVReg(mirror::ArtMethod* m, uint16_t vreg, VRegKind kind) const in GetVReg() argument
584 bool success = GetVReg(m, vreg, kind, &val); in GetVReg()
585 CHECK(success) << "Failed to read vreg " << vreg << " of kind " << kind; in GetVReg()
602 bool SetVReg(mirror::ArtMethod* m, uint16_t vreg, uint32_t new_value, VRegKind kind)
Dstack_map.h97 void SetRegisterInfo(uint16_t register_index, LocationKind kind, int32_t value) { in SetRegisterInfo() argument
99 region_.Store<LocationKind>(entry, kind); in SetRegisterInfo()
/art/compiler/utils/
Dscoped_arena_allocator.h66 void* Alloc(size_t bytes, ArenaAllocKind kind) ALWAYS_INLINE { in Alloc() argument
68 return AllocValgrind(bytes, kind); in Alloc()
75 CurrentStats()->RecordAlloc(bytes, kind); in Alloc()
83 void* AllocValgrind(size_t bytes, ArenaAllocKind kind);
118 void* Alloc(size_t bytes, ArenaAllocKind kind) ALWAYS_INLINE { in Alloc() argument
120 return arena_stack_->Alloc(bytes, kind); in Alloc()
124 ScopedArenaAllocatorAdapter<void> Adapter(ArenaAllocKind kind = kArenaAllocSTL);
Darena_bit_vector.cc45 bool expandable, OatBitMapKind kind) in ArenaBitVector() argument
47 new (arena) ArenaBitVectorAllocator<ArenaAllocator>(arena)), kind_(kind) { in ArenaBitVector()
52 bool expandable, OatBitMapKind kind) in ArenaBitVector() argument
54 new (arena) ArenaBitVectorAllocator<ScopedArenaAllocator>(arena)), kind_(kind) { in ArenaBitVector()
Darena_containers.h69 explicit ArenaAllocatorAdapterKindImpl(ArenaAllocKind kind) { } in ArenaAllocatorAdapterKindImpl() argument
77 explicit ArenaAllocatorAdapterKindImpl(ArenaAllocKind kind) : kind_(kind) { } in ArenaAllocatorAdapterKindImpl() argument
101 ArenaAllocKind kind = kArenaAllocSTL)
103 ArenaAllocatorAdapterKind(kind), in DebugStackReference()
139 explicit ArenaAllocatorAdapter(ArenaAllocator* arena_allocator, ArenaAllocKind kind) in ArenaAllocatorAdapter() argument
141 ArenaAllocatorAdapterKind(kind), in ArenaAllocatorAdapter()
199 inline ArenaAllocatorAdapter<void> ArenaAllocator::Adapter(ArenaAllocKind kind) { in Adapter() argument
200 return ArenaAllocatorAdapter<void>(this, kind); in Adapter()
Darena_allocator.h74 void RecordAlloc(size_t bytes, ArenaAllocKind kind) { UNUSED(bytes); UNUSED(kind); } in RecordAlloc() argument
90 void RecordAlloc(size_t bytes, ArenaAllocKind kind);
165 ArenaAllocatorAdapter<void> Adapter(ArenaAllocKind kind = kArenaAllocSTL);
168 void* Alloc(size_t bytes, ArenaAllocKind kind) ALWAYS_INLINE { in Alloc() argument
170 return AllocValgrind(bytes, kind); in Alloc()
180 ArenaAllocatorStats::RecordAlloc(bytes, kind); in Alloc()
190 void* AllocValgrind(size_t bytes, ArenaAllocKind kind);
Darena_bit_vector.h48 std::ostream& operator<<(std::ostream& os, const OatBitMapKind& kind);
56 OatBitMapKind kind = kBitMapMisc);
58 OatBitMapKind kind = kBitMapMisc);
Dscoped_arena_containers.h75 ArenaAllocKind kind = kArenaAllocSTL)
78 ArenaAllocatorAdapterKind(kind), in DebugStackReference()
118 ArenaAllocKind kind = kArenaAllocSTL)
121 ArenaAllocatorAdapterKind(kind), in DebugStackReference()
184 inline ScopedArenaAllocatorAdapter<void> ScopedArenaAllocator::Adapter(ArenaAllocKind kind) { in Adapter() argument
185 return ScopedArenaAllocatorAdapter<void>(this, kind); in Adapter()
Darena_allocator.cc66 void ArenaAllocatorStatsImpl<kCount>::RecordAlloc(size_t bytes, ArenaAllocKind kind) { in RecordAlloc() argument
67 alloc_stats_[kind] += bytes; in RecordAlloc()
228 void* ArenaAllocator::AllocValgrind(size_t bytes, ArenaAllocKind kind) { in AllocValgrind() argument
237 ArenaAllocatorStats::RecordAlloc(rounded_bytes, kind); in AllocValgrind()
Dscoped_arena_allocator.cc94 void* ArenaStack::AllocValgrind(size_t bytes, ArenaAllocKind kind) { in AllocValgrind() argument
100 CurrentStats()->RecordAlloc(bytes, kind); in AllocValgrind()
Dgrowable_array.h84 GrowableArray(ArenaAllocator* arena, size_t init_length, OatListKind kind = kGrowableArrayMisc)
88 kind_(kind) { in arena_()
/art/compiler/dex/
Dcompiler_enums.h275 std::ostream& operator<<(std::ostream& os, const OpSize& kind);
333 std::ostream& operator<<(std::ostream& os, const OpKind& kind);
356 std::ostream& operator<<(std::ostream& os, const ConditionCode& kind);
378 std::ostream& operator<<(std::ostream& os, const ArmConditionCode& kind);
426 std::ostream& operator<<(std::ostream& os, const X86ConditionCode& kind);
458 std::ostream& operator<<(std::ostream& os, const MemBarrierKind& kind);
522 std::ostream& operator<<(std::ostream& os, const SelectInstructionKind& kind);
543 std::ostream& operator<<(std::ostream& os, const FixupKind& kind);
550 std::ostream& operator<<(std::ostream& os, const VolatileKind& kind);
558 std::ostream& operator<<(std::ostream& os, const WideKind& kind);
/art/compiler/optimizing/
Dstack_map_stream.h60 DexRegisterMap::LocationKind kind; member
91 void AddDexRegisterEntry(DexRegisterMap::LocationKind kind, int32_t value) { in AddDexRegisterEntry() argument
93 entry.kind = kind; in AddDexRegisterEntry()
175 dex_register_map.SetRegisterInfo(i, register_entry.kind, register_entry.value); in FillIn()
Dlocations.h245 Location(Kind kind, uword payload) in Location() argument
246 : value_(KindField::Encode(kind) | PayloadField::Encode(payload)) {} in Location()
/art/runtime/entrypoints/quick/
Dquick_entrypoints_enum.h35 std::ostream& operator<<(std::ostream& os, const QuickEntrypointEnum& kind);
/art/compiler/
Dcompiler.cc179 Compiler* Compiler::Create(CompilerDriver* driver, Compiler::Kind kind) { in Create() argument
180 switch (kind) { in Create()
Dcompiler.h44 static Compiler* Create(CompilerDriver* driver, Kind kind);
/art/compiler/dex/quick/arm64/
Dassemble_arm64.cc669 ArmEncodingKind kind = encoder->field_loc[i].kind; in EncodeLIRs() local
673 if (LIKELY(static_cast<unsigned>(kind) <= kFmtBitBlt)) { in EncodeLIRs()
676 if (static_cast<unsigned>(kind) < kFmtBitBlt) { in EncodeLIRs()
686 switch (kind) { in EncodeLIRs()
715 << " (" << kind << ")"; in EncodeLIRs()
771 switch (kind) { in EncodeLIRs()
780 DCHECK_EQ((operand & (1 << 6)) == 0, kind == kFmtShift); in EncodeLIRs()
792 << " (" << kind << ")"; in EncodeLIRs()
/art/runtime/base/unix_file/
Dfd_file.h117 std::ostream& operator<<(std::ostream& os, const FdFile::GuardState& kind);
/art/oatdump/
Doatdump.cc701 const DexFile::CodeItem* code_item, size_t reg, VRegKind kind) { in DescribeVReg() argument
706 if (vmap_table.IsInContext(reg, kind, &vmap_offset)) { in DescribeVReg()
707 bool is_float = (kind == kFloatVReg) || (kind == kDoubleLoVReg) || (kind == kDoubleHiVReg); in DescribeVReg()
710 os << (is_float ? "fr" : "r") << vmap_table.ComputeRegister(spill_mask, vmap_offset, kind); in DescribeVReg()
860 VRegKind kind = static_cast<VRegKind>(kinds.at(reg * 2)); in DumpVRegsAtDexPc() local
861 if (kind != kUndefined) { in DumpVRegsAtDexPc()
869 switch (kind) { in DumpVRegsAtDexPc()
872 DescribeVReg(os, oat_method, code_item, reg, kind); in DumpVRegsAtDexPc()
878 DescribeVReg(os, oat_method, code_item, reg, kind); in DumpVRegsAtDexPc()

12