MLIR  19.0.0git
Public Member Functions | List of all members
mlir::Pass::Statistic Class Reference

This class represents a single pass statistic. More...

#include "mlir/Pass/Pass.h"

+ Inheritance diagram for mlir::Pass::Statistic:

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...
 
Statisticoperator= (unsigned value)
 Assign the statistic to the given value. More...
 

Detailed Description

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.

Definition at line 133 of file Pass.h.

Constructor & Destructor Documentation

◆ Statistic()

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.

Member Function Documentation

◆ operator=()

auto Pass::Statistic::operator= ( unsigned  value)

Assign the statistic to the given value.

Definition at line 184 of file PassStatistics.cpp.


The documentation for this class was generated from the following files: