|
MLIR 22.0.0git
|
This class is used to keep track of the active actions in the stack. More...
#include "mlir/Debug/ExecutionContext.h"
Public Member Functions | |
| ActionActiveStack (const ActionActiveStack *parent, const Action &action, int depth) | |
| const ActionActiveStack * | getParent () const |
| const Action & | getAction () const |
| int | getDepth () const |
| void | print (raw_ostream &os, bool withContext) const |
| void | dump () const |
| Breakpoint * | getBreakpoint () const |
| void | setBreakpoint (Breakpoint *breakpoint) |
This class is used to keep track of the active actions in the stack.
It provides the current action but also access to the parent entry in the stack. This allows to keep track of the nested nature in which actions may be executed.
Definition at line 23 of file ExecutionContext.h.
|
inline |
Definition at line 25 of file ExecutionContext.h.
References ActionActiveStack().
Referenced by ActionActiveStack(), getParent(), and print().
|
inline |
Definition at line 32 of file ExecutionContext.h.
References print().
|
inline |
Definition at line 29 of file ExecutionContext.h.
Referenced by mlir::tracing::ActionLogger::afterExecute(), mlir::tracing::ActionLogger::beforeExecute(), and mlirDebuggerPrintContext().
|
inline |
Definition at line 36 of file ExecutionContext.h.
|
inline |
Definition at line 30 of file ExecutionContext.h.
Referenced by print().
|
inline |
Definition at line 28 of file ExecutionContext.h.
References ActionActiveStack().
Referenced by mlir::tracing::ExecutionContext::operator()().
| void ActionActiveStack::print | ( | raw_ostream & | os, |
| bool | withContext ) const |
Definition at line 21 of file ExecutionContext.cpp.
References ActionActiveStack(), mlir::tracing::Action::getContextIRUnits(), getDepth(), and mlir::tracing::Action::print().
Referenced by dump(), and mlirDebuggerPrintActionBacktrace().
|
inline |
Definition at line 37 of file ExecutionContext.h.
Referenced by mlir::tracing::ExecutionContext::operator()().