/external/llvm/include/llvm/DebugInfo/CodeView/ |
TypeTableBuilder.h | 14 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 40 TypeIndex writeModifier(const ModifierRecord &Record); 41 TypeIndex writeProcedure(const ProcedureRecord &Record); 42 TypeIndex writeMemberFunction(const MemberFunctionRecord &Record); 43 TypeIndex writeArgList(const ArgListRecord &Record); 44 TypeIndex writePointer(const PointerRecord &Record); 45 TypeIndex writeArray(const ArrayRecord &Record); 46 TypeIndex writeClass(const ClassRecord &Record); 47 TypeIndex writeUnion(const UnionRecord &Record); 48 TypeIndex writeEnum(const EnumRecord &Record) [all...] |
TypeIndex.h | 1 //===- TypeIndex.h ----------------------------------------------*- C++ -*-===// 89 class TypeIndex { 96 TypeIndex() : Index(0) {} 97 explicit TypeIndex(uint32_t Index) : Index(Index) {} 98 explicit TypeIndex(SimpleTypeKind Kind) 100 TypeIndex(SimpleTypeKind Kind, SimpleTypeMode Mode) 118 static TypeIndex None() { return TypeIndex(SimpleTypeKind::None); } 119 static TypeIndex Void() { return TypeIndex(SimpleTypeKind::Void); [all...] |
TypeRecord.h | 18 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 78 MemberPointerInfo(TypeIndex ContainingType, 84 bool remapTypeIndices(ArrayRef<TypeIndex> IndexMap); 88 TypeIndex getContainingType() const { return ContainingType; } 95 TypeIndex ClassType; 99 TypeIndex ContainingType; 117 ModifierRecord(TypeIndex ModifiedType, ModifierOptions Modifiers) 123 bool remapTypeIndices(ArrayRef<TypeIndex> IndexMap); 128 TypeIndex getModifiedType() const { return ModifiedType; } 133 TypeIndex ModifiedType [all...] |
MemoryTypeTableBuilder.h | 28 uint32_t Index = TypeIndex::FirstNonSimpleIndex; 31 Func(TypeIndex(Index), R); 37 TypeIndex writeRecord(llvm::StringRef Data) override; 42 DenseMap<StringRef, TypeIndex> HashedRecords;
|
TypeSymbolEmitter.h | 14 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 33 virtual void writeUserDefinedType(TypeIndex TI, StringRef Name) = 0;
|
MethodListRecordBuilder.h | 29 TypeIndex Type, int32_t VTableSlotOffset);
|
FieldListRecordBuilder.h | 24 TypeIndex Type, int32_t VTableSlotOffset) 31 TypeIndex getType() const { return Type; } 38 TypeIndex Type;
|
ListRecordBuilder.h | 41 TypeIndex writeListRecord(TypeTableBuilder &Table);
|
TypeDumper.h | 15 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 30 StringRef getTypeName(TypeIndex TI); 31 void printTypeIndex(StringRef FieldName, TypeIndex TI);
|
/art/runtime/ |
dex_file_types.h | 61 class TypeIndex { 65 constexpr TypeIndex() : index_(std::numeric_limits<decltype(index_)>::max()) {} 66 explicit constexpr TypeIndex(uint16_t idx) : index_(idx) {} 71 static TypeIndex Invalid() { 72 return TypeIndex(std::numeric_limits<decltype(index_)>::max()); 75 bool operator==(const TypeIndex& other) const { 78 bool operator!=(const TypeIndex& other) const { 81 bool operator<(const TypeIndex& other) const { 84 bool operator<=(const TypeIndex& other) const { 87 bool operator>(const TypeIndex& other) const [all...] |
dex_cache_resolved_classes.h | 47 bool AddClass(dex::TypeIndex index) const { 68 const std::unordered_set<dex::TypeIndex>& GetClasses() const { 77 mutable std::unordered_set<dex::TypeIndex> classes_;
|
dex_file_verifier.h | 80 dex::TypeIndex class_type_index, 85 dex::TypeIndex class_type_index, 94 dex::TypeIndex* class_type_index, 109 dex::TypeIndex* class_type_index, 117 dex::TypeIndex* class_type_index, 135 dex::TypeIndex FindFirstClassDataDefiner(const uint8_t* ptr, bool* success); 136 dex::TypeIndex FindFirstAnnotationsDirectoryDefiner(const uint8_t* ptr, bool* success); 157 const char* CheckLoadStringByTypeIdx(dex::TypeIndex type_idx, const char* error_fmt); 176 dex::TypeIndex* class_type_index,
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
CodeViewDebug.h | 24 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 124 codeview::TypeIndex getFuncIdForSubprogram(const DISubprogram *SP); 146 DenseMap<std::pair<const DINode *, const DIType *>, codeview::TypeIndex> 151 DenseMap<const DICompositeType *, codeview::TypeIndex> CompleteTypeIndices; 160 codeview::TypeIndex VBPType; 166 std::vector<std::pair<std::string, codeview::TypeIndex>> LocalUDTs, 199 ArrayRef<std::pair<std::string, codeview::TypeIndex>> UDTs); 231 codeview::TypeIndex getTypeIndex(DITypeRef TypeRef, 234 codeview::TypeIndex getMemberFunctionType(const DISubprogram *SP, 237 codeview::TypeIndex getScopeIndex(const DIScope *Scope) [all...] |
CodeViewDebug.cpp | 23 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 197 TypeIndex CodeViewDebug::getScopeIndex(const DIScope *Scope) { 200 return TypeIndex(); 211 TypeIndex TI = 212 TypeTable.writeStringId(StringIdRecord(TypeIndex(), ScopeName)); 216 TypeIndex CodeViewDebug::getFuncIdForSubprogram(const DISubprogram *SP) { 220 return TypeIndex::None(); 232 TypeIndex TI; 237 TypeIndex ClassType = getTypeIndex(Class); 243 TypeIndex ParentScope = getScopeIndex(Scope) [all...] |
/art/compiler/utils/ |
type_reference.h | 32 TypeReference(const DexFile* file, dex::TypeIndex index) : dex_file(file), type_index(index) { } 35 dex::TypeIndex type_index;
|
/external/llvm/lib/DebugInfo/CodeView/ |
TypeTableBuilder.cpp | 13 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 24 TypeIndex TypeTableBuilder::writeModifier(const ModifierRecord &Record) { 33 TypeIndex TypeTableBuilder::writeProcedure(const ProcedureRecord &Record) { 45 TypeIndex 61 TypeIndex TypeTableBuilder::writeArgList(const ArgListRecord &Record) { 65 for (TypeIndex TI : Record.getIndices()) { 72 TypeIndex TypeTableBuilder::writePointer(const PointerRecord &Record) { 93 TypeIndex TypeTableBuilder::writeArray(const ArrayRecord &Record) { 104 TypeIndex TypeTableBuilder::writeClass(const ClassRecord &Record) { 131 TypeIndex TypeTableBuilder::writeUnion(const UnionRecord &Record) [all...] |
MemoryTypeTableBuilder.cpp | 11 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 16 TypeIndex MemoryTypeTableBuilder::writeRecord(StringRef Data) { 37 TypeIndex TI(static_cast<uint32_t>(Records.size()) + 38 TypeIndex::FirstNonSimpleIndex);
|
TypeRecord.cpp | 11 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 27 TypeIndex T = L->ClassType; 40 TypeIndex M = L->ModifiedType; 79 ArrayRef<TypeIndex> Indices; 246 ArrayRef<TypeIndex> Indices; 382 static bool remapIndex(ArrayRef<TypeIndex> IndexMap, TypeIndex &Idx) { 386 unsigned MapPos = Idx.getIndex() - TypeIndex::FirstNonSimpleIndex; 394 Idx = TypeIndex(SimpleTypeKind::NotTranslated, SimpleTypeMode::Direct); 398 bool ModifierRecord::remapTypeIndices(ArrayRef<TypeIndex> IndexMap) [all...] |
MethodListRecordBuilder.cpp | 20 MethodOptions Options, TypeIndex Type,
|
/art/compiler/optimizing/ |
ssa_liveness_analysis_test.cc | 72 graph_->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimInt); 92 graph_->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimNot); 94 graph_->GetDexFile(), dex::TypeIndex(1), 1, Primitive::kPrimInt); 96 graph_->GetDexFile(), dex::TypeIndex(2), 2, Primitive::kPrimInt); 98 graph_->GetDexFile(), dex::TypeIndex(3), 3, Primitive::kPrimInt); 100 graph_->GetDexFile(), dex::TypeIndex(4), 4, Primitive::kPrimNot); 162 graph_->GetDexFile(), dex::TypeIndex(0), 0, Primitive::kPrimNot); 164 graph_->GetDexFile(), dex::TypeIndex(1), 1, Primitive::kPrimInt); 166 graph_->GetDexFile(), dex::TypeIndex(2), 2, Primitive::kPrimInt); 168 graph_->GetDexFile(), dex::TypeIndex(3), 3, Primitive::kPrimInt) [all...] |
instruction_builder.h | 113 bool NeedsAccessCheck(dex::TypeIndex type_index, /*out*/bool* finalizable) const 197 dex::TypeIndex type_index, 226 dex::TypeIndex type_index, 235 HLoadClass* BuildLoadClass(dex::TypeIndex type_index, uint32_t dex_pc); 237 HLoadClass* BuildLoadClass(dex::TypeIndex type_index, 251 bool IsOutermostCompilingClass(dex::TypeIndex type_index) const; 290 bool BuildNewInstance(dex::TypeIndex type_index, uint32_t dex_pc); 304 ObjPtr<mirror::Class> LookupResolvedType(dex::TypeIndex type_index,
|
/device/linaro/bootloader/edk2/MdeModulePkg/Application/MemoryProfileInfo/ |
MemoryProfileInfo.c | 298 UINTN TypeIndex;
318 for (TypeIndex = 0; TypeIndex < sizeof (DriverInfo->CurrentUsageByType) / sizeof (DriverInfo->CurrentUsageByType[0]); TypeIndex++) {
319 if ((DriverInfo->CurrentUsageByType[TypeIndex] != 0) ||
320 (DriverInfo->PeakUsageByType[TypeIndex] != 0)) {
321 Print (L" CurrentUsage[0x%02x] - 0x%016lx (%s)\n", TypeIndex, DriverInfo->CurrentUsageByType[TypeIndex], mMemoryTypeString[TypeIndex]);
322 Print (L" PeakUsage[0x%02x] - 0x%016lx (%s)\n", TypeIndex, DriverInfo->PeakUsageByType[TypeIndex], mMemoryTypeString[TypeIndex]); [all...] |
/art/runtime/jit/ |
profile_compilation_info.h | 41 ProfileClassReference(const DexFile* dex, const dex::TypeIndex index) 45 dex::TypeIndex type_index; 120 ClassReference(uint8_t dex_profile_idx, const dex::TypeIndex type_idx) : 133 dex::TypeIndex type_index; // the type index of the class 147 void AddClass(uint16_t dex_profile_idx, const dex::TypeIndex& type_idx); 231 bool ContainsClass(const DexFile& dex_file, dex::TypeIndex type_idx) const; 254 /*out*/std::set<dex::TypeIndex>* class_set, 312 class_set(std::less<dex::TypeIndex>(), arena->Adapter(kArenaAllocProfile)) {} 326 ArenaSet<dex::TypeIndex> class_set; 355 bool AddClassIndex(const std::string& dex_location, uint32_t checksum, dex::TypeIndex type_idx) [all...] |
/art/runtime/entrypoints/quick/ |
quick_dexcache_entrypoints.cc | 75 ResolveVerifyAndClinit(dex::TypeIndex(type_idx), caller, self, true, false); 89 ResolveVerifyAndClinit(dex::TypeIndex(type_idx), caller, self, false, false); 104 ResolveVerifyAndClinit(dex::TypeIndex(type_idx), caller, self, false, true);
|
/art/runtime/verifier/ |
verifier_deps.h | 70 dex::TypeIndex type_idx, 77 dex::TypeIndex type_idx, 122 const std::vector<dex::TypeIndex>& GetUnverifiedClasses(const DexFile& dex_file) const { 129 using ClassResolutionBase = std::tuple<dex::TypeIndex, uint16_t>; 133 ClassResolution(dex::TypeIndex type_idx, uint16_t access_flags) 137 dex::TypeIndex GetDexTypeIndex() const { return std::get<0>(*this); } 200 std::vector<dex::TypeIndex> unverified_classes_; 256 dex::TypeIndex type_idx,
|