Lines Matching full:action
11 #include "mlir/IR/Action.h"
22 bool ActionLogger::shouldLog(const ActionActiveStack *action) { in shouldLog() argument
28 return manager->match(action->getAction()); in shouldLog()
32 void ActionLogger::beforeExecute(const ActionActiveStack *action, in beforeExecute() argument
34 if (!shouldLog(action)) in beforeExecute()
53 os << "Action "; in beforeExecute()
55 action->getAction().print(os); in beforeExecute()
57 os << action->getAction().getTag(); in beforeExecute()
60 interleaveComma(action->getAction().getContextIRUnits(), os); in beforeExecute()
66 void ActionLogger::afterExecute(const ActionActiveStack *action) { in afterExecute() argument
67 if (!shouldLog(action)) in afterExecute()
75 os << "[thread " << name << "] completed `" << action->getAction().getTag() in afterExecute()