Home
last modified time | relevance | path

Searched refs:RecordData (Results 1 – 25 of 33) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DTypeHashing.cpp29 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()
DMergingTypeTableBuilder.cpp57 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()
DTypeIndexDiscovery.cpp460 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()
491 void llvm::codeview::discoverTypeIndices(ArrayRef<uint8_t> RecordData, in discoverTypeIndices() argument
494 reinterpret_cast<const RecordPrefix *>(RecordData.data()); in discoverTypeIndices()
496 ::discoverTypeIndices(RecordData.drop_front(sizeof(RecordPrefix)), K, Refs); in discoverTypeIndices()
[all …]
DGlobalTypeTableBuilder.cpp57 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()
DAppendingTypeTableBuilder.cpp55 Type.RecordData = SeenRecords[Index.toArrayIndex()]; in getType()
57 reinterpret_cast<const RecordPrefix *>(Type.RecordData.data()); in getType()
99 TI = insertRecordBytes(C.RecordData); in insertRecord()
DTypeStreamMerger.cpp358 DestIdx = Dest.insertRecordAs(H, Type.RecordData.size(), DoSerialize); in remapType()
363 RemapStorage.resize(Type.RecordData.size()); in remapType()
380 discoverTypeIndices(OriginalType.RecordData, Refs); in remapIndices()
382 return OriginalType.RecordData; in remapIndices()
384 ::memcpy(Storage.data(), OriginalType.RecordData.data(), in remapIndices()
385 OriginalType.RecordData.size()); in remapIndices()
DDebugSymbolsSubsection.cpp25 if (auto EC = Writer.writeBytes(Record.RecordData)) in commit()
DSymbolSerializer.cpp56 Record.RecordData = ArrayRef<uint8_t>(StableStorage, RecordEnd); in visitSymbolEnd()
/external/clang/include/clang/Serialization/
DASTReader.h321 typedef SmallVector<uint64_t, 64> RecordData; typedef
1140 bool ParseLineTable(ModuleFile &F, const RecordData &Record);
1144 ASTReadResult ReadModuleMapFileBlock(RecordData &Record, ModuleFile &F,
1149 static bool ParseLanguageOptions(const RecordData &Record, bool Complain,
1152 static bool ParseTargetOptions(const RecordData &Record, bool Complain,
1155 static bool ParseDiagnosticOptions(const RecordData &Record, bool Complain,
1157 static bool ParseFileSystemOptions(const RecordData &Record, bool Complain,
1159 static bool ParseHeaderSearchOptions(const RecordData &Record, bool Complain,
1161 static bool ParsePreprocessorOptions(const RecordData &Record, bool Complain,
1176 const RecordData &Record, unsigned &Index);
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/
DTypeHashing.h35 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;
DCVRecord.h32 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()
53 ArrayRef<uint8_t> RecordData; variable
DTypeIndexDiscovery.h27 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,
DSymbolDeserializer.h27 MappingInfo(ArrayRef<uint8_t> RecordData, CodeViewContainer Container) in MappingInfo()
28 : Stream(RecordData, llvm::support::little), Reader(Stream), in MappingInfo()
DTypeDeserializer.h31 explicit MappingInfo(ArrayRef<uint8_t> RecordData) in MappingInfo()
32 : Stream(RecordData, llvm::support::little), Reader(Stream), in MappingInfo()
/external/llvm/lib/DebugInfo/CodeView/
DCVTypeVisitor.cpp93 ArrayRef<uint8_t> RecordData = Record.Data; in visitFieldList() local
94 while (!RecordData.empty()) { in visitFieldList()
96 if (auto EC = takeObject(RecordData, LeafPtr)) in visitFieldList()
108 auto Result = Name##Record::deserialize(RK, RecordData); \ in visitFieldList()
119 if (auto EC = skipPadding(RecordData)) in visitFieldList()
/external/clang/lib/Frontend/
DSerializedDiagnosticPrinter.cpp53 typedef SmallVector<uint64_t, 64> RecordData; typedef
132 std::error_code adjustSourceLocFilename(RecordData &Record,
135 void adjustAbbrevID(RecordData &Record, AbbrevLookup &Lookup,
138 void writeRecordWithAbbrev(unsigned ID, RecordData &Record);
140 void writeRecordWithBlob(unsigned ID, RecordData &Record, StringRef Blob);
278 RecordData Record;
399 RecordData::value_type Record[] = {RECORD_FILENAME, entry, 0 /* For legacy */, in getEmitFile()
446 RecordData &Record = State->Record; in EmitBlockInfoBlock()
535 RecordData::value_type Record[] = {RECORD_VERSION, VersionNumber}; in EmitMetaBlock()
547 RecordData::value_type Record[] = {RECORD_CATEGORY, category, catName.size()}; in getEmitCategory()
[all …]
/external/clang/lib/Serialization/
DASTWriter.cpp907 RecordData Record; in WriteBlockInfoBlock()
1231 RecordData Record; in WriteControlBlock()
1248 RecordData::value_type Record[] = {METADATA, VERSION_MAJOR, VERSION_MINOR, in WriteControlBlock()
1262 RecordData::value_type Record[] = {Signature}; in WriteControlBlock()
1271 RecordData::value_type Record[] = {MODULE_NAME}; in WriteControlBlock()
1292 RecordData::value_type Record[] = {MODULE_DIRECTORY}; in WriteControlBlock()
1525 RecordData::value_type Record[] = {ORIGINAL_PCH_DIR}; in WriteControlBlock()
1607 RecordData::value_type Record[] = { in WriteInputFiles()
1630 RecordData::value_type Record[] = {INPUT_FILE_OFFSETS, in WriteInputFiles()
1882 RecordData::value_type Record[] = {HEADER_SEARCH_TABLE, BucketOffset, in WriteHeaderSearch()
[all …]
DASTReader.cpp996 RecordData Record; in ReadLexicalDeclContextStorage()
1032 RecordData Record; in ReadVisibleDeclContextStorage()
1072 const RecordData &Record) { in ParseLineTable()
1138 RecordData Record; in ReadSourceManagerBlock()
1217 RecordData Record; in ReadSLocEntry()
1250 RecordData Record; in ReadSLocEntry()
1418 RecordData Record; in ReadMacroRecord()
1664 RecordData Record; in ReadDefinedMacros()
1809 RecordData Record; in resolvePendingMacro()
1909 RecordData Record; in readInputFileInfo()
[all …]
DASTReaderDecl.cpp43 typedef ASTReader::RecordData RecordData; typedef in clang::ASTDeclReader
44 const RecordData &Record;
60 uint64_t ReadLocalOffset(const RecordData &R, unsigned &I) { in ReadLocalOffset()
66 uint64_t ReadGlobalOffset(ModuleFile &F, const RecordData &R, unsigned &I) { in ReadGlobalOffset()
71 SourceLocation ReadSourceLocation(const RecordData &R, unsigned &I) { in ReadSourceLocation()
75 SourceRange ReadSourceRange(const RecordData &R, unsigned &I) { in ReadSourceRange()
79 TypeSourceInfo *GetTypeSourceInfo(const RecordData &R, unsigned &I) { in GetTypeSourceInfo()
83 serialization::DeclID ReadDeclID(const RecordData &R, unsigned &I) { in ReadDeclID()
87 std::string ReadString(const RecordData &R, unsigned &I) { in ReadString()
96 Decl *ReadDecl(const RecordData &R, unsigned &I) { in ReadDecl()
[all …]
DASTReaderStmt.cpp29 typedef ASTReader::RecordData RecordData; typedef in clang::ASTStmtReader
34 const ASTReader::RecordData &Record;
37 Token ReadToken(const RecordData &R, unsigned &I) { in ReadToken()
41 SourceLocation ReadSourceLocation(const RecordData &R, unsigned &I) { in ReadSourceLocation()
45 SourceRange ReadSourceRange(const RecordData &R, unsigned &I) { in ReadSourceRange()
49 std::string ReadString(const RecordData &R, unsigned &I) { in ReadString()
53 TypeSourceInfo *GetTypeSourceInfo(const RecordData &R, unsigned &I) { in GetTypeSourceInfo()
57 serialization::DeclID ReadDeclID(const RecordData &R, unsigned &I) { in ReadDeclID()
61 Decl *ReadDecl(const RecordData &R, unsigned &I) { in ReadDecl()
66 T *ReadDeclAs(const RecordData &R, unsigned &I) { in ReadDeclAs()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/PDB/Native/
DGSIStreamBuilder.h28 return Item.RecordData.size();
31 return Item.RecordData;
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/CodeView/
DTypeIndexDiscoveryTest.cpp63 TTB->insertRecordBytes(Records.front().RecordData); in writeFieldList()
91 bool checkOneTypeReference(uint32_t RecordIndex, ArrayRef<uint8_t> RecordData, in checkOneTypeReference() argument
93 RecordData = RecordData.drop_front(sizeof(RecordPrefix)); in checkOneTypeReference()
97 ArrayRef<uint8_t> Loc = RecordData.drop_front(Offset); in checkOneTypeReference()
DRandomAccessVisitorTest.cpp48 if (R1.RecordData != R2.RecordData) in operator ==()
/external/llvm/include/llvm/DebugInfo/CodeView/
DCVSymbolVisitor.h88 void visitSymbolBegin(SymbolKind Leaf, ArrayRef<uint8_t> RecordData) {} in visitSymbolBegin() argument
/external/bcc/tools/
Dfuncslower_example.txt83 UserDataProvider::saveRecordData(RecordData const&)
98 UserDataProvider::saveRecordData(RecordData const&)

12