Home
last modified time | relevance | path

Searched refs:XRayFileHeader (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm-project/compiler-rt/lib/xray/tests/unit/
Dtest_helpers.cpp72 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/
DFDRProducerConsumerTest.cpp92 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()
DFDRTraceWriterTest.cpp37 XRayFileHeader H; in TEST()
83 XRayFileHeader H; in TEST()
126 XRayFileHeader H; in TEST()
/external/llvm-project/llvm/tools/llvm-xray/
Dxray-account.h103 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;
Dxray-account.cpp310 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/
Dxray_fdr_logging.cpp142 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/
DFDRRecordProducer.h28 const XRayFileHeader &Header;
38 FileBasedRecordProducer(const XRayFileHeader &FH, DataExtractor &DE, in FileBasedRecordProducer()
DTrace.h47 XRayFileHeader FileHeader;
61 const XRayFileHeader &getFileHeader() const { return FileHeader; } in getFileHeader()
DFileHeaderReader.h26 Expected<XRayFileHeader> readBinaryFormatHeader(DataExtractor &HeaderExtractor,
DXRayRecord.h27 struct XRayFileHeader { struct
DFDRTraceWriter.h32 explicit FDRTraceWriter(raw_ostream &O, const XRayFileHeader &H);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/XRay/
DFDRRecordProducer.h28 const XRayFileHeader &Header;
38 FileBasedRecordProducer(const XRayFileHeader &FH, DataExtractor &DE, in FileBasedRecordProducer()
DTrace.h47 XRayFileHeader FileHeader;
61 const XRayFileHeader &getFileHeader() const { return FileHeader; } in getFileHeader()
DFileHeaderReader.h26 Expected<XRayFileHeader> readBinaryFormatHeader(DataExtractor &HeaderExtractor,
DXRayRecord.h27 struct XRayFileHeader { struct
DFDRTraceWriter.h32 explicit FDRTraceWriter(raw_ostream &O, const XRayFileHeader &H);
/external/llvm-project/compiler-rt/include/xray/
Dxray_records.h38 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/
DFileHeaderReader.cpp14 Expected<XRayFileHeader> readBinaryFormatHeader(DataExtractor &HeaderExtractor, in readBinaryFormatHeader()
27 XRayFileHeader FileHeader; in readBinaryFormatHeader()
DFDRTraceWriter.cpp61 FDRTraceWriter::FDRTraceWriter(raw_ostream &O, const XRayFileHeader &H) in FDRTraceWriter()
75 sizeof(XRayFileHeader::FreeFormData)); in FDRTraceWriter()
DTrace.cpp37 XRayFileHeader &FileHeader, in loadNaiveFormatLog()
268 XRayFileHeader &FileHeader, std::vector<XRayRecord> &Records) { in loadFDRLog()
350 Error loadYAMLLog(StringRef Data, XRayFileHeader &FileHeader, in loadYAMLLog()
DFDRRecordProducer.cpp36 metadataRecordType(const XRayFileHeader &Header, uint8_t T) { in metadataRecordType()
/external/llvm-project/llvm/lib/XRay/
DFileHeaderReader.cpp14 Expected<XRayFileHeader> readBinaryFormatHeader(DataExtractor &HeaderExtractor, in readBinaryFormatHeader()
27 XRayFileHeader FileHeader; in readBinaryFormatHeader()
DFDRTraceWriter.cpp59 FDRTraceWriter::FDRTraceWriter(raw_ostream &O, const XRayFileHeader &H) in FDRTraceWriter()
73 sizeof(XRayFileHeader::FreeFormData)); in FDRTraceWriter()
DTrace.cpp37 XRayFileHeader &FileHeader, in loadNaiveFormatLog()
268 XRayFileHeader &FileHeader, std::vector<XRayRecord> &Records) { in loadFDRLog()
350 Error loadYAMLLog(StringRef Data, XRayFileHeader &FileHeader, in loadYAMLLog()
DFDRRecordProducer.cpp36 metadataRecordType(const XRayFileHeader &Header, uint8_t T) { in metadataRecordType()

12