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

#include "llvm/XRay/BlockVerifier.h"

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

Public Types

enum class  State : std::size_t {
  Unknown , BufferExtents , NewBuffer , WallClockTime ,
  PIDEntry , NewCPUId , TSCWrap , CustomEvent ,
  TypedEvent , Function , CallArg , EndOfBuffer ,
  StateMax
}
 

Public Member Functions

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
 
Error verify ()
 
void reset ()
 
- 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 21 of file BlockVerifier.h.

Member Enumeration Documentation

◆ State

enum class llvm::xray::BlockVerifier::State : std::size_t
strong
Enumerator
Unknown 
BufferExtents 
NewBuffer 
WallClockTime 
PIDEntry 
NewCPUId 
TSCWrap 
CustomEvent 
TypedEvent 
Function 
CallArg 
EndOfBuffer 
StateMax 

Definition at line 24 of file BlockVerifier.h.

Member Function Documentation

◆ reset()

void llvm::xray::BlockVerifier::reset ( )

Definition at line 203 of file BlockVerifier.cpp.

References Unknown.

◆ verify()

Error llvm::xray::BlockVerifier::verify ( )

◆ visit() [1/12]

Error llvm::xray::BlockVerifier::visit ( BufferExtents )
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 138 of file BlockVerifier.cpp.

References BufferExtents.

◆ visit() [2/12]

Error llvm::xray::BlockVerifier::visit ( CallArgRecord )
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 166 of file BlockVerifier.cpp.

References CallArg.

◆ visit() [3/12]

Error llvm::xray::BlockVerifier::visit ( CustomEventRecord )
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 154 of file BlockVerifier.cpp.

References CustomEvent.

◆ visit() [4/12]

Error llvm::xray::BlockVerifier::visit ( CustomEventRecordV5 )
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 158 of file BlockVerifier.cpp.

References CustomEvent.

◆ visit() [5/12]

Error llvm::xray::BlockVerifier::visit ( EndBufferRecord )
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 176 of file BlockVerifier.cpp.

References EndOfBuffer.

◆ visit() [6/12]

Error llvm::xray::BlockVerifier::visit ( FunctionRecord )
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 180 of file BlockVerifier.cpp.

References Function.

◆ visit() [7/12]

Error llvm::xray::BlockVerifier::visit ( NewBufferRecord )
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 172 of file BlockVerifier.cpp.

References NewBuffer.

◆ visit() [8/12]

Error llvm::xray::BlockVerifier::visit ( NewCPUIDRecord )
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 146 of file BlockVerifier.cpp.

References NewCPUId.

◆ visit() [9/12]

Error llvm::xray::BlockVerifier::visit ( PIDRecord )
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 170 of file BlockVerifier.cpp.

References PIDEntry.

◆ visit() [10/12]

Error llvm::xray::BlockVerifier::visit ( TSCWrapRecord )
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 150 of file BlockVerifier.cpp.

References TSCWrap.

◆ visit() [11/12]

Error llvm::xray::BlockVerifier::visit ( TypedEventRecord )
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 162 of file BlockVerifier.cpp.

References TypedEvent.

◆ visit() [12/12]

Error llvm::xray::BlockVerifier::visit ( WallclockRecord )
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 142 of file BlockVerifier.cpp.

References WallClockTime.


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