LLVM 20.0.0git
Public Member Functions | List of all members
llvm::xray::RecordPrinter Class Reference

#include "llvm/XRay/RecordPrinter.h"

Inheritance diagram for llvm::xray::RecordPrinter:
Inheritance graph
[legend]

Public Member Functions

 RecordPrinter (raw_ostream &O, std::string D)
 
 RecordPrinter (raw_ostream &O)
 
Error visit (BufferExtents &) override
 
Error visit (WallclockRecord &) override
 
Error visit (NewCPUIDRecord &) override
 
Error visit (TSCWrapRecord &) override
 
Error visit (CustomEventRecord &) override
 
Error visit (CallArgRecord &) override
 
Error visit (PIDRecord &) override
 
Error visit (NewBufferRecord &) override
 
Error visit (EndBufferRecord &) override
 
Error visit (FunctionRecord &) override
 
Error visit (CustomEventRecordV5 &) override
 
Error visit (TypedEventRecord &) override
 
- Public Member Functions inherited from llvm::xray::RecordVisitor
virtual ~RecordVisitor ()=default
 
virtual Error visit (BufferExtents &)=0
 
virtual Error visit (WallclockRecord &)=0
 
virtual Error visit (NewCPUIDRecord &)=0
 
virtual Error visit (TSCWrapRecord &)=0
 
virtual Error visit (CustomEventRecord &)=0
 
virtual Error visit (CallArgRecord &)=0
 
virtual Error visit (PIDRecord &)=0
 
virtual Error visit (NewBufferRecord &)=0
 
virtual Error visit (EndBufferRecord &)=0
 
virtual Error visit (FunctionRecord &)=0
 
virtual Error visit (CustomEventRecordV5 &)=0
 
virtual Error visit (TypedEventRecord &)=0
 

Detailed Description

Definition at line 22 of file RecordPrinter.h.

Constructor & Destructor Documentation

◆ RecordPrinter() [1/2]

llvm::xray::RecordPrinter::RecordPrinter ( raw_ostream O,
std::string  D 
)
inlineexplicit

Definition at line 27 of file RecordPrinter.h.

References OS.

◆ RecordPrinter() [2/2]

llvm::xray::RecordPrinter::RecordPrinter ( raw_ostream O)
inlineexplicit

Definition at line 30 of file RecordPrinter.h.

Member Function Documentation

◆ visit() [1/12]

Error llvm::xray::RecordPrinter::visit ( BufferExtents R)
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 15 of file RecordPrinter.cpp.

References llvm::formatv(), and llvm::Error::success().

Referenced by llvm::xray::BlockPrinter::visit().

◆ visit() [2/12]

Error llvm::xray::RecordPrinter::visit ( CallArgRecord R)
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 59 of file RecordPrinter.cpp.

References llvm::formatv(), and llvm::Error::success().

◆ visit() [3/12]

Error llvm::xray::RecordPrinter::visit ( CustomEventRecord R)
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 36 of file RecordPrinter.cpp.

References llvm::formatv(), and llvm::Error::success().

◆ visit() [4/12]

Error llvm::xray::RecordPrinter::visit ( CustomEventRecordV5 R)
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 44 of file RecordPrinter.cpp.

References llvm::formatv(), and llvm::Error::success().

◆ visit() [5/12]

Error llvm::xray::RecordPrinter::visit ( EndBufferRecord R)
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 74 of file RecordPrinter.cpp.

References llvm::Error::success().

◆ visit() [6/12]

Error llvm::xray::RecordPrinter::visit ( FunctionRecord R)
overridevirtual

◆ visit() [7/12]

Error llvm::xray::RecordPrinter::visit ( NewBufferRecord R)
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 69 of file RecordPrinter.cpp.

References llvm::formatv(), and llvm::Error::success().

◆ visit() [8/12]

Error llvm::xray::RecordPrinter::visit ( NewCPUIDRecord R)
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 26 of file RecordPrinter.cpp.

References llvm::formatv(), and llvm::Error::success().

◆ visit() [9/12]

Error llvm::xray::RecordPrinter::visit ( PIDRecord R)
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 64 of file RecordPrinter.cpp.

References llvm::formatv(), and llvm::Error::success().

◆ visit() [10/12]

Error llvm::xray::RecordPrinter::visit ( TSCWrapRecord R)
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 31 of file RecordPrinter.cpp.

References llvm::formatv(), and llvm::Error::success().

◆ visit() [11/12]

Error llvm::xray::RecordPrinter::visit ( TypedEventRecord R)
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 51 of file RecordPrinter.cpp.

References llvm::formatv(), and llvm::Error::success().

◆ visit() [12/12]

Error llvm::xray::RecordPrinter::visit ( WallclockRecord R)
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 20 of file RecordPrinter.cpp.

References llvm::formatv(), and llvm::Error::success().


The documentation for this class was generated from the following files: