/external/llvm-project/llvm/unittests/XRay/ |
D | FDRTraceWriterTest.cpp | 65 EXPECT_THAT(Trace, ElementsAre(Field(&XRayRecord::FuncId, Eq(1)), in TEST() 66 Field(&XRayRecord::FuncId, Eq(1)))); in TEST() 67 EXPECT_THAT(Trace, ElementsAre(Field(&XRayRecord::TId, Eq(1u)), in TEST() 68 Field(&XRayRecord::TId, Eq(1u)))); in TEST() 69 EXPECT_THAT(Trace, ElementsAre(Field(&XRayRecord::PId, Eq(1u)), in TEST() 70 Field(&XRayRecord::PId, Eq(1u)))); in TEST() 71 EXPECT_THAT(Trace, ElementsAre(Field(&XRayRecord::CPU, Eq(1u)), in TEST() 72 Field(&XRayRecord::CPU, Eq(1u)))); in TEST() 74 ElementsAre(Field(&XRayRecord::Type, Eq(RecordTypes::ENTER)), in TEST() 75 Field(&XRayRecord::Type, Eq(RecordTypes::EXIT)))); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/XRay/ |
D | FDRTraceExpander.h | 25 function_ref<void(const XRayRecord &)> C; 29 XRayRecord CurrentRecord{0, 0, RecordTypes::ENTER, 0, 0, 0, 0, {}, {}}; 38 explicit TraceExpander(function_ref<void(const XRayRecord &)> F, uint16_t L) in TraceExpander()
|
D | Trace.h | 48 using RecordVector = std::vector<XRayRecord>; 51 typedef std::vector<XRayRecord>::const_iterator citerator;
|
D | XRayRecord.h | 69 struct XRayRecord { struct
|
/external/llvm-project/llvm/include/llvm/XRay/ |
D | FDRTraceExpander.h | 25 function_ref<void(const XRayRecord &)> C; 29 XRayRecord CurrentRecord{0, 0, RecordTypes::ENTER, 0, 0, 0, 0, {}, {}}; 38 explicit TraceExpander(function_ref<void(const XRayRecord &)> F, uint16_t L) in TraceExpander()
|
D | Trace.h | 48 using RecordVector = std::vector<XRayRecord>; 51 typedef std::vector<XRayRecord>::const_iterator citerator;
|
D | XRayRecord.h | 69 struct XRayRecord { struct
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/ |
D | Trace.cpp | 34 std::aligned_storage<sizeof(XRayRecord), alignof(XRayRecord)>::type; 38 std::vector<XRayRecord> &Records) { in loadNaiveFormatLog() 268 XRayFileHeader &FileHeader, std::vector<XRayRecord> &Records) { in loadFDRLog() 335 auto Adder = [&](const XRayRecord &R) { Records.push_back(R); }; in loadFDRLog() 351 std::vector<XRayRecord> &Records) { in loadYAMLLog() 372 return XRayRecord{R.RecordType, R.CPU, R.Type, in loadYAMLLog() 471 llvm::stable_sort(T.Records, [&](const XRayRecord &L, const XRayRecord &R) { in loadTrace()
|
/external/llvm-project/llvm/lib/XRay/ |
D | Trace.cpp | 34 std::aligned_storage<sizeof(XRayRecord), alignof(XRayRecord)>::type; 38 std::vector<XRayRecord> &Records) { in loadNaiveFormatLog() 268 XRayFileHeader &FileHeader, std::vector<XRayRecord> &Records) { in loadFDRLog() 335 auto Adder = [&](const XRayRecord &R) { Records.push_back(R); }; in loadFDRLog() 351 std::vector<XRayRecord> &Records) { in loadYAMLLog() 372 return XRayRecord{R.RecordType, R.CPU, R.Type, in loadYAMLLog() 472 llvm::stable_sort(T.Records, [&](const XRayRecord &L, const XRayRecord &R) { in loadTrace()
|
/external/llvm-project/compiler-rt/include/xray/ |
D | xray_records.h | 72 struct alignas(32) XRayRecord { struct 104 static_assert(sizeof(XRayRecord) == 32, "XRayRecord != 32 bytes"); argument
|
/external/llvm-project/compiler-rt/lib/xray/ |
D | xray_basic_logging.cpp | 134 TLD.InMemoryBuffer = reinterpret_cast<XRayRecord *>( in getThreadLocalData() 135 InternalAlloc(sizeof(XRayRecord) * GlobalOptions.ThreadBufferSize, in getThreadLocalData() 136 nullptr, alignof(XRayRecord))); in getThreadLocalData() 235 XRayRecord R; in InMemoryRawLog() 243 auto FirstEntry = reinterpret_cast<XRayRecord *>(TLD.InMemoryBuffer); in InMemoryRawLog() 362 (sizeof(XRayRecord) * TLD.BufferOffset)); in TLDDestructor()
|
/external/llvm-project/llvm/tools/llvm-xray/ |
D | xray-stacks.cpp | 112 struct format_xray_record : public FormatAdapter<XRayRecord> { 113 explicit format_xray_record(XRayRecord record, in format_xray_record() 115 : FormatAdapter<XRayRecord>(std::move(record)), Converter(&conv) {} in format_xray_record() 363 AccountRecordStatus accountRecord(const XRayRecord &R, in accountRecord() 675 const XRayRecord &Record, in CreateErrorMessage()
|
D | xray-account.h | 94 bool accountRecord(const XRayRecord &Record);
|
D | xray-graph.h | 139 Error accountRecord(const XRayRecord &Record);
|
D | xray-account.cpp | 158 bool LatencyAccountant::accountRecord(const XRayRecord &Record) { in accountRecord()
|
D | xray-graph.cpp | 208 Error GraphRenderer::accountRecord(const XRayRecord &Record) { in accountRecord()
|
/external/llvm-project/compiler-rt/lib/xray/tests/unit/ |
D | test_helpers.h | 27 void PrintTo(const XRayRecord &R, std::ostream *OS);
|
D | test_helpers.cpp | 44 void PrintTo(const XRayRecord &R, std::ostream *OS) { in PrintTo()
|