MLIR 22.0.0git
mlir::detail::AffineDimExprStorage Struct Reference

A dimensional or symbolic identifier appearing in an affine expression. More...

#include "IR/AffineExprDetail.h"

Inheritance diagram for mlir::detail::AffineDimExprStorage:

Public Types

using KeyTy = std::pair<unsigned, unsigned>

Public Member Functions

bool operator== (const KeyTy &key) const

Static Public Member Functions

static AffineDimExprStorageconstruct (StorageUniquer::StorageAllocator &allocator, const KeyTy &key)

Public Attributes

unsigned position
 Position of this identifier in the argument list.
Public Attributes inherited from mlir::detail::AffineExprStorage
MLIRContextcontext
AffineExprKind kind

Additional Inherited Members

Protected Member Functions inherited from mlir::StorageUniquer::BaseStorage
 BaseStorage ()=default

Detailed Description

A dimensional or symbolic identifier appearing in an affine expression.

Definition at line 57 of file AffineExprDetail.h.

Member Typedef Documentation

◆ KeyTy

Definition at line 58 of file AffineExprDetail.h.

Member Function Documentation

◆ construct()

AffineDimExprStorage * mlir::detail::AffineDimExprStorage::construct ( StorageUniquer::StorageAllocator & allocator,
const KeyTy & key )
inlinestatic

◆ operator==()

bool mlir::detail::AffineDimExprStorage::operator== ( const KeyTy & key) const
inline

Definition at line 60 of file AffineExprDetail.h.

References mlir::detail::AffineExprStorage::kind, and position.

Member Data Documentation

◆ position

unsigned mlir::detail::AffineDimExprStorage::position

Position of this identifier in the argument list.

Definition at line 74 of file AffineExprDetail.h.

Referenced by operator==().


The documentation for this struct was generated from the following file: