Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/unittests/XRay/
H A DFDRRecordsTest.cpp30 .add<BufferExtents>(100) in TEST()
40 .add<BufferExtents>(100) in TEST()
50 .add<BufferExtents>(100) in TEST()
79 .add<BufferExtents>(48) in TEST()
93 .add<BufferExtents>(64) in TEST()
104 .add<BufferExtents>(64) in TEST()
115 .add<BufferExtents>(64) in TEST()
H A DFDRRecordPrinterTest.cpp23 template <> struct Helper<BufferExtents> {
25 return std::make_unique<BufferExtents>(1); in construct()
121 ::testing::Types<BufferExtents, NewBufferRecord, EndBufferRecord,
123 CustomEventRecord, CallArgRecord, BufferExtents,
H A DFDRBlockVerifierTest.cpp26 .add<BufferExtents>(80) in TEST()
35 .add<BufferExtents>(80) in TEST()
44 .add<BufferExtents>(80) in TEST()
74 .add<BufferExtents>(20) in TEST()
H A DFDRBlockIndexerTest.cpp28 .add<BufferExtents>(80) in TEST()
37 .add<BufferExtents>(80) in TEST()
46 .add<BufferExtents>(80) in TEST()
H A DFDRTraceWriterTest.cpp45 .add<BufferExtents>(80) in TEST()
91 .add<BufferExtents>(64) in TEST()
H A DFDRProducerConsumerTest.cpp127 BufferExtents BE(200); in TYPED_TEST_P()
168 BufferExtents BE(200); in TYPED_TEST_P()
/llvm-project-15.0.7/llvm/lib/XRay/
H A DBlockVerifier.cpp25 case BlockVerifier::State::BufferExtents: in recordToString()
65 {mask(State::BufferExtents) | mask(State::NewBuffer)}}, in transition()
67 {State::BufferExtents, {mask(State::NewBuffer)}}, in transition()
136 Error BlockVerifier::visit(BufferExtents &) { in visit() argument
137 return transition(State::BufferExtents); in visit()
H A DFDRRecordProducer.cpp64 return std::make_unique<BufferExtents>(); in metadataRecordType()
132 assert(isa<BufferExtents>(R.get())); in produce()
133 auto BE = cast<BufferExtents>(R.get()); in produce()
180 if (auto BE = dyn_cast<BufferExtents>(R.get())) { in produce()
H A DFDRRecords.cpp18 Error BufferExtents::apply(RecordVisitor &V) { return V.visit(*this); } in apply()
H A DRecordPrinter.cpp15 Error RecordPrinter::visit(BufferExtents &R) { in visit()
H A DBlockIndexer.cpp18 Error BlockIndexer::visit(BufferExtents &) { return Error::success(); } in visit() argument
H A DBlockPrinter.cpp13 Error BlockPrinter::visit(BufferExtents &R) { in visit()
H A DFDRTraceExpander.cpp21 Error TraceExpander::visit(BufferExtents &) { in visit() argument
H A DFDRTraceWriter.cpp79 Error FDRTraceWriter::visit(BufferExtents &R) { in visit()
H A DRecordInitializer.cpp13 Error RecordInitializer::visit(BufferExtents &R) { in visit()
/llvm-project-15.0.7/llvm/include/llvm/XRay/
H A DFDRRecords.h75 BufferExtents, enumerator
110 class BufferExtents : public MetadataRecord {
115 BufferExtents() in BufferExtents() function
117 MetadataType::BufferExtents) {} in BufferExtents()
119 explicit BufferExtents(uint64_t S) in BufferExtents() function
121 MetadataType::BufferExtents), in BufferExtents()
404 virtual Error visit(BufferExtents &) = 0;
432 Error visit(BufferExtents &) override;
H A DBlockVerifier.h28 BufferExtents, enumerator
51 Error visit(BufferExtents &) override;
H A DFDRTraceWriter.h35 Error visit(BufferExtents &) override;
H A DRecordPrinter.h32 Error visit(BufferExtents &) override;
H A DFDRTraceExpander.h41 Error visit(BufferExtents &) override;
H A DBlockIndexer.h46 Error visit(BufferExtents &) override;
H A DBlockPrinter.h41 Error visit(BufferExtents &) override;
/llvm-project-15.0.7/compiler-rt/lib/xray/
H A Dxray_fdr_logging.cpp263 uint8_t(MetadataRecord::RecordKinds::BufferExtents); in fdrIterator()
366 auto BufferExtents = atomic_load(B.Extents, memory_order_acquire); in fdrLoggingFlush() local
367 DCHECK(BufferExtents <= B.Size); in fdrLoggingFlush()
370 uint8_t(MetadataRecord::RecordKinds::BufferExtents); in fdrLoggingFlush()
371 internal_memcpy(ExtentsRecord.Data, &BufferExtents, sizeof(BufferExtents)); in fdrLoggingFlush()
372 if (BufferExtents > 0) { in fdrLoggingFlush()
377 reinterpret_cast<char *>(B.Data) + BufferExtents); in fdrLoggingFlush()
H A Dxray_fdr_log_records.h36 BufferExtents, enumerator
/llvm-project-15.0.7/compiler-rt/lib/xray/tests/unit/
H A Dtest_helpers.cpp86 createMetadataRecord<MetadataRecord::RecordKinds::BufferExtents>(Size); in serialize()