My Project
Public Member Functions | List of all members
mlir::Pass::Statistic Class Reference

#include <Pass.h>

Inheritance diagram for mlir::Pass::Statistic:
Inheritance graph
[legend]
Collaboration diagram for mlir::Pass::Statistic:
Collaboration graph
[legend]

Public Member Functions

 Statistic (Pass *owner, const char *name, const char *description)
 
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.

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.

Member Function Documentation

◆ operator=()

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

Assign the statistic to the given value.


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