| /freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/ |
| H A D | TypeHashing.cpp | 29 LocallyHashedType LocallyHashedType::hashType(ArrayRef<uint8_t> RecordData) { in hashType() argument 30 return {llvm::hash_value(RecordData), RecordData}; in hashType() 34 GloballyHashedType::hashType(ArrayRef<uint8_t> RecordData, in hashType() argument 38 discoverTypeIndices(RecordData, Refs); in hashType() 42 S.update(RecordData.take_front(sizeof(RecordPrefix))); in hashType() 43 RecordData = RecordData.drop_front(sizeof(RecordPrefix)); in hashType() 47 ArrayRef<uint8_t> PreData = RecordData.slice(Off, PreLen); in hashType() 51 auto RefData = RecordData.slice(Ref.Offset, Ref.Count * sizeof(TypeIndex)); in hashType() 71 auto TrailingBytes = RecordData.drop_front(Off); in hashType()
|
| H A D | MergingTypeTableBuilder.cpp | 57 Type.RecordData = SeenRecords[Index.toArrayIndex()]; in getType() 59 reinterpret_cast<const RecordPrefix *>(Type.RecordData.data()); in getType() 104 ArrayRef<uint8_t> RecordData = stabilize(RecordStorage, Record); in insertRecordAs() local 105 Result.first->first.RecordData = RecordData; in insertRecordAs() 106 SeenRecords.push_back(RecordData); in insertRecordAs() 126 TI = insertRecordBytes(C.RecordData); in insertRecord()
|
| H A D | TypeIndexDiscovery.cpp | 460 static void resolveTypeIndexReferences(ArrayRef<uint8_t> RecordData, in resolveTypeIndexReferences() argument 468 RecordData = RecordData.drop_front(sizeof(RecordPrefix)); in resolveTypeIndexReferences() 470 BinaryStreamReader Reader(RecordData, support::little); in resolveTypeIndexReferences() 481 return discoverTypeIndices(Type.RecordData, Indices); in discoverTypeIndices() 484 void llvm::codeview::discoverTypeIndices(ArrayRef<uint8_t> RecordData, in discoverTypeIndices() argument 487 discoverTypeIndices(RecordData, Refs); in discoverTypeIndices() 488 resolveTypeIndexReferences(RecordData, Refs, Indices); in discoverTypeIndices() 494 reinterpret_cast<const RecordPrefix *>(RecordData.data()); in discoverTypeIndices() 508 reinterpret_cast<const RecordPrefix *>(RecordData.data()); in discoverTypeIndicesInSymbol() 517 if (!discoverTypeIndicesInSymbol(RecordData, Refs)) in discoverTypeIndicesInSymbol() [all …]
|
| H A D | GlobalTypeTableBuilder.cpp | 57 Type.RecordData = SeenRecords[Index.toArrayIndex()]; in getType() 58 if (!Type.RecordData.empty()) { in getType() 59 assert(Type.RecordData.size() >= sizeof(RecordPrefix)); in getType() 61 reinterpret_cast<const RecordPrefix *>(Type.RecordData.data()); in getType() 112 TI = insertRecordBytes(C.RecordData); in insertRecord()
|
| H A D | AppendingTypeTableBuilder.cpp | 55 Type.RecordData = SeenRecords[Index.toArrayIndex()]; in getType() 57 reinterpret_cast<const RecordPrefix *>(Type.RecordData.data()); in getType() 99 TI = insertRecordBytes(C.RecordData); in insertRecord()
|
| H A D | TypeStreamMerger.cpp | 382 DestIdx = Dest.insertRecordAs(H, Type.RecordData.size(), DoSerialize); in remapType() 387 RemapStorage.resize(Type.RecordData.size()); in remapType() 405 discoverTypeIndices(OriginalType.RecordData, Refs); in remapIndices() 407 return OriginalType.RecordData; in remapIndices() 409 ::memcpy(Storage.data(), OriginalType.RecordData.data(), in remapIndices() 410 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 | 56 Record.RecordData = ArrayRef<uint8_t>(StableStorage, RecordEnd); in visitSymbolEnd()
|
| H A D | SymbolRecordHelpers.cpp | 92 EndOffset += Closer.RecordData.size(); in limitSymbolArrayToScope()
|
| H A D | ContinuationRecordBuilder.cpp | 161 Type.RecordData = Data; in createSegmentRecord()
|
| /freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | CVRecord.h | 32 CVRecord(Kind K, ArrayRef<uint8_t> Data) : Type(K), RecordData(Data) {} in CVRecord() 36 uint32_t length() const { return RecordData.size(); } in length() 38 ArrayRef<uint8_t> data() const { return RecordData; } in data() 40 return StringRef(reinterpret_cast<const char *>(RecordData.data()), in str_data() 41 RecordData.size()); in str_data() 45 return RecordData.drop_front(sizeof(RecordPrefix)); in content() 49 ArrayRef<uint8_t> RecordData; variable
|
| H A D | TypeHashing.h | 35 ArrayRef<uint8_t> RecordData; member 38 static LocallyHashedType hashType(ArrayRef<uint8_t> RecordData); 55 Hashes.push_back(hashType(Type.RecordData)); in hashTypeCollection() 92 static GloballyHashedType hashType(ArrayRef<uint8_t> RecordData, 103 return hashType(Type.RecordData, PreviousTypes, PreviousIds); in hashType() 133 Hashes.push_back(hashType(Type.RecordData, Hashes, Hashes)); in hashTypeCollection() 165 return LHS.RecordData == RHS.RecordData;
|
| H A D | TypeIndexDiscovery.h | 27 void discoverTypeIndices(ArrayRef<uint8_t> RecordData, 33 void discoverTypeIndices(ArrayRef<uint8_t> RecordData, 40 bool discoverTypeIndicesInSymbol(ArrayRef<uint8_t> RecordData, 42 bool discoverTypeIndicesInSymbol(ArrayRef<uint8_t> RecordData,
|
| H A D | SymbolDeserializer.h | 27 MappingInfo(ArrayRef<uint8_t> RecordData, CodeViewContainer Container) in MappingInfo() 28 : Stream(RecordData, llvm::support::little), Reader(Stream), in MappingInfo()
|
| H A D | TypeDeserializer.h | 31 explicit MappingInfo(ArrayRef<uint8_t> RecordData) in MappingInfo() 32 : Stream(RecordData, llvm::support::little), Reader(Stream), in MappingInfo()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Serialization/ |
| H A D | ASTReader.h | 376 using RecordData = SmallVector<uint64_t, 64>; variable 1307 bool ParseLineTable(ModuleFile &F, const RecordData &Record); 1882 T *ReadDeclAs(ModuleFile &F, const RecordData &R, unsigned &I) { in ReadDeclAs() 2136 const RecordData &Record, unsigned &Idx); 2167 const RecordData &Record, unsigned &Idx); 2175 ReadCXXCtorInitializers(ModuleFile &F, const RecordData &Record, 2218 llvm::APInt ReadAPInt(const RecordData &Record, unsigned &Idx); 2224 llvm::APFloat ReadAPFloat(const RecordData &Record, 2239 static void SkipPath(const RecordData &Record, unsigned &Idx) { in SkipPath() 2368 ASTReader::RecordData Record; [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | SerializedDiagnosticPrinter.cpp | 50 typedef SmallVector<uint64_t, 64> RecordData; typedef 122 std::error_code adjustSourceLocFilename(RecordData &Record, 125 void adjustAbbrevID(RecordData &Record, AbbrevLookup &Lookup, 128 void writeRecordWithAbbrev(unsigned ID, RecordData &Record); 263 RecordData Record; 428 RecordData &Record = State->Record; in EmitBlockInfoBlock() 517 RecordData::value_type Record[] = {RECORD_VERSION, VersionNumber}; in EmitMetaBlock() 631 RecordData &Record = State->Record; in EmitDiagnosticMessage() 688 RecordData &Record = State->Record; in EmitCodeContext() 808 RecordData::value_type Record[] = { in visitSourceRangeRecord() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 1064 RecordData Record; in WriteBlockInfoBlock() 1407 RecordData Record; in writeUnhashedControlBlock() 1452 RecordData Record; in WriteControlBlock() 2224 RecordData Record; in WriteSourceManagerBlock() 2444 RecordData Record; in WritePreprocessor() 2674 RecordData Record; in WritePreprocessorDetail() 3053 RecordData Record; in WritePragmaDiagnosticMappings() 3149 RecordData Record; in WriteType() 3258 RecordData Record; in WriteComments() 3496 RecordData Record; in WriteReferencedSelectorsPool() [all …]
|
| H A D | ASTReader.cpp | 1153 RecordData Record; in ReadLexicalDeclContextStorage() 1189 RecordData Record; in ReadVisibleDeclContextStorage() 1296 RecordData Record; in ReadSourceManagerBlock() 1415 RecordData Record; in ReadSLocEntry() 1582 RecordData Record; in ReadMacroRecord() 1977 RecordData Record; in resolvePendingMacro() 2076 RecordData Record; in readInputFileInfo() 2265 RecordData Record; in ReadOptionsBlock() 2360 RecordData Record; in ReadControlBlock() 2682 RecordData Record; in ReadASTBlock() [all …]
|
| H A D | ASTReaderDecl.cpp | 88 using RecordData = ASTReader::RecordData; typedef in clang::ASTDeclReader 2675 const ASTReader::RecordData &Record; 2680 const ASTReader::RecordData &Record, unsigned &Idx) in AttrReader() 2713 Attr *ASTReader::ReadAttr(ModuleFile &M, const RecordData &Rec, in ReadAttr() 4040 RecordData Record; in loadPendingDeclChain()
|
| /freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/PDB/Native/ |
| H A D | GSIStreamBuilder.h | 28 return Item.RecordData.size(); 31 return Item.RecordData;
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | GSIStreamBuilder.cpp | 45 return xxHash64(Val.RecordData); in getHashValue() 48 return LHS.RecordData == RHS.RecordData; in isEqual()
|
| /freebsd-12.1/contrib/llvm/tools/lld/COFF/ |
| H A D | PDB.cpp | 381 TpiBuilder.addTypeRecord(Type.RecordData, *Hash); in addTypeInfo() 487 Types.getUnderlyingStream().drop_front(FirstType->RecordData.size())); in mergeDebugT() 836 static SymbolKind symbolKind(ArrayRef<uint8_t> RecordData) { in symbolKind() argument 838 reinterpret_cast<const RecordPrefix *>(RecordData.data()); in symbolKind() 843 static void translateIdSymbols(MutableArrayRef<uint8_t> &RecordData, in translateIdSymbols() argument 845 RecordPrefix *Prefix = reinterpret_cast<RecordPrefix *>(RecordData.data()); in translateIdSymbols() 847 SymbolKind Kind = symbolKind(RecordData); in translateIdSymbols() 861 auto Content = RecordData.drop_front(sizeof(RecordPrefix)); in translateIdSymbols() 862 CVSymbol Sym(Kind, RecordData); in translateIdSymbols()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/ |
| H A D | llvm-pdbutil.cpp | 831 TpiBuilder.addTypeRecord(Type.RecordData, None); in yamlToPdb() 839 IpiBuilder.addTypeRecord(Type.RecordData, None); in yamlToPdb() 1321 DestTpi.addTypeRecord(Type.RecordData, None); in mergePdbs() 1324 DestIpi.addTypeRecord(Type.RecordData, None); in mergePdbs()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | PdbUtil.cpp | 539 var_id.offset + sym.RecordData.size()); in GetVariableLocationInfo()
|