MLIR
20.0.0git
|
This class represents a single pass statistic. More...
#include "mlir/Pass/Pass.h"
Public Member Functions | |
Statistic (Pass *owner, const char *name, const char *description) | |
The statistic is initialized by the pass owner, a name, and a description. More... | |
Statistic & | operator= (unsigned value) |
Assign the statistic to the given value. More... | |
This class represents a single pass statistic.
This statistic functions similarly to an unsigned integer value, and may be updated and incremented accordingly. This class can be used to provide additional information about the transformations and analyses performed by a pass.
Pass::Statistic::Statistic | ( | Pass * | owner, |
const char * | name, | ||
const char * | description | ||
) |
The statistic is initialized by the pass owner, a name, and a description.
Definition at line 168 of file PassStatistics.cpp.
auto Pass::Statistic::operator= | ( | unsigned | value | ) |
Assign the statistic to the given value.
Definition at line 184 of file PassStatistics.cpp.