Home
last modified time | relevance | path

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

1234

/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.cc191 bool StackVisitor::GetVReg(ArtMethod* m, uint16_t vreg, VRegKind kind, uint32_t* val) const { in GetVReg() argument
196 return GetVRegFromOptimizedCode(m, vreg, kind, val); in GetVReg()
198 return GetVRegFromQuickCode(m, vreg, kind, val); in GetVReg()
207 bool StackVisitor::GetVRegFromQuickCode(ArtMethod* m, uint16_t vreg, VRegKind kind, in GetVRegFromQuickCode() argument
215 if (vmap_table.IsInContext(vreg, kind, &vmap_offset)) { in GetVRegFromQuickCode()
216 bool is_float = (kind == kFloatVReg) || (kind == kDoubleLoVReg) || (kind == kDoubleHiVReg); in GetVRegFromQuickCode()
218 uint32_t reg = vmap_table.ComputeRegister(spill_mask, vmap_offset, kind); in GetVRegFromQuickCode()
219 return GetRegisterIfAccessible(reg, kind, val); in GetVRegFromQuickCode()
230 bool StackVisitor::GetVRegFromOptimizedCode(ArtMethod* m, uint16_t vreg, VRegKind kind, in GetVRegFromOptimizedCode() argument
257 return GetRegisterIfAccessible(reg, kind, val); in GetVRegFromOptimizedCode()
[all …]
Dstack_map.h130 static const char* PrettyDescriptor(Kind kind) { in PrettyDescriptor() argument
131 switch (kind) { in PrettyDescriptor()
151 static bool IsShortLocationKind(Kind kind) { in IsShortLocationKind() argument
152 switch (kind) { in IsShortLocationKind()
172 static Kind ConvertToSurfaceKind(Kind kind) { in ConvertToSurfaceKind() argument
173 switch (kind) { in ConvertToSurfaceKind()
179 return kind; in ConvertToSurfaceKind()
195 DexRegisterLocation(Kind kind, int32_t value) : kind_(kind), value_(value) {} in DexRegisterLocation() argument
242 DexRegisterLocation::Kind kind = ComputeCompressedKind(dex_register_location); in SetRegisterInfo() local
244 if (DexRegisterLocation::IsShortLocationKind(kind)) { in SetRegisterInfo()
[all …]
/art/runtime/base/
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 = kArenaAllocMisc) ALWAYS_INLINE {
120 return arena_stack_->Alloc(bytes, kind);
124 T* AllocArray(size_t length, ArenaAllocKind kind = kArenaAllocMisc) {
125 return static_cast<T*>(Alloc(length * sizeof(T), kind));
129 ScopedArenaAllocatorAdapter<void> Adapter(ArenaAllocKind kind = kArenaAllocSTL);
Darena_allocator.h85 void RecordAlloc(size_t bytes, ArenaAllocKind kind) { UNUSED(bytes, kind); } in RecordAlloc() argument
101 void RecordAlloc(size_t bytes, ArenaAllocKind kind);
206 ArenaAllocatorAdapter<void> Adapter(ArenaAllocKind kind = kArenaAllocSTL);
209 void* Alloc(size_t bytes, ArenaAllocKind kind = kArenaAllocMisc) ALWAYS_INLINE {
211 return AllocValgrind(bytes, kind);
221 ArenaAllocatorStats::RecordAlloc(bytes, kind);
229 ArenaAllocKind kind = kArenaAllocMisc) ALWAYS_INLINE {
240 ArenaAllocatorStats::RecordAlloc(size_delta, kind);
244 auto* new_ptr = Alloc(new_size, kind);
251 T* AllocArray(size_t length, ArenaAllocKind kind = kArenaAllocMisc) {
[all …]
Darena_containers.h69 explicit ArenaAllocatorAdapterKindImpl(ArenaAllocKind kind ATTRIBUTE_UNUSED) {} in ArenaAllocatorAdapterKindImpl()
78 explicit ArenaAllocatorAdapterKindImpl(ArenaAllocKind kind) : kind_(kind) { } in ArenaAllocatorAdapterKindImpl() argument
101 ArenaAllocKind kind = kArenaAllocSTL)
102 : ArenaAllocatorAdapterKind(kind), in ArenaAllocatorAdapterKind() argument
137 explicit ArenaAllocatorAdapter(ArenaAllocator* arena_allocator, ArenaAllocKind kind) in ArenaAllocatorAdapter() argument
138 : ArenaAllocatorAdapterKind(kind), in ArenaAllocatorAdapter()
196 inline ArenaAllocatorAdapter<void> ArenaAllocator::Adapter(ArenaAllocKind kind) { in Adapter() argument
197 return ArenaAllocatorAdapter<void>(this, kind); in Adapter()
Dscoped_arena_containers.h81 ArenaAllocKind kind = kArenaAllocSTL)
84 ArenaAllocatorAdapterKind(kind), in DebugStackReference()
124 ArenaAllocKind kind = kArenaAllocSTL)
127 ArenaAllocatorAdapterKind(kind), in DebugStackReference()
193 inline ScopedArenaAllocatorAdapter<void> ScopedArenaAllocator::Adapter(ArenaAllocKind kind) { in Adapter() argument
194 return ScopedArenaAllocatorAdapter<void>(this, kind); in Adapter()
/art/compiler/utils/
Darena_bit_vector.cc43 bool expandable, OatBitMapKind kind) in ArenaBitVector() argument
45 new (arena) ArenaBitVectorAllocator<ArenaAllocator>(arena)), kind_(kind) { in ArenaBitVector()
50 bool expandable, OatBitMapKind kind) in ArenaBitVector() argument
52 new (arena) ArenaBitVectorAllocator<ScopedArenaAllocator>(arena)), kind_(kind) { in ArenaBitVector()
Darena_bit_vector.h46 std::ostream& operator<<(std::ostream& os, const OatBitMapKind& kind);
54 OatBitMapKind kind = kBitMapMisc);
56 OatBitMapKind kind = kBitMapMisc);
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DFieldIdItem.java43 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument
44 if (kind == IndexUpdateKind.TYPE_ID && classIdx >= insertedIdx) { in incrementIndex()
47 if (kind == IndexUpdateKind.TYPE_ID && typeIdx >= insertedIdx) { in incrementIndex()
50 if (kind == IndexUpdateKind.STRING_ID && nameIdx >= insertedIdx) { in incrementIndex()
DMethodIdItem.java43 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument
44 if (kind == IndexUpdateKind.TYPE_ID && classIdx >= insertedIdx) { in incrementIndex()
47 if (kind == IndexUpdateKind.PROTO_ID && protoIdx >= insertedIdx) { in incrementIndex()
50 if (kind == IndexUpdateKind.STRING_ID && nameIdx >= insertedIdx) { in incrementIndex()
DAnnotationElement.java38 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument
39 if (kind == IndexUpdateKind.STRING_ID && nameIdx >= insertedIdx) { in incrementIndex()
42 value.incrementIndex(kind, insertedIdx); in incrementIndex()
DClassDefItem.java66 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument
67 if (kind == IndexUpdateKind.TYPE_ID && classIdx >= insertedIdx) { in incrementIndex()
70 if (kind == IndexUpdateKind.TYPE_ID && superclassIdx >= insertedIdx) { in incrementIndex()
73 if (kind == IndexUpdateKind.STRING_ID && sourceFileIdx >= insertedIdx) { in incrementIndex()
DProtoIdItem.java43 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument
44 if (kind == IndexUpdateKind.STRING_ID && shortyIdx >= insertedIdx) { in incrementIndex()
47 if (kind == IndexUpdateKind.TYPE_ID && returnTypeIdx >= insertedIdx) { in incrementIndex()
DEncodedAnnotation.java50 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument
51 if (kind == IndexUpdateKind.TYPE_ID && typeIdx >= insertedIdx) { in incrementIndex()
56 element.incrementIndex(kind, insertedIdx); in incrementIndex()
DAnnotationsDirectoryItem.java84 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument
87 fieldAnnotation.incrementIndex(kind, insertedIdx); in incrementIndex()
92 methodAnnotation.incrementIndex(kind, insertedIdx); in incrementIndex()
97 parameterAnnotation.incrementIndex(kind, insertedIdx); in incrementIndex()
DRawDexFile.java352 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument
354 typeId.incrementIndex(kind, insertedIdx); in incrementIndex()
357 protoId.incrementIndex(kind, insertedIdx); in incrementIndex()
360 fieldId.incrementIndex(kind, insertedIdx); in incrementIndex()
363 methodId.incrementIndex(kind, insertedIdx); in incrementIndex()
366 classDef.incrementIndex(kind, insertedIdx); in incrementIndex()
369 classData.incrementIndex(kind, insertedIdx); in incrementIndex()
373 typeList.incrementIndex(kind, insertedIdx); in incrementIndex()
377 codeItem.incrementIndex(kind, insertedIdx); in incrementIndex()
381 annotationsDirectoryItem.incrementIndex(kind, insertedIdx); in incrementIndex()
[all …]
DEncodedValue.java91 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument
93 encodedArray.incrementIndex(kind, insertedIdx); in incrementIndex()
95 encodedAnnotation.incrementIndex(kind, insertedIdx); in incrementIndex()
DCodeItem.java126 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument
127 if (kind == IndexUpdateKind.TYPE_ID && triesSize > 0) { in incrementIndex()
130 handlers.incrementIndex(kind, insertedIdx); in incrementIndex()
133 if (kind == IndexUpdateKind.PROTO_ID) { in incrementIndex()
150 switch (kind) { in incrementIndex()
DTypeItem.java35 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument
36 if (kind == IndexUpdateKind.TYPE_ID && typeIdx >= insertedIdx) { in incrementIndex()
DTypeIdItem.java37 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument
38 if (kind == IndexUpdateKind.STRING_ID && descriptorIdx >= insertedIdx) { in incrementIndex()
DEncodedTypeAddrPair.java38 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument
39 if (kind == IndexUpdateKind.TYPE_ID && typeIdx >= insertedIdx) { in incrementIndex()
DFieldAnnotation.java38 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument
39 if (kind == IndexUpdateKind.FIELD_ID && fieldIdx >= insertedIdx) { in incrementIndex()
DMethodAnnotation.java38 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument
39 if (kind == IndexUpdateKind.METHOD_ID && methodIdx >= insertedIdx) { in incrementIndex()
/art/compiler/dex/
Dcompiler_enums.h392 std::ostream& operator<<(std::ostream& os, const OpSize& kind);
450 std::ostream& operator<<(std::ostream& os, const MoveType& kind);
472 std::ostream& operator<<(std::ostream& os, const ConditionCode& kind);
493 std::ostream& operator<<(std::ostream& os, const ArmConditionCode& kind);
540 std::ostream& operator<<(std::ostream& os, const X86ConditionCode& kind);
573 std::ostream& operator<<(std::ostream& os, const MemBarrierKind& kind);
637 std::ostream& operator<<(std::ostream& os, const SelectInstructionKind& kind);
659 std::ostream& operator<<(std::ostream& os, const FixupKind& kind);
665 std::ostream& operator<<(std::ostream& os, const VolatileKind& kind);
672 std::ostream& operator<<(std::ostream& os, const WideKind& kind);

1234