MLIR  19.0.0git
Public Member Functions | List of all members
mlir::tracing::TagBreakpointManager Class Reference

This is a manager to store a collection of breakpoints that trigger on tags. More...

#include "mlir/Debug/BreakpointManagers/TagBreakpointManager.h"

+ Inheritance diagram for mlir::tracing::TagBreakpointManager:

Public Member Functions

Breakpointmatch (const Action &action) const override
 Try to match a Breakpoint to a given Action. More...
 
TagBreakpointaddBreakpoint (StringRef tag)
 Add a breakpoint to the manager for the given tag and return it. More...
 
- Public Member Functions inherited from mlir::tracing::BreakpointManagerBase< TagBreakpointManager >
 BreakpointManagerBase ()
 
- Public Member Functions inherited from mlir::tracing::BreakpointManager
virtual ~BreakpointManager ()=default
 
TypeID getTypeID () const
 TypeID for the subclass, used for casting purpose. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from mlir::tracing::BreakpointManagerBase< TagBreakpointManager >
static bool classof (const BreakpointManager *breakpointManager)
 Provide classof to allow casting between breakpoint manager types. More...
 
- Protected Member Functions inherited from mlir::tracing::BreakpointManager
 BreakpointManager (TypeID typeID)
 
- Protected Attributes inherited from mlir::tracing::BreakpointManager
TypeID typeID
 

Detailed Description

This is a manager to store a collection of breakpoints that trigger on tags.

Definition at line 37 of file TagBreakpointManager.h.

Member Function Documentation

◆ addBreakpoint()

TagBreakpoint* mlir::tracing::TagBreakpointManager::addBreakpoint ( StringRef  tag)
inline

Add a breakpoint to the manager for the given tag and return it.

If a breakpoint already exists for the given tag, return the existing instance.

Definition at line 50 of file TagBreakpointManager.h.

◆ match()

Breakpoint* mlir::tracing::TagBreakpointManager::match ( const Action action) const
inlineoverridevirtual

Try to match a Breakpoint to a given Action.

If there is a match and the breakpoint is enabled, return the breakpoint. Otherwise, return nullptr.

Implements mlir::tracing::BreakpointManager.

Definition at line 40 of file TagBreakpointManager.h.

References mlir::tracing::Action::getTag().


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