/external/llvm-project/compiler-rt/lib/xray/tests/unit/ |
D | test_helpers.cpp | 72 std::aligned_storage<sizeof(XRayFileHeader), alignof(XRayFileHeader)>::type in serialize() 74 auto *Header = reinterpret_cast<XRayFileHeader *>(&HeaderStorage); in serialize() 75 new (Header) XRayFileHeader(); in serialize() 82 sizeof(XRayFileHeader)); in serialize()
|
/external/llvm-project/llvm/unittests/XRay/ |
D | FDRProducerConsumerTest.cpp | 92 XRayFileHeader H; 115 XRayFileHeader H; 157 EXPECT_EQ(Data2.substr(sizeof(XRayFileHeader)), in TYPED_TEST_P() 158 this->Data.substr(sizeof(XRayFileHeader))); in TYPED_TEST_P() 198 EXPECT_EQ(Data2.substr(sizeof(XRayFileHeader)), in TYPED_TEST_P() 199 this->Data.substr(sizeof(XRayFileHeader))); in TYPED_TEST_P()
|
D | FDRTraceWriterTest.cpp | 37 XRayFileHeader H; in TEST() 83 XRayFileHeader H; in TEST() 126 XRayFileHeader H; in TEST()
|
/external/llvm-project/llvm/tools/llvm-xray/ |
D | xray-account.h | 103 void exportStatsAsText(raw_ostream &OS, const XRayFileHeader &Header) const; 104 void exportStatsAsCSV(raw_ostream &OS, const XRayFileHeader &Header) const; 109 template <class F> void exportStats(const XRayFileHeader &Header, F fn) const;
|
D | xray-account.cpp | 310 void LatencyAccountant::exportStats(const XRayFileHeader &Header, F Fn) const { in exportStats() 373 const XRayFileHeader &Header) const { in exportStatsAsText() 409 const XRayFileHeader &Header) const { in exportStatsAsCSV()
|
/external/llvm-project/compiler-rt/lib/xray/ |
D | xray_fdr_logging.cpp | 142 static XRayFileHeader &fdrCommonHeaderInfo() { in fdrCommonHeaderInfo() 143 static std::aligned_storage<sizeof(XRayFileHeader)>::type HStorage; in fdrCommonHeaderInfo() 149 XRayFileHeader &H = reinterpret_cast<XRayFileHeader &>(HStorage); in fdrCommonHeaderInfo() 172 return reinterpret_cast<XRayFileHeader &>(HStorage); in fdrCommonHeaderInfo() 207 static std::aligned_storage<sizeof(XRayFileHeader)>::type HeaderStorage; in fdrIterator() 211 reinterpret_cast<XRayFileHeader &>(HeaderStorage) = in fdrIterator() 216 auto &Header = reinterpret_cast<XRayFileHeader &>(HeaderStorage); in fdrIterator() 348 XRayFileHeader Header = fdrCommonHeaderInfo(); in fdrLoggingFlush()
|
/external/llvm-project/llvm/include/llvm/XRay/ |
D | FDRRecordProducer.h | 28 const XRayFileHeader &Header; 38 FileBasedRecordProducer(const XRayFileHeader &FH, DataExtractor &DE, in FileBasedRecordProducer()
|
D | Trace.h | 47 XRayFileHeader FileHeader; 61 const XRayFileHeader &getFileHeader() const { return FileHeader; } in getFileHeader()
|
D | FileHeaderReader.h | 26 Expected<XRayFileHeader> readBinaryFormatHeader(DataExtractor &HeaderExtractor,
|
D | XRayRecord.h | 27 struct XRayFileHeader { struct
|
D | FDRTraceWriter.h | 32 explicit FDRTraceWriter(raw_ostream &O, const XRayFileHeader &H);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/XRay/ |
D | FDRRecordProducer.h | 28 const XRayFileHeader &Header; 38 FileBasedRecordProducer(const XRayFileHeader &FH, DataExtractor &DE, in FileBasedRecordProducer()
|
D | Trace.h | 47 XRayFileHeader FileHeader; 61 const XRayFileHeader &getFileHeader() const { return FileHeader; } in getFileHeader()
|
D | FileHeaderReader.h | 26 Expected<XRayFileHeader> readBinaryFormatHeader(DataExtractor &HeaderExtractor,
|
D | XRayRecord.h | 27 struct XRayFileHeader { struct
|
D | FDRTraceWriter.h | 32 explicit FDRTraceWriter(raw_ostream &O, const XRayFileHeader &H);
|
/external/llvm-project/compiler-rt/include/xray/ |
D | xray_records.h | 38 struct alignas(32) XRayFileHeader { struct 65 static_assert(sizeof(XRayFileHeader) == 32, "XRayFileHeader != 32 bytes"); argument
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/ |
D | FileHeaderReader.cpp | 14 Expected<XRayFileHeader> readBinaryFormatHeader(DataExtractor &HeaderExtractor, in readBinaryFormatHeader() 27 XRayFileHeader FileHeader; in readBinaryFormatHeader()
|
D | FDRTraceWriter.cpp | 61 FDRTraceWriter::FDRTraceWriter(raw_ostream &O, const XRayFileHeader &H) in FDRTraceWriter() 75 sizeof(XRayFileHeader::FreeFormData)); in FDRTraceWriter()
|
D | Trace.cpp | 37 XRayFileHeader &FileHeader, in loadNaiveFormatLog() 268 XRayFileHeader &FileHeader, std::vector<XRayRecord> &Records) { in loadFDRLog() 350 Error loadYAMLLog(StringRef Data, XRayFileHeader &FileHeader, in loadYAMLLog()
|
D | FDRRecordProducer.cpp | 36 metadataRecordType(const XRayFileHeader &Header, uint8_t T) { in metadataRecordType()
|
/external/llvm-project/llvm/lib/XRay/ |
D | FileHeaderReader.cpp | 14 Expected<XRayFileHeader> readBinaryFormatHeader(DataExtractor &HeaderExtractor, in readBinaryFormatHeader() 27 XRayFileHeader FileHeader; in readBinaryFormatHeader()
|
D | FDRTraceWriter.cpp | 59 FDRTraceWriter::FDRTraceWriter(raw_ostream &O, const XRayFileHeader &H) in FDRTraceWriter() 73 sizeof(XRayFileHeader::FreeFormData)); in FDRTraceWriter()
|
D | Trace.cpp | 37 XRayFileHeader &FileHeader, in loadNaiveFormatLog() 268 XRayFileHeader &FileHeader, std::vector<XRayRecord> &Records) { in loadFDRLog() 350 Error loadYAMLLog(StringRef Data, XRayFileHeader &FileHeader, in loadYAMLLog()
|
D | FDRRecordProducer.cpp | 36 metadataRecordType(const XRayFileHeader &Header, uint8_t T) { in metadataRecordType()
|