17#ifndef __LOCO_IR_VERIFIER_H__
18#define __LOCO_IR_VERIFIER_H__
60 uint32_t
index(
void)
const {
return _index; }
96bool valid(Graph *g, std::unique_ptr<ErrorListener> &&l =
nullptr);
ErrorDetail(loco::Node *node, uint32_t index)
loco::Node * node(void) const
The node with missing arguments.
uint32_t index(void) const
The missing argument index.
The details of each error.
Logical unit of computation.
ErrorCategory
Possible error categories.
bool valid(Graph *g, std::unique_ptr< ErrorListener > &&l=nullptr)
Validate a loco graph.
Error listener (with default implementation)
virtual ~ErrorListener()=default
void notify(const ErrorDetail< ErrorCategory::MissingArgument > &) override
Error listener interface.
virtual ~IErrorListener()=default
virtual void notify(const ErrorDetail< ErrorCategory::MissingArgument > &)=0