MLIR  20.0.0git
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mlir::detail::AffineMapStorage Struct Referencefinal

#include "IR/AffineMapDetail.h"

+ Inheritance diagram for mlir::detail::AffineMapStorage:

Public Types

using KeyTy = std::tuple< unsigned, unsigned, ArrayRef< AffineExpr > >
 The hash key used for uniquing. More...
 

Public Member Functions

ArrayRef< AffineExprresults () const
 The affine expressions for this (multi-dimensional) map. More...
 
bool operator== (const KeyTy &key) const
 

Static Public Member Functions

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

Public Attributes

unsigned numDims
 
unsigned numSymbols
 
unsigned numResults
 
MLIRContextcontext
 

Additional Inherited Members

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

Detailed Description

Definition at line 25 of file AffineMapDetail.h.

Member Typedef Documentation

◆ KeyTy

using mlir::detail::AffineMapStorage::KeyTy = std::tuple<unsigned, unsigned, ArrayRef<AffineExpr> >

The hash key used for uniquing.

Definition at line 29 of file AffineMapDetail.h.

Member Function Documentation

◆ construct()

static AffineMapStorage* mlir::detail::AffineMapStorage::construct ( StorageUniquer::StorageAllocator allocator,
const KeyTy key 
)
inlinestatic

◆ operator==()

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

Definition at line 42 of file AffineMapDetail.h.

References numDims, numSymbols, and results().

◆ results()

ArrayRef<AffineExpr> mlir::detail::AffineMapStorage::results ( ) const
inline

The affine expressions for this (multi-dimensional) map.

Definition at line 38 of file AffineMapDetail.h.

References numResults.

Referenced by construct(), mlir::AffineMap::getResults(), and operator==().

Member Data Documentation

◆ context

MLIRContext* mlir::detail::AffineMapStorage::context

Definition at line 35 of file AffineMapDetail.h.

Referenced by mlir::AffineMap::getContext().

◆ numDims

unsigned mlir::detail::AffineMapStorage::numDims

◆ numResults

unsigned mlir::detail::AffineMapStorage::numResults

Definition at line 33 of file AffineMapDetail.h.

Referenced by results().

◆ numSymbols

unsigned mlir::detail::AffineMapStorage::numSymbols

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