/external/llvm-project/llvm/lib/DebugInfo/CodeView/ |
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()
|
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() 493 void llvm::codeview::discoverTypeIndices(ArrayRef<uint8_t> RecordData, in discoverTypeIndices() argument 496 reinterpret_cast<const RecordPrefix *>(RecordData.data()); in discoverTypeIndices() 498 ::discoverTypeIndices(RecordData.drop_front(sizeof(RecordPrefix)), K, Refs); in discoverTypeIndices() [all …]
|
D | MergingTypeTableBuilder.cpp | 101 ArrayRef<uint8_t> RecordData = stabilize(RecordStorage, Record); in insertRecordAs() local 102 Result.first->first.RecordData = RecordData; in insertRecordAs() 103 SeenRecords.push_back(RecordData); in insertRecordAs() 123 TI = insertRecordBytes(C.RecordData); in insertRecord() 147 Result.first->first.RecordData = Record; in replaceType()
|
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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
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()
|
D | TypeIndexDiscovery.cpp | 461 static void resolveTypeIndexReferences(ArrayRef<uint8_t> RecordData, in resolveTypeIndexReferences() argument 469 RecordData = RecordData.drop_front(sizeof(RecordPrefix)); in resolveTypeIndexReferences() 471 BinaryStreamReader Reader(RecordData, support::little); in resolveTypeIndexReferences() 482 return discoverTypeIndices(Type.RecordData, Indices); in discoverTypeIndices() 485 void llvm::codeview::discoverTypeIndices(ArrayRef<uint8_t> RecordData, in discoverTypeIndices() argument 488 discoverTypeIndices(RecordData, Refs); in discoverTypeIndices() 489 resolveTypeIndexReferences(RecordData, Refs, Indices); in discoverTypeIndices() 492 void llvm::codeview::discoverTypeIndices(ArrayRef<uint8_t> RecordData, in discoverTypeIndices() argument 495 reinterpret_cast<const RecordPrefix *>(RecordData.data()); in discoverTypeIndices() 497 ::discoverTypeIndices(RecordData.drop_front(sizeof(RecordPrefix)), K, Refs); in discoverTypeIndices() [all …]
|
D | MergingTypeTableBuilder.cpp | 99 ArrayRef<uint8_t> RecordData = stabilize(RecordStorage, Record); in insertRecordAs() local 100 Result.first->first.RecordData = RecordData; in insertRecordAs() 101 SeenRecords.push_back(RecordData); in insertRecordAs() 121 TI = insertRecordBytes(C.RecordData); in insertRecord()
|
D | TypeStreamMerger.cpp | 367 DestIdx = Dest.insertRecordAs(H, Type.RecordData.size(), DoSerialize); in remapType() 372 RemapStorage.resize(Type.RecordData.size()); in remapType() 390 discoverTypeIndices(OriginalType.RecordData, Refs); in remapIndices() 392 return OriginalType.RecordData; in remapIndices() 394 ::memcpy(Storage.data(), OriginalType.RecordData.data(), in remapIndices() 395 OriginalType.RecordData.size()); in remapIndices()
|
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
D | CVRecord.h | 34 CVRecord(ArrayRef<uint8_t> Data) : RecordData(Data) {} in CVRecord() 37 : RecordData(reinterpret_cast<const uint8_t *>(P), Size) {} in CVRecord() 41 uint32_t length() const { return RecordData.size(); } in length() 44 if (RecordData.size() < sizeof(RecordPrefix)) in kind() 47 reinterpret_cast<const RecordPrefix *>(RecordData.data())->RecordKind)); in kind() 50 ArrayRef<uint8_t> data() const { return RecordData; } in data() 53 return StringRef(reinterpret_cast<const char *>(RecordData.data()), in str_data() 54 RecordData.size()); in str_data() 58 return RecordData.drop_front(sizeof(RecordPrefix)); in content() 61 ArrayRef<uint8_t> RecordData; variable
|
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,
|
D | TypeHashing.h | 34 ArrayRef<uint8_t> RecordData; member 37 static LocallyHashedType hashType(ArrayRef<uint8_t> RecordData); 54 Hashes.push_back(hashType(Type.RecordData)); in hashTypeCollection() 103 static GloballyHashedType hashType(ArrayRef<uint8_t> RecordData, 114 return hashType(Type.RecordData, PreviousTypes, PreviousIds); in hashType() 169 Hashes.push_back(hashType(Type.RecordData, Hashes, Hashes)); in hashTypeCollection() 196 return LHS.RecordData == RHS.RecordData;
|
D | SymbolDeserializer.h | 26 MappingInfo(ArrayRef<uint8_t> RecordData, CodeViewContainer Container) in MappingInfo() 27 : Stream(RecordData, llvm::support::little), Reader(Stream), in MappingInfo()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/ |
D | CVRecord.h | 34 CVRecord(ArrayRef<uint8_t> Data) : RecordData(Data) {} in CVRecord() 37 : RecordData(reinterpret_cast<const uint8_t *>(P), Size) {} in CVRecord() 41 uint32_t length() const { return RecordData.size(); } in length() 44 if (RecordData.size() < sizeof(RecordPrefix)) in kind() 47 reinterpret_cast<const RecordPrefix *>(RecordData.data())->RecordKind)); in kind() 50 ArrayRef<uint8_t> data() const { return RecordData; } in data() 53 return StringRef(reinterpret_cast<const char *>(RecordData.data()), in str_data() 54 RecordData.size()); in str_data() 58 return RecordData.drop_front(sizeof(RecordPrefix)); in content() 61 ArrayRef<uint8_t> RecordData; variable
|
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,
|
D | TypeHashing.h | 34 ArrayRef<uint8_t> RecordData; member 37 static LocallyHashedType hashType(ArrayRef<uint8_t> RecordData); 54 Hashes.push_back(hashType(Type.RecordData)); in hashTypeCollection() 93 static GloballyHashedType hashType(ArrayRef<uint8_t> RecordData, 104 return hashType(Type.RecordData, PreviousTypes, PreviousIds); in hashType() 159 Hashes.push_back(hashType(Type.RecordData, Hashes, Hashes)); in hashTypeCollection() 191 return LHS.RecordData == RHS.RecordData;
|
D | SymbolDeserializer.h | 26 MappingInfo(ArrayRef<uint8_t> RecordData, CodeViewContainer Container) in MappingInfo() 27 : Stream(RecordData, llvm::support::little), Reader(Stream), in MappingInfo()
|
/external/clang/include/clang/Serialization/ |
D | ASTReader.h | 321 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/llvm/lib/DebugInfo/CodeView/ |
D | CVTypeVisitor.cpp | 93 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/ |
D | SerializedDiagnosticPrinter.cpp | 53 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/llvm-project/clang/lib/Frontend/ |
D | SerializedDiagnosticPrinter.cpp | 52 typedef SmallVector<uint64_t, 64> RecordData; typedef 124 std::error_code adjustSourceLocFilename(RecordData &Record, 127 void adjustAbbrevID(RecordData &Record, AbbrevLookup &Lookup, 130 void writeRecordWithAbbrev(unsigned ID, RecordData &Record); 132 void writeRecordWithBlob(unsigned ID, RecordData &Record, StringRef Blob); 268 RecordData Record; 386 RecordData::value_type Record[] = {RECORD_FILENAME, entry, 0 /* For legacy */, in getEmitFile() 433 RecordData &Record = State->Record; in EmitBlockInfoBlock() 522 RecordData::value_type Record[] = {RECORD_VERSION, VersionNumber}; in EmitMetaBlock() 534 RecordData::value_type Record[] = {RECORD_CATEGORY, category, catName.size()}; in getEmitCategory() [all …]
|
/external/llvm-project/clang/include/clang/Serialization/ |
D | ASTReader.h | 360 using RecordData = SmallVector<uint64_t, 64>; variable 1320 bool ParseLineTable(ModuleFile &F, const RecordData &Record); 1324 ASTReadResult ReadModuleMapFileBlock(RecordData &Record, ModuleFile &F, 1329 static bool ParseLanguageOptions(const RecordData &Record, bool Complain, 1332 static bool ParseTargetOptions(const RecordData &Record, bool Complain, 1335 static bool ParseDiagnosticOptions(const RecordData &Record, bool Complain, 1337 static bool ParseFileSystemOptions(const RecordData &Record, bool Complain, 1339 static bool ParseHeaderSearchOptions(const RecordData &Record, bool Complain, 1341 static bool ParsePreprocessorOptions(const RecordData &Record, bool Complain, 1795 QualType readType(ModuleFile &F, const RecordData &Record, unsigned &Idx) { in readType() [all …]
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 907 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 …]
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTWriter.cpp | 153 ASTWriter::RecordData Record; 707 RecordData Record; in WriteBlockInfoBlock() 1057 RecordData Record; in writeUnhashedControlBlock() 1111 RecordData Record; in WriteControlBlock() 1128 RecordData::value_type Record[] = { in WriteControlBlock() 1147 RecordData::value_type Record[] = {MODULE_NAME}; in WriteControlBlock() 1168 RecordData::value_type Record[] = {MODULE_DIRECTORY}; in WriteControlBlock() 1394 RecordData::value_type Record[] = {ORIGINAL_PCH_DIR}; in WriteControlBlock() 1511 RecordData::value_type Record[] = { in WriteInputFiles() 1526 RecordData::value_type Record[] = {INPUT_FILE_HASH, Entry.ContentHash[0], in WriteInputFiles() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/ |
D | GSIStreamBuilder.h | 27 return Item.RecordData.size(); 30 return Item.RecordData;
|
/external/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
D | GSIStreamBuilder.h | 28 return Item.RecordData.size(); 31 return Item.RecordData;
|