Searched defs:kind (Results 1 - 25 of 28) sorted by relevance

12

/art/compiler/utils/
H A Darena_bit_vector.cc45 bool expandable, OatBitMapKind kind)
47 new (arena) ArenaBitVectorAllocator<ArenaAllocator>(arena)), kind_(kind) {
52 bool expandable, OatBitMapKind kind)
54 new (arena) ArenaBitVectorAllocator<ScopedArenaAllocator>(arena)), kind_(kind) {
44 ArenaBitVector(ArenaAllocator* arena, unsigned int start_bits, bool expandable, OatBitMapKind kind) argument
51 ArenaBitVector(ScopedArenaAllocator* arena, unsigned int start_bits, bool expandable, OatBitMapKind kind) argument
H A Dscoped_arena_allocator.cc94 void* ArenaStack::AllocValgrind(size_t bytes, ArenaAllocKind kind) { argument
100 CurrentStats()->RecordAlloc(bytes, kind);
H A Darena_containers.h68 // Not tracking allocations, ignore the supplied kind and arbitrarily provide kArenaAllocSTL.
69 explicit ArenaAllocatorAdapterKindImpl(ArenaAllocKind kind) { } argument
77 explicit ArenaAllocatorAdapterKindImpl(ArenaAllocKind kind) : kind_(kind) { } argument
101 ArenaAllocKind kind = kArenaAllocSTL)
103 ArenaAllocatorAdapterKind(kind),
139 explicit ArenaAllocatorAdapter(ArenaAllocator* arena_allocator, ArenaAllocKind kind) argument
141 ArenaAllocatorAdapterKind(kind),
199 inline ArenaAllocatorAdapter<void> ArenaAllocator::Adapter(ArenaAllocKind kind) { argument
200 return ArenaAllocatorAdapter<void>(this, kind);
[all...]
H A Dscoped_arena_containers.h75 ArenaAllocKind kind = kArenaAllocSTL)
78 ArenaAllocatorAdapterKind(kind),
118 ArenaAllocKind kind = kArenaAllocSTL)
121 ArenaAllocatorAdapterKind(kind),
184 inline ScopedArenaAllocatorAdapter<void> ScopedArenaAllocator::Adapter(ArenaAllocKind kind) { argument
185 return ScopedArenaAllocatorAdapter<void>(this, kind);
H A Darena_allocator.cc66 void ArenaAllocatorStatsImpl<kCount>::RecordAlloc(size_t bytes, ArenaAllocKind kind) { argument
67 alloc_stats_[kind] += bytes;
104 os << "===== Allocation by kind\n";
219 void* ArenaAllocator::AllocValgrind(size_t bytes, ArenaAllocKind kind) { argument
228 ArenaAllocatorStats::RecordAlloc(rounded_bytes, kind);
H A Darena_allocator.h74 void RecordAlloc(size_t bytes, ArenaAllocKind kind) { UNUSED(bytes); UNUSED(kind); } argument
90 void RecordAlloc(size_t bytes, ArenaAllocKind kind);
160 ArenaAllocatorAdapter<void> Adapter(ArenaAllocKind kind = kArenaAllocSTL);
163 void* Alloc(size_t bytes, ArenaAllocKind kind) ALWAYS_INLINE {
165 return AllocValgrind(bytes, kind);
175 ArenaAllocatorStats::RecordAlloc(bytes, kind);
185 void* AllocValgrind(size_t bytes, ArenaAllocKind kind);
/art/compiler/
H A Dcompiler.cc179 Compiler* Compiler::Create(CompilerDriver* driver, Compiler::Kind kind) { argument
180 switch (kind) {
/art/runtime/
H A Dvmap_table.h53 // 'kind' is unknown or constant.
54 bool IsInContext(size_t vreg, VRegKind kind, uint32_t* vmap_offset) const { argument
55 DCHECK(kind == kReferenceVReg || kind == kIntVReg || kind == kFloatVReg ||
56 kind == kLongLoVReg || kind == kLongHiVReg || kind == kDoubleLoVReg ||
57 kind == kDoubleHiVReg || kind
[all...]
H A Dtransaction.h105 FieldValueKind kind; member in struct:art::Transaction::ObjectLog::FieldValue
145 InternStringLog(mirror::String* s, StringKind kind, StringOp op) argument
146 : str_(s), string_kind_(kind), string_op_(op) {
H A Dquick_exception_handler.cc219 VRegKind kind = GetVRegKind(reg, kinds); local
220 switch (kind) {
229 reinterpret_cast<mirror::Object*>(GetVReg(m, reg, kind)));
236 new_frame->SetVReg(reg, GetVReg(m, reg, kind));
243 new_frame->SetVReg(reg, GetVReg(m, reg, kind));
251 new_frame->SetVReg(reg, GetVReg(m, reg, kind));
258 new_frame->SetVReg(reg, GetVReg(m, reg, kind));
262 new_frame->SetVReg(reg, GetVReg(m, reg, kind));
H A Ddebugger.h166 void SetKind(Kind kind) { argument
167 kind_ = kind;
H A Dstack_map.h97 void SetRegisterInfo(uint16_t register_index, LocationKind kind, int32_t value) { argument
99 region_.Store<LocationKind>(entry, kind);
H A Dstack.cc145 bool StackVisitor::GetVReg(mirror::ArtMethod* m, uint16_t vreg, VRegKind kind, argument
156 if (vmap_table.IsInContext(vreg, kind, &vmap_offset)) {
157 bool is_float = (kind == kFloatVReg) || (kind == kDoubleLoVReg) || (kind == kDoubleHiVReg);
159 uint32_t reg = vmap_table.ComputeRegister(spill_mask, vmap_offset, kind);
167 bool wide_lo = (kind == kLongLoVReg) || (kind == kDoubleLoVReg);
168 bool wide_hi = (kind == kLongHiVReg) || (kind
246 SetVReg(mirror::ArtMethod* m, uint16_t vreg, uint32_t new_value, VRegKind kind) argument
[all...]
H A Druntime.cc1036 int32_t Runtime::GetStat(int kind) { argument
1038 if (kind < (1<<16)) {
1042 kind >>= 16;
1044 switch (kind) {
1066 LOG(FATAL) << "Unknown statistic " << kind;
H A Dstack.h43 // The kind of vreg being accessed in calls to Set/GetVReg.
564 bool GetVReg(mirror::ArtMethod* m, uint16_t vreg, VRegKind kind, uint32_t* val) const
567 uint32_t GetVReg(mirror::ArtMethod* m, uint16_t vreg, VRegKind kind) const
570 bool success = GetVReg(m, vreg, kind, &val);
571 CHECK(success) << "Failed to read vreg " << vreg << " of kind " << kind; local
584 << " of kind [" << kind_lo << "," << kind_hi << "]";
588 bool SetVReg(mirror::ArtMethod* m, uint16_t vreg, uint32_t new_value, VRegKind kind)
H A Dthread.cc1303 IndirectRefKind kind = GetIndirectRefKind(ref); local
1306 if (kind == kLocal) {
1310 } else if (kind == kHandleScopeOrInvalid) {
1320 } else if (kind == kGlobal) {
1324 DCHECK_EQ(kind, kWeakGlobal);
1333 JniAbortF(nullptr, "use of deleted %s %p", ToStr<IndirectRefKind>(kind).c_str(), obj);
/art/compiler/dex/quick/arm/
H A Dassemble_arm.cc1090 ArmEncodingKind kind = encoder->field_loc[i].kind; local
1091 if (LIKELY(kind == kFmtBitBlt)) {
1096 switch (encoder->field_loc[i].kind) {
1187 LOG(FATAL) << "Bad fmt:" << encoder->field_loc[i].kind;
1402 // This won't change again, don't bother unlinking, just reset fixup kind
1419 // Fixup kind remains the same.
H A Darm_lir.h557 // Instruction assembly field_loc kind.
581 ArmEncodingKind kind; member in struct:art::ArmEncodingMap::__anon9
/art/compiler/dex/quick/arm64/
H A Dassemble_arm64.cc669 ArmEncodingKind kind = encoder->field_loc[i].kind; local
673 if (LIKELY(static_cast<unsigned>(kind) <= kFmtBitBlt)) {
676 if (static_cast<unsigned>(kind) < kFmtBitBlt) {
681 // format in `kind'.
686 switch (kind) {
715 << " (" << kind << ")";
719 // want_var_size == true means kind == kFmtReg{R,F}. In these two cases, we want
771 switch (kind) {
780 DCHECK_EQ((operand & (1 << 6)) == 0, kind
[all...]
H A Dutility_arm64.cc624 ArmEncodingKind kind = EncodingMap[opcode].field_loc[2].kind; local
625 if (kind == kFmtShift) {
658 ArmEncodingKind kind = EncodingMap[opcode].field_loc[2].kind; local
659 if (kind == kFmtExtend) {
994 LOG(FATAL) << "Bad op-kind in OpRegImm: " << op;
H A Darm64_lir.h399 // Instruction assembly field_loc kind.
427 ArmEncodingKind kind; member in struct:art::ArmEncodingMap::__anon11
448 uint8_t kind;
/art/compiler/optimizing/
H A Dstack_map_stream.h60 DexRegisterMap::LocationKind kind; member in struct:art::StackMapStream::DexRegisterEntry
91 void AddDexRegisterEntry(DexRegisterMap::LocationKind kind, int32_t value) { argument
93 entry.kind = kind;
175 dex_register_map.SetRegisterInfo(i, register_entry.kind, register_entry.value);
/art/runtime/native/
H A Ddalvik_system_VMDebug.cc70 static jint VMDebug_getAllocCount(JNIEnv*, jclass, jint kind) { argument
71 return Runtime::Current()->GetStat(kind);
/art/compiler/dex/quick/mips/
H A Dmips_lir.h480 kMipsSync, // sync kind [000000] [0000000000000000] s[10..6] [001111].
485 // Instruction assembly field_loc kind.
498 MipsEncodingKind kind; member in struct:art::MipsEncodingMap::__anon14
/art/oatdump/
H A Doatdump.cc694 const DexFile::CodeItem* code_item, size_t reg, VRegKind kind) {
699 if (vmap_table.IsInContext(reg, kind, &vmap_offset)) {
700 bool is_float = (kind == kFloatVReg) || (kind == kDoubleLoVReg) || (kind == kDoubleHiVReg);
703 os << (is_float ? "fr" : "r") << vmap_table.ComputeRegister(spill_mask, vmap_offset, kind);
853 VRegKind kind = static_cast<VRegKind>(kinds.at(reg * 2)); local
854 if (kind != kUndefined) {
862 switch (kind) {
865 DescribeVReg(os, oat_method, code_item, reg, kind);
693 DescribeVReg(std::ostream& os, const OatFile::OatMethod& oat_method, const DexFile::CodeItem* code_item, size_t reg, VRegKind kind) argument
[all...]

Completed in 4186 milliseconds

12