MLIR
20.0.0git
|
This is a manager to store a collection of breakpoints that trigger on tags. More...
#include "mlir/Debug/BreakpointManagers/TagBreakpointManager.h"
Public Member Functions | |
Breakpoint * | match (const Action &action) const override |
Try to match a Breakpoint to a given Action. More... | |
TagBreakpoint * | addBreakpoint (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 |
This is a manager to store a collection of breakpoints that trigger on tags.
Definition at line 37 of file TagBreakpointManager.h.
|
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.
|
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().