| /llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/ |
| H A D | TypeHashing.cpp | 28 LocallyHashedType LocallyHashedType::hashType(ArrayRef<uint8_t> RecordData) { in hashType() argument 29 return {llvm::hash_value(RecordData), RecordData}; in hashType() 33 GloballyHashedType::hashType(ArrayRef<uint8_t> RecordData, in hashType() argument 37 discoverTypeIndices(RecordData, Refs); in hashType() 41 S.update(RecordData.take_front(sizeof(RecordPrefix))); in hashType() 42 RecordData = RecordData.drop_front(sizeof(RecordPrefix)); in hashType() 46 ArrayRef<uint8_t> PreData = RecordData.slice(Off, PreLen); in hashType() 50 auto RefData = RecordData.slice(Ref.Offset, Ref.Count * sizeof(TypeIndex)); in hashType() 76 auto TrailingBytes = RecordData.drop_front(Off); in hashType()
|
| H A D | TypeIndexDiscovery.cpp | 462 static void resolveTypeIndexReferences(ArrayRef<uint8_t> RecordData, in resolveTypeIndexReferences() argument 470 RecordData = RecordData.drop_front(sizeof(RecordPrefix)); in resolveTypeIndexReferences() 472 BinaryStreamReader Reader(RecordData, support::little); in resolveTypeIndexReferences() 483 return discoverTypeIndices(Type.RecordData, Indices); in discoverTypeIndices() 486 void llvm::codeview::discoverTypeIndices(ArrayRef<uint8_t> RecordData, in discoverTypeIndices() argument 489 discoverTypeIndices(RecordData, Refs); in discoverTypeIndices() 490 resolveTypeIndexReferences(RecordData, Refs, Indices); in discoverTypeIndices() 496 reinterpret_cast<const RecordPrefix *>(RecordData.data()); in discoverTypeIndices() 510 reinterpret_cast<const RecordPrefix *>(RecordData.data()); in discoverTypeIndicesInSymbol() 519 if (!discoverTypeIndicesInSymbol(RecordData, Refs)) in discoverTypeIndicesInSymbol() [all …]
|
| H A D | MergingTypeTableBuilder.cpp | 96 ArrayRef<uint8_t> RecordData = stabilize(RecordStorage, Record); in insertRecordAs() local 97 Result.first->first.RecordData = RecordData; in insertRecordAs() 98 SeenRecords.push_back(RecordData); in insertRecordAs() 118 TI = insertRecordBytes(C.RecordData); in insertRecord() 142 Result.first->first.RecordData = Record; in replaceType()
|
| H A D | TypeStreamMerger.cpp | 363 unsigned AlignedSize = alignTo(Type.RecordData.size(), 4); in remapType() 391 unsigned Align = OriginalType.RecordData.size() & 3; in remapIndices() 392 assert(Storage.size() == alignTo(OriginalType.RecordData.size(), 4) && in remapIndices() 397 discoverTypeIndices(OriginalType.RecordData, Refs); in remapIndices() 399 return OriginalType.RecordData; in remapIndices() 401 ::memcpy(Storage.data(), OriginalType.RecordData.data(), in remapIndices() 402 OriginalType.RecordData.size()); in remapIndices() 424 DestContent = Storage.data() + OriginalType.RecordData.size(); in remapIndices()
|
| H A D | DebugSymbolsSubsection.cpp | 25 if (auto EC = Writer.writeBytes(Record.RecordData)) in commit()
|
| H A D | SymbolSerializer.cpp | 55 Record.RecordData = ArrayRef<uint8_t>(StableStorage, RecordEnd); in visitSymbolEnd()
|
| H A D | AppendingTypeTableBuilder.cpp | 91 TI = insertRecordBytes(C.RecordData); in insertRecord()
|
| H A D | SymbolRecordHelpers.cpp | 91 EndOffset += Closer.RecordData.size(); in limitSymbolArrayToScope()
|
| H A D | GlobalTypeTableBuilder.cpp | 105 TI = insertRecordBytes(C.RecordData); in insertRecord()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | CVRecord.h | 33 CVRecord(ArrayRef<uint8_t> Data) : RecordData(Data) {} in CVRecord() 36 : RecordData(reinterpret_cast<const uint8_t *>(P), Size) {} in CVRecord() 40 uint32_t length() const { return RecordData.size(); } in length() 43 if (RecordData.size() < sizeof(RecordPrefix)) in kind() 46 reinterpret_cast<const RecordPrefix *>(RecordData.data())->RecordKind)); in kind() 49 ArrayRef<uint8_t> data() const { return RecordData; } in data() 52 return StringRef(reinterpret_cast<const char *>(RecordData.data()), in str_data() 53 RecordData.size()); in str_data() 57 return RecordData.drop_front(sizeof(RecordPrefix)); in content() 60 ArrayRef<uint8_t> RecordData; variable
|
| H A D | TypeIndexDiscovery.h | 26 void discoverTypeIndices(ArrayRef<uint8_t> RecordData, 32 void discoverTypeIndices(ArrayRef<uint8_t> RecordData, 39 bool discoverTypeIndicesInSymbol(ArrayRef<uint8_t> RecordData, 41 bool discoverTypeIndicesInSymbol(ArrayRef<uint8_t> RecordData,
|
| H A D | TypeHashing.h | 36 ArrayRef<uint8_t> RecordData; member 39 static LocallyHashedType hashType(ArrayRef<uint8_t> RecordData); 56 Hashes.push_back(hashType(Type.RecordData)); in hashTypeCollection() 105 static GloballyHashedType hashType(ArrayRef<uint8_t> RecordData, 116 return hashType(Type.RecordData, PreviousTypes, PreviousIds); in hashType() 171 Hashes.push_back(hashType(Type.RecordData, Hashes, Hashes)); in hashTypeCollection() 198 return LHS.RecordData == RHS.RecordData;
|
| H A D | SymbolDeserializer.h | 26 MappingInfo(ArrayRef<uint8_t> RecordData, CodeViewContainer Container) in MappingInfo() 27 : Stream(RecordData, llvm::support::little), Reader(Stream), in MappingInfo()
|
| H A D | TypeDeserializer.h | 30 explicit MappingInfo(ArrayRef<uint8_t> RecordData) in MappingInfo() 31 : Stream(RecordData, llvm::support::little), Reader(Stream), in MappingInfo()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | SerializedDiagnosticPrinter.cpp | 52 typedef SmallVector<uint64_t, 64> RecordData; typedef 123 std::error_code adjustSourceLocFilename(RecordData &Record, 126 void adjustAbbrevID(RecordData &Record, AbbrevLookup &Lookup, 129 void writeRecordWithAbbrev(unsigned ID, RecordData &Record); 267 RecordData Record; 432 RecordData &Record = State->Record; in EmitBlockInfoBlock() 521 RecordData::value_type Record[] = {RECORD_VERSION, VersionNumber}; in EmitMetaBlock() 646 RecordData &Record = State->Record; in EmitDiagnosticMessage() 703 RecordData &Record = State->Record; in EmitCodeContext() 834 RecordData::value_type Record[] = { in visitSourceRangeRecord() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Serialization/ |
| H A D | ASTReader.h | 361 using RecordData = SmallVector<uint64_t, 64>; variable 1343 void ParseLineTable(ModuleFile &F, const RecordData &Record); 1348 ASTReadResult ReadModuleMapFileBlock(RecordData &Record, ModuleFile &F, 1356 static bool ParseTargetOptions(const RecordData &Record, bool Complain, 1895 Decl *ReadDecl(ModuleFile &F, const RecordData &R, unsigned &I) { in ReadDecl() 1905 T *ReadDeclAs(ModuleFile &F, const RecordData &R, unsigned &I) { in ReadDeclAs() 2075 IdentifierInfo *readIdentifier(ModuleFile &M, const RecordData &Record, in readIdentifier() 2197 SourceRange ReadSourceRange(ModuleFile &F, const RecordData &Record, 2201 static std::string ReadString(const RecordData &Record, unsigned &Idx); 2204 static void SkipString(const RecordData &Record, unsigned &Idx) { in SkipString() [all …]
|
| H A D | ASTRecordReader.h | 39 ASTReader::RecordData Record; 41 using RecordData = ASTReader::RecordData; variable
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 775 RecordData Record; in WriteBlockInfoBlock() 1127 RecordData Record; in writeUnhashedControlBlock() 1195 RecordData Record; in WriteControlBlock() 2027 RecordData Record; in WriteSourceManagerBlock() 2287 RecordData Record; in WritePreprocessor() 2570 RecordData Record; in WritePreprocessorDetail() 2956 RecordData Record; in WritePragmaDiagnosticMappings() 3159 RecordData Record; in WriteComments() 3406 RecordData Record; in WriteReferencedSelectorsPool() 4152 RecordData Record; in WriteOpenCLExtensions() [all …]
|
| H A D | ASTReader.cpp | 1197 RecordData Record; in ReadLexicalDeclContextStorage() 1247 RecordData Record; in ReadVisibleDeclContextStorage() 1384 RecordData Record; in ReadSourceManagerBlock() 1536 RecordData Record; in ReadSLocEntry() 1722 RecordData Record; in ReadMacroRecord() 2147 RecordData Record; in resolvePendingMacro() 2288 RecordData Record; in readInputFileInfo() 2541 RecordData Record; in ReadOptionsBlock() 2649 RecordData Record; in ReadControlBlock() 3021 RecordData Record; in ReadASTBlock() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/Native/ |
| H A D | GSIStreamBuilder.h | 30 return Item.RecordData.size(); 33 return Item.RecordData;
|
| /llvm-project-15.0.7/llvm/unittests/DebugInfo/CodeView/ |
| H A D | TypeIndexDiscoveryTest.cpp | 62 TTB->insertRecordBytes(Records.front().RecordData); in writeFieldList() 90 bool checkOneTypeReference(uint32_t RecordIndex, ArrayRef<uint8_t> RecordData, in checkOneTypeReference() argument 92 RecordData = RecordData.drop_front(sizeof(RecordPrefix)); in checkOneTypeReference() 96 ArrayRef<uint8_t> Loc = RecordData.drop_front(Offset); in checkOneTypeReference()
|
| H A D | RandomAccessVisitorTest.cpp | 46 if (R1.RecordData != R2.RecordData) in operator ==()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | GSIStreamBuilder.cpp | 79 return xxHash64(Val.RecordData); in getHashValue() 82 return LHS.RecordData == RHS.RecordData; in isEqual()
|
| /llvm-project-15.0.7/llvm/tools/llvm-pdbutil/ |
| H A D | llvm-pdbutil.cpp | 868 TpiBuilder.addTypeRecord(Type.RecordData, None); in yamlToPdb() 876 IpiBuilder.addTypeRecord(Type.RecordData, None); in yamlToPdb() 1356 DestTpi.addTypeRecord(Type.RecordData, None); in mergePdbs() 1359 DestIpi.addTypeRecord(Type.RecordData, None); in mergePdbs()
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | PdbUtil.cpp | 634 var_id.offset + sym.RecordData.size()); in GetVariableLocationInfo() 790 loc_specifier_id.offset + loc_specifier_cvs.RecordData.size()); in GetVariableLocationInfo()
|