/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | TypeIndex.h | 1 //===- TypeIndex.h ----------------------------------------------*- C++ -*-===// 95 class TypeIndex { class in llvm::codeview::SimpleTypeMode 103 TypeIndex() : Index(static_cast<uint32_t>(SimpleTypeKind::None)) {} in TypeIndex() function in llvm::codeview::SimpleTypeMode::TypeIndex 104 explicit TypeIndex(uint32_t Index) : Index(Index) {} in TypeIndex() function in llvm::codeview::SimpleTypeMode::TypeIndex 105 explicit TypeIndex(SimpleTypeKind Kind) in TypeIndex() function in llvm::codeview::SimpleTypeMode::TypeIndex 107 TypeIndex(SimpleTypeKind Kind, SimpleTypeMode Mode) in TypeIndex() function in llvm::codeview::SimpleTypeMode::TypeIndex 122 static TypeIndex fromArrayIndex(uint32_t Index) { in fromArrayIndex() 123 return TypeIndex(Index + FirstNonSimpleIndex); in fromArrayIndex() 136 TypeIndex makeDirect() const { return TypeIndex{getSimpleKin [all...] |
H A D | TypeRecord.h | 21 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 110 MemberPointerInfo(TypeIndex ContainingType, in MemberPointerInfo() 114 TypeIndex getContainingType() const { return ContainingType; } in getContainingType() 119 TypeIndex ContainingType; 139 ModifierRecord(TypeIndex ModifiedType, ModifierOptions Modifiers) in ModifierRecord() 143 TypeIndex getModifiedType() const { return ModifiedType; } in getModifiedType() 146 TypeIndex ModifiedType; 155 ProcedureRecord(TypeIndex ReturnType, CallingConvention CallConv, in ProcedureRecord() 157 TypeIndex ArgumentList) in ProcedureRecord() 162 TypeIndex getReturnTyp [all...] |
H A D | LazyRandomTypeCollection.h | 16 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 32 /// a symbol record one of the fields may be the TypeIndex of the symbol's 34 /// be a TypeIndex for the element type. Sequential access is perfect when 71 uint32_t getOffsetOfType(TypeIndex Index); 73 Optional<CVType> tryGetType(TypeIndex Index); 75 CVType getType(TypeIndex Index) override; 76 StringRef getTypeName(TypeIndex Index) override; 77 bool contains(TypeIndex Index) override; 80 Optional<TypeIndex> getFirst() override; 81 Optional<TypeIndex> getNex [all...] |
H A D | MergingTypeTableBuilder.h | 19 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 41 DenseMap<LocallyHashedType, TypeIndex> HashedRecords; 43 /// Contains a list of all records indexed by TypeIndex.toArrayIndex(). 51 Optional<TypeIndex> getFirst() override; 52 Optional<TypeIndex> getNext(TypeIndex Prev) override; 53 CVType getType(TypeIndex Index) override; 54 StringRef getTypeName(TypeIndex Index) override; 55 bool contains(TypeIndex Index) override; 61 TypeIndex nextTypeInde [all...] |
H A D | GlobalTypeTableBuilder.h | 19 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 41 DenseMap<GloballyHashedType, TypeIndex> HashedRecords; 43 /// Contains a list of all records indexed by TypeIndex.toArrayIndex(). 46 /// Contains a list of all hash values indexed by TypeIndex.toArrayIndex(). 54 Optional<TypeIndex> getFirst() override; 55 Optional<TypeIndex> getNext(TypeIndex Prev) override; 56 CVType getType(TypeIndex Index) override; 57 StringRef getTypeName(TypeIndex Index) override; 58 bool contains(TypeIndex Inde [all...] |
H A D | AppendingTypeTableBuilder.h | 17 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 34 /// Contains a list of all records indexed by TypeIndex.toArrayIndex(). 42 Optional<TypeIndex> getFirst() override; 43 Optional<TypeIndex> getNext(TypeIndex Prev) override; 44 CVType getType(TypeIndex Index) override; 45 StringRef getTypeName(TypeIndex Index) override; 46 bool contains(TypeIndex Index) override; 52 TypeIndex nextTypeIndex() const; 57 TypeIndex insertRecordByte [all...] |
H A D | TypeStreamMerger.h | 20 class TypeIndex; 30 /// \param SourceToDest A vector, indexed by the TypeIndex in the source 39 SmallVectorImpl<TypeIndex> &SourceToDest, 55 /// \param SourceToDest A vector, indexed by the TypeIndex in the source 63 Error mergeIdRecords(MergingTypeTableBuilder &Dest, ArrayRef<TypeIndex> Types, 64 SmallVectorImpl<TypeIndex> &SourceToDest, 74 /// \param SourceToDest A vector, indexed by the TypeIndex in the source 84 SmallVectorImpl<TypeIndex> &SourceToDest, 90 SmallVectorImpl<TypeIndex> &SourceToDest, 96 SmallVectorImpl<TypeIndex> [all...] |
H A D | TypeCollection.h | 14 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 25 virtual Optional<TypeIndex> getFirst() = 0; 26 virtual Optional<TypeIndex> getNext(TypeIndex Prev) = 0; 28 virtual CVType getType(TypeIndex Index) = 0; 29 virtual StringRef getTypeName(TypeIndex Index) = 0; 30 virtual bool contains(TypeIndex Index) = 0; 35 Optional<TypeIndex> Next = getFirst(); in ForEachRecord() 38 TypeIndex N = *Next; in ForEachRecord()
|
H A D | TypeTableCollection.h | 24 Optional<TypeIndex> getFirst() override; 25 Optional<TypeIndex> getNext(TypeIndex Prev) override; 27 CVType getType(TypeIndex Index) override; 28 StringRef getTypeName(TypeIndex Index) override; 29 bool contains(TypeIndex Index) override;
|
H A D | TypeIndexDiscovery.h | 31 SmallVectorImpl<TypeIndex> &Indices); 33 SmallVectorImpl<TypeIndex> &Indices); 42 SmallVectorImpl<TypeIndex> &Indices);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
H A D | AppendingTypeTableBuilder.cpp | 16 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 30 TypeIndex AppendingTypeTableBuilder::nextTypeIndex() const { in nextTypeIndex() 31 return TypeIndex::fromArrayIndex(SeenRecords.size()); in nextTypeIndex() 39 Optional<TypeIndex> AppendingTypeTableBuilder::getFirst() { in getFirst() 43 return TypeIndex(TypeIndex::FirstNonSimpleIndex); in getFirst() 46 Optional<TypeIndex> AppendingTypeTableBuilder::getNext(TypeIndex Prev) { in getNext() 52 CVType AppendingTypeTableBuilder::getType(TypeIndex Index){ in getType() 56 StringRef AppendingTypeTableBuilder::getTypeName(TypeIndex Inde [all...] |
H A D | TypeStreamMerger.cpp | 15 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 24 static inline size_t slotForIndex(TypeIndex Idx) { in slotForIndex() 26 return Idx.getIndex() - TypeIndex::FirstNonSimpleIndex; in slotForIndex() 65 explicit TypeStreamMerger(SmallVectorImpl<TypeIndex> &SourceToDest) in TypeStreamMerger() 75 static const TypeIndex Untranslated; 82 ArrayRef<TypeIndex> TypeSourceToDest, 94 ArrayRef<TypeIndex> TypeSourceToDest, 108 void addMapping(TypeIndex Idx); 110 inline bool remapTypeIndex(TypeIndex &Idx) { in remapTypeIndex() 122 inline bool remapItemIndex(TypeIndex in remapTypeIndex() [all...] |
H A D | GlobalTypeTableBuilder.cpp | 16 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 30 TypeIndex GlobalTypeTableBuilder::nextTypeIndex() const { in nextTypeIndex() 31 return TypeIndex::fromArrayIndex(SeenRecords.size()); in nextTypeIndex() 41 Optional<TypeIndex> GlobalTypeTableBuilder::getFirst() { in getFirst() 45 return TypeIndex(TypeIndex::FirstNonSimpleIndex); in getFirst() 48 Optional<TypeIndex> GlobalTypeTableBuilder::getNext(TypeIndex Prev) { in getNext() 54 CVType GlobalTypeTableBuilder::getType(TypeIndex Index) { in getType() 59 StringRef GlobalTypeTableBuilder::getTypeName(TypeIndex Inde [all...] |
H A D | MergingTypeTableBuilder.cpp | 16 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 30 TypeIndex MergingTypeTableBuilder::nextTypeIndex() const { in nextTypeIndex() 31 return TypeIndex::fromArrayIndex(SeenRecords.size()); in nextTypeIndex() 41 Optional<TypeIndex> MergingTypeTableBuilder::getFirst() { in getFirst() 45 return TypeIndex(TypeIndex::FirstNonSimpleIndex); in getFirst() 48 Optional<TypeIndex> MergingTypeTableBuilder::getNext(TypeIndex Prev) { in getNext() 54 CVType MergingTypeTableBuilder::getType(TypeIndex Index) { in getType() 59 StringRef MergingTypeTableBuilder::getTypeName(TypeIndex Inde [all...] |
H A D | LazyRandomTypeCollection.cpp | 83 uint32_t LazyRandomTypeCollection::getOffsetOfType(TypeIndex Index) { in getOffsetOfType() 90 CVType LazyRandomTypeCollection::getType(TypeIndex Index) { in getType() 100 Optional<CVType> LazyRandomTypeCollection::tryGetType(TypeIndex Index) { in tryGetType() 113 StringRef LazyRandomTypeCollection::getTypeName(TypeIndex Index) { in getTypeName() 115 return TypeIndex::simpleTypeName(Index); in getTypeName() 135 bool LazyRandomTypeCollection::contains(TypeIndex Index) { in contains() 150 Error LazyRandomTypeCollection::ensureTypeExists(TypeIndex TI) { in ensureTypeExists() 157 void LazyRandomTypeCollection::ensureCapacityFor(TypeIndex Index) { in ensureCapacityFor() 170 Error LazyRandomTypeCollection::visitRangeForType(TypeIndex TI) { in visitRangeForType() 176 [](TypeIndex Valu in visitRangeForType() [all...] |
H A D | TypeTableCollection.cpp | 23 Optional<TypeIndex> TypeTableCollection::getFirst() { in getFirst() 26 return TypeIndex::fromArrayIndex(0); in getFirst() 29 Optional<TypeIndex> TypeTableCollection::getNext(TypeIndex Prev) { in getNext() 37 CVType TypeTableCollection::getType(TypeIndex Index) { in getType() 42 StringRef TypeTableCollection::getTypeName(TypeIndex Index) { in getTypeName() 44 return TypeIndex::simpleTypeName(Index); in getTypeName() 54 bool TypeTableCollection::contains(TypeIndex Index) { in contains()
|
H A D | TypeHashing.cpp | 50 auto RefData = RecordData.slice(Ref.Offset, Ref.Count * sizeof(TypeIndex)); in hashType() 53 ArrayRef<TypeIndex> Indices( in hashType() 54 reinterpret_cast<const TypeIndex *>(RefData.data()), Ref.Count); in hashType() 55 for (TypeIndex TI : Indices) { in hashType() 59 BytesToHash = makeArrayRef(IndexBytes, sizeof(TypeIndex)); in hashType() 72 Off = Ref.Offset + Ref.Count * sizeof(TypeIndex); in hashType()
|
H A D | TypeIndex.cpp | 1 //===-- TypeIndex.cpp - CodeView type index ---------------------*- C++ -*-===// 9 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 70 StringRef TypeIndex::simpleTypeName(TypeIndex TI) { in simpleTypeName() 76 if (TI == TypeIndex::NullptrT()) in simpleTypeName() 93 TypeIndex TI, TypeCollection &Types) { in printTypeIndex() 97 TypeName = TypeIndex::simpleTypeName(TI); in printTypeIndex()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
H A D | CodeViewDebug.h | 27 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 225 codeview::TypeIndex getFuncIdForSubprogram(const DISubprogram *SP); 251 DenseMap<std::pair<const DINode *, const DIType *>, codeview::TypeIndex> 256 DenseMap<const DICompositeType *, codeview::TypeIndex> CompleteTypeIndices; 265 codeview::TypeIndex VBPType; 377 codeview::TypeIndex getTypeIndex(const DIType *Ty, 380 codeview::TypeIndex 384 codeview::TypeIndex getTypeIndexForReferenceTo(const DIType *Ty); 386 codeview::TypeIndex getMemberFunctionType(const DISubprogram *SP, 389 codeview::TypeIndex getScopeInde [all...] |
H A D | CodeViewDebug.cpp | 51 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 118 std::string getTypeName(TypeIndex TI) { in getTypeName() 122 TypeName = TypeIndex::simpleTypeName(TI); in getTypeName() 355 TypeIndex CodeViewDebug::getScopeIndex(const DIScope *Scope) { in getScopeIndex() 358 return TypeIndex(); in getScopeIndex() 369 StringIdRecord SID(TypeIndex(), ScopeName); in getScopeIndex() 374 TypeIndex CodeViewDebug::getFuncIdForSubprogram(const DISubprogram *SP) { in getFuncIdForSubprogram() 387 TypeIndex TI; in getFuncIdForSubprogram() 392 TypeIndex ClassType = getTypeIndex(Class); in getFuncIdForSubprogram() 398 TypeIndex ParentScop in getFuncIdForSubprogram() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/ |
H A D | SymbolCache.h | 14 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 40 DenseMap<codeview::TypeIndex, SymIndexId> TypeIndexToSymbolId; 45 DenseMap<std::pair<codeview::TypeIndex, uint32_t>, SymIndexId> 62 SymIndexId createSymbolForType(codeview::TypeIndex TI, codeview::CVType CVT, in createSymbolForType() 75 SymIndexId createSymbolForModifiedType(codeview::TypeIndex ModifierTI, 78 SymIndexId createSimpleType(codeview::TypeIndex TI, 112 SymIndexId findSymbolByTypeIndex(codeview::TypeIndex TI); 115 SymIndexId getOrCreateFieldListMember(codeview::TypeIndex FieldListTI, in getOrCreateFieldListMember() 119 std::pair<codeview::TypeIndex, uint32_t> Key{FieldListTI, Index}; in getOrCreateFieldListMember()
|
H A D | TpiStream.h | 60 Expected<codeview::TypeIndex> 61 findFullDeclForForwardRef(codeview::TypeIndex ForwardRefTI) const; 63 std::vector<codeview::TypeIndex> findRecordsByName(StringRef Name) const; 65 codeview::CVType getType(codeview::TypeIndex Index); 90 std::vector<std::vector<codeview::TypeIndex>> HashMap;
|
H A D | NativeTypeFunctionSig.h | 30 codeview::TypeIndex TI, codeview::ProcedureRecord Proc); 33 codeview::TypeIndex TI, 57 void initializeArgList(codeview::TypeIndex ArgListTI); 65 codeview::TypeIndex Index;
|
H A D | NativeTypePointer.h | 25 codeview::TypeIndex TI); 29 codeview::TypeIndex TI, codeview::PointerRecord PR); 53 codeview::TypeIndex TI;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
H A D | TpiStream.cpp | 152 TypeIndex TIB{Header->TypeIndexBegin}; in buildHashMap() 153 TypeIndex TIE{Header->TypeIndexEnd}; in buildHashMap() 160 std::vector<TypeIndex> TpiStream::findRecordsByName(StringRef Name) const { in findRecordsByName() 168 std::vector<TypeIndex> Result; in findRecordsByName() 169 for (TypeIndex TI : HashMap[Bucket]) { in findRecordsByName() 179 Expected<TypeIndex> 180 TpiStream::findFullDeclForForwardRef(TypeIndex ForwardRefTI) const { in findFullDeclForForwardRef() 194 for (TypeIndex TI : HashMap[BucketIdx]) { in findFullDeclForForwardRef() 221 codeview::CVType TpiStream::getType(codeview::TypeIndex Index) { in getType()
|