/freebsd/contrib/llvm-project/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 | 463 static void resolveTypeIndexReferences(ArrayRef<uint8_t> RecordData, in resolveTypeIndexReferences() 471 RecordData = RecordData.drop_front(sizeof(RecordPrefix)); in resolveTypeIndexReferences() 473 BinaryStreamReader Reader(RecordData, llvm::endianness::little); in resolveTypeIndexReferences() 484 return discoverTypeIndices(Type.RecordData, Indices); in discoverTypeIndices() 487 void llvm::codeview::discoverTypeIndices(ArrayRef<uint8_t> RecordData, in discoverTypeIndices() 490 discoverTypeIndices(RecordData, Refs); in discoverTypeIndices() 491 resolveTypeIndexReferences(RecordData, Refs, Indices); in discoverTypeIndices() 494 void llvm::codeview::discoverTypeIndices(ArrayRef<uint8_t> RecordData, in discoverTypeIndices() 497 reinterpret_cast<const RecordPrefix *>(RecordData in discoverTypeIndices() 462 resolveTypeIndexReferences(ArrayRef<uint8_t> RecordData,ArrayRef<TiReference> Refs,SmallVectorImpl<TypeIndex> & Indices) resolveTypeIndexReferences() argument 486 discoverTypeIndices(ArrayRef<uint8_t> RecordData,SmallVectorImpl<TypeIndex> & Indices) discoverTypeIndices() argument 493 discoverTypeIndices(ArrayRef<uint8_t> RecordData,SmallVectorImpl<TiReference> & Refs) discoverTypeIndices() argument 508 discoverTypeIndicesInSymbol(ArrayRef<uint8_t> RecordData,SmallVectorImpl<TiReference> & Refs) discoverTypeIndicesInSymbol() argument 517 discoverTypeIndicesInSymbol(ArrayRef<uint8_t> RecordData,SmallVectorImpl<TypeIndex> & Indices) discoverTypeIndicesInSymbol() argument [all...] |
H A D | MergingTypeTableBuilder.cpp | 95 ArrayRef<uint8_t> RecordData = stabilize(RecordStorage, Record); in insertRecordAs() local 96 Result.first->first.RecordData = RecordData; in insertRecordAs() 97 SeenRecords.push_back(RecordData); in insertRecordAs() 117 TI = insertRecordBytes(C.RecordData); in insertRecord() 141 Result.first->first.RecordData = Record; in replaceType()
|
H A D | TypeStreamMerger.cpp | 362 unsigned AlignedSize = alignTo(Type.RecordData.size(), 4); in remapType() 390 unsigned Align = OriginalType.RecordData.size() & 3; in remapIndices() 391 assert(Storage.size() == alignTo(OriginalType.RecordData.size(), 4) && in remapIndices() 396 discoverTypeIndices(OriginalType.RecordData, Refs); in remapIndices() 398 return OriginalType.RecordData; in remapIndices() 400 ::memcpy(Storage.data(), OriginalType.RecordData.data(), in remapIndices() 401 OriginalType.RecordData.size()); in remapIndices() 423 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 | 54 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 | 104 TI = insertRecordBytes(C.RecordData); in insertRecord()
|
/freebsd/contrib/llvm-project/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 | 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 /// that RecordData might reference, indexable by TypeIndex. 106 static GloballyHashedType hashType(ArrayRef<uint8_t> RecordData, 113 /// that RecordData might reference, indexable by TypeIndex. 117 return hashType(Type.RecordData, PreviousTypes, PreviousIds); in hashType() 172 Hashes.push_back(hashType(Type.RecordData, Hashes, Hashes)); in hashTypeCollection() 199 return LHS.RecordData == RHS.RecordData; [all...] |
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 | SymbolDeserializer.h | 26 MappingInfo(ArrayRef<uint8_t> RecordData, CodeViewContainer Container) in MappingInfo() 27 : Stream(RecordData, llvm::endianness::little), Reader(Stream), in MappingInfo()
|
H A D | TypeDeserializer.h | 30 explicit MappingInfo(ArrayRef<uint8_t> RecordData) in MappingInfo() 31 : Stream(RecordData, llvm::endianness::little), Reader(Stream), in MappingInfo()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | SerializedDiagnosticPrinter.cpp | 50 typedef SmallVector<uint64_t, 64> RecordData; typedef 121 std::error_code adjustSourceLocFilename(RecordData &Record, 124 void adjustAbbrevID(RecordData &Record, AbbrevLookup &Lookup, 127 void writeRecordWithAbbrev(unsigned ID, RecordData &Record); 129 void writeRecordWithBlob(unsigned ID, RecordData &Record, StringRef Blob); 265 RecordData Record; 383 RecordData::value_type Record[] = {RECORD_FILENAME, entry, 0 /* For legacy */, in getEmitFile() 430 RecordData &Record = State->Record; in EmitBlockInfoBlock() 519 RecordData::value_type Record[] = {RECORD_VERSION, VersionNumber}; in EmitMetaBlock() 531 RecordData::value_type Record[] = {RECORD_CATEGORY, category, catName.size()}; in getEmitCategory() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | ASTReader.h | 380 using RecordData = SmallVector<uint64_t, 64>; variable 1391 void ParseLineTable(ModuleFile &F, const RecordData &Record); 1394 ASTReadResult ReadModuleMapFileBlock(RecordData &Record, ModuleFile &F, 1399 static bool ParseLanguageOptions(const RecordData &Record, bool Complain, 1402 static bool ParseTargetOptions(const RecordData &Record, bool Complain, 1405 static bool ParseDiagnosticOptions(const RecordData &Record, bool Complain, 1407 static bool ParseFileSystemOptions(const RecordData &Record, bool Complain, 1409 static bool ParseHeaderSearchOptions(const RecordData &Record, bool Complain, 1411 static bool ParseHeaderSearchPaths(const RecordData &Record, bool Complain, 1413 static bool ParsePreprocessorOptions(const RecordData &Record, bool Complain, [all …]
|
H A D | ASTRecordReader.h | 40 ASTReader::RecordData Record; 42 using RecordData = ASTReader::RecordData; variable
|
H A D | ASTWriter.h | 94 using RecordData = SmallVector<uint64_t, 64>; variable 438 RecordData EagerlyDeserializedDecls; 439 RecordData ModularCodegenDecls;
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 275 ASTWriter::RecordData Record; 845 RecordData Record; in WriteBlockInfoBlock() 1274 RecordData Record; in writeUnhashedControlBlock() 1376 RecordData::value_type Record[] = {HEADER_SEARCH_ENTRY_USAGE, in writeUnhashedControlBlock() 1389 RecordData::value_type Record[] = {VFS_USAGE, VFSUsage.size()}; in writeUnhashedControlBlock() 1404 RecordData Record; in WriteControlBlock() 1423 RecordData::value_type Record[] = {METADATA, in WriteControlBlock() 1442 RecordData::value_type Record[] = {MODULE_NAME}; in WriteControlBlock() 1473 RecordData::value_type Record[] = {MODULE_DIRECTORY}; in WriteControlBlock() 1830 RecordData::value_type Record[] = { in WriteInputFiles() [all …]
|
H A D | ASTReader.cpp | 1280 RecordData Record; in ReadLexicalDeclContextStorage() 1329 RecordData Record; in ReadVisibleDeclContextStorage() 1404 void ASTReader::ParseLineTable(ModuleFile &F, const RecordData &Record) { in ParseLineTable() 1463 RecordData Record; in ReadSourceManagerBlock() 1521 RecordData Record; in readSLocOffset() 1590 RecordData Record; in ReadSLocEntry() 1659 RecordData Record; in ReadSLocEntry() 1887 RecordData Record; in ReadMacroRecord() 2167 RecordData Record; in ReadDefinedMacros() 2326 RecordData Record; in resolvePendingMacro() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
H A D | GSIStreamBuilder.h | 30 return Item.RecordData.size(); 33 return Item.RecordData;
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | GSIStreamBuilder.cpp | 80 return xxh3_64bits(Val.RecordData); in getHashValue() 83 return LHS.RecordData == RHS.RecordData; in isEqual()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | llvm-pdbutil.cpp | 866 TpiBuilder.addTypeRecord(Type.RecordData, std::nullopt); in yamlToPdb() 874 IpiBuilder.addTypeRecord(Type.RecordData, std::nullopt); in yamlToPdb() 1354 DestTpi.addTypeRecord(Type.RecordData, std::nullopt); in mergePdbs() 1357 DestIpi.addTypeRecord(Type.RecordData, std::nullopt); in mergePdbs()
|
H A D | MinimalTypeDumper.cpp | 267 P.formatBinary("Bytes", Record.RecordData, 0); in visitTypeEnd()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
H A D | PdbUtil.cpp | 769 var_id.offset + sym.RecordData.size()); in GetVariableLocationInfo() 903 loc_specifier_id.offset + loc_specifier_cvs.RecordData.size()); in GetVariableLocationInfo()
|