LLVM  8.0.1
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]
Collaboration diagram for llvm::xray::BlockVerifier:
Collaboration graph
[legend]

Public Types

enum  State : std::size_t {
  State::Unknown, State::BufferExtents, State::NewBuffer, State::WallClockTime,
  State::PIDEntry, State::NewCPUId, State::TSCWrap, State::CustomEvent,
  State::TypedEvent, State::Function, State::CallArg, State::EndOfBuffer,
  State::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
 

Detailed Description

Definition at line 24 of file BlockVerifier.h.

Member Enumeration Documentation

◆ State

enum 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 27 of file BlockVerifier.h.

Member Function Documentation

◆ reset()

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

Definition at line 202 of file BlockVerifier.cpp.

References llvm::Unknown.

◆ verify()

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

◆ visit() [1/12]

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

Implements llvm::xray::RecordVisitor.

Definition at line 137 of file BlockVerifier.cpp.

◆ visit() [2/12]

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

Implements llvm::xray::RecordVisitor.

Definition at line 141 of file BlockVerifier.cpp.

◆ visit() [3/12]

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

Implements llvm::xray::RecordVisitor.

Definition at line 145 of file BlockVerifier.cpp.

◆ visit() [4/12]

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

Implements llvm::xray::RecordVisitor.

Definition at line 149 of file BlockVerifier.cpp.

◆ visit() [5/12]

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

Implements llvm::xray::RecordVisitor.

Definition at line 153 of file BlockVerifier.cpp.

◆ visit() [6/12]

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

Implements llvm::xray::RecordVisitor.

Definition at line 165 of file BlockVerifier.cpp.

References llvm::NVPTXISD::CallArg.

◆ visit() [7/12]

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

Implements llvm::xray::RecordVisitor.

Definition at line 169 of file BlockVerifier.cpp.

◆ visit() [8/12]

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

Implements llvm::xray::RecordVisitor.

Definition at line 171 of file BlockVerifier.cpp.

◆ visit() [9/12]

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

Implements llvm::xray::RecordVisitor.

Definition at line 175 of file BlockVerifier.cpp.

◆ visit() [10/12]

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

Implements llvm::xray::RecordVisitor.

Definition at line 179 of file BlockVerifier.cpp.

◆ visit() [11/12]

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

Implements llvm::xray::RecordVisitor.

Definition at line 157 of file BlockVerifier.cpp.

◆ visit() [12/12]

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

Implements llvm::xray::RecordVisitor.

Definition at line 161 of file BlockVerifier.cpp.


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