| /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 | 94 ArrayRef<uint8_t> RecordData = stabilize(RecordStorage, Record); in insertRecordAs() local 95 Result.first->first.RecordData = RecordData; in insertRecordAs() 96 SeenRecords.push_back(RecordData); in insertRecordAs() 116 TI = insertRecordBytes(C.RecordData); in insertRecord() 140 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 | 53 Record.RecordData = ArrayRef<uint8_t>(StableStorage, RecordEnd); in visitSymbolEnd()
|
| H A D | SymbolRecordHelpers.cpp | 91 EndOffset += Closer.RecordData.size(); in limitSymbolArrayToScope()
|
| H A D | AppendingTypeTableBuilder.cpp | 90 TI = insertRecordBytes(C.RecordData); in insertRecord()
|
| H A D | GlobalTypeTableBuilder.cpp | 103 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 | 37 ArrayRef<uint8_t> RecordData; member 40 LLVM_ABI static LocallyHashedType hashType(ArrayRef<uint8_t> RecordData); 57 Hashes.push_back(hashType(Type.RecordData)); in hashTypeCollection() 108 hashType(ArrayRef<uint8_t> RecordData, 119 return hashType(Type.RecordData, PreviousTypes, PreviousIds); in hashType() 174 Hashes.push_back(hashType(Type.RecordData, Hashes, Hashes)); in hashTypeCollection() 201 return LHS.RecordData == RHS.RecordData;
|
| H A D | TypeIndexDiscovery.h | 27 LLVM_ABI void discoverTypeIndices(ArrayRef<uint8_t> RecordData, 33 LLVM_ABI void discoverTypeIndices(ArrayRef<uint8_t> RecordData, 40 LLVM_ABI bool discoverTypeIndicesInSymbol(ArrayRef<uint8_t> RecordData, 42 LLVM_ABI 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 | 47 typedef SmallVector<uint64_t, 64> RecordData; typedef 118 std::error_code adjustSourceLocFilename(RecordData &Record, 121 void adjustAbbrevID(RecordData &Record, AbbrevLookup &Lookup, 124 void writeRecordWithAbbrev(unsigned ID, RecordData &Record); 126 void writeRecordWithBlob(unsigned ID, RecordData &Record, StringRef Blob); 262 RecordData Record; 382 RecordData::value_type Record[] = {RECORD_FILENAME, entry, 0 /* For legacy */, in getEmitFile() 429 RecordData &Record = State->Record; in EmitBlockInfoBlock() 518 RecordData::value_type Record[] = {RECORD_VERSION, VersionNumber}; in EmitMetaBlock() 530 RecordData::value_type Record[] = {RECORD_CATEGORY, category, catName.size()}; in getEmitCategory() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 309 ASTWriter::RecordData Record; 882 RecordData Record; in WriteBlockInfoBlock() 1316 RecordData Record; in writeUnhashedControlBlock() 1418 RecordData::value_type Record[] = {HEADER_SEARCH_ENTRY_USAGE, in writeUnhashedControlBlock() 1431 RecordData::value_type Record[] = {VFS_USAGE, VFSUsage.size()}; in writeUnhashedControlBlock() 1448 RecordData Record; in WriteControlBlock() 1467 RecordData::value_type Record[] = {METADATA, in WriteControlBlock() 1486 RecordData::value_type Record[] = {MODULE_NAME}; in WriteControlBlock() 1517 RecordData::value_type Record[] = {MODULE_DIRECTORY}; in WriteControlBlock() 1933 RecordData::value_type Record[] = { in WriteInputFiles() [all …]
|
| H A D | ASTReader.cpp | 1393 RecordData Record; in ReadLexicalDeclContextStorage() 1441 RecordData Record; in ReadVisibleDeclContextStorage() 1514 RecordData Record; in ReadSpecializations() 1582 void ASTReader::ParseLineTable(ModuleFile &F, const RecordData &Record) { in ParseLineTable() 1641 RecordData Record; in ReadSourceManagerBlock() 1699 RecordData Record; in readSLocOffset() 1768 RecordData Record; in ReadSLocEntry() 1837 RecordData Record; in ReadSLocEntry() 2065 RecordData Record; in ReadMacroRecord() 2330 RecordData Record; in ReadDefinedMacros() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
| H A D | ASTReader.h | 428 using RecordData = SmallVector<uint64_t, 64>; variable 1571 void ParseLineTable(ModuleFile &F, const RecordData &Record); 1574 ASTReadResult ReadModuleMapFileBlock(RecordData &Record, ModuleFile &F, 1579 static bool ParseLanguageOptions(const RecordData &Record, 1583 static bool ParseTargetOptions(const RecordData &Record, 1587 static bool ParseDiagnosticOptions(const RecordData &Record, 1590 static bool ParseFileSystemOptions(const RecordData &Record, bool Complain, 1592 static bool ParseHeaderSearchOptions(const RecordData &Record, 1595 static bool ParseHeaderSearchPaths(const RecordData &Record, bool Complain, 1597 static bool ParsePreprocessorOptions(const RecordData &Record, [all …]
|
| H A D | ASTRecordReader.h | 39 ASTReader::RecordData Record; 41 using RecordData = ASTReader::RecordData; variable
|
| H A D | ASTWriter.h | 101 using RecordData = SmallVector<uint64_t, 64>; variable 457 RecordData EagerlyDeserializedDecls; 458 RecordData ModularCodegenDecls;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
| H A D | GSIStreamBuilder.h | 31 return Item.RecordData.size(); 34 return Item.RecordData;
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | GSIStreamBuilder.cpp | 81 return xxh3_64bits(Val.RecordData); in getHashValue() 84 return LHS.RecordData == RHS.RecordData; in isEqual()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
| H A D | llvm-pdbutil.cpp | 872 TpiBuilder.addTypeRecord(Type.RecordData, std::nullopt); in yamlToPdb() 880 IpiBuilder.addTypeRecord(Type.RecordData, std::nullopt); in yamlToPdb() 1360 DestTpi.addTypeRecord(Type.RecordData, std::nullopt); in mergePdbs() 1363 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()
|