MLIR  16.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:
+ Collaboration 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

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 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.

Referenced by construct(), and operator==().

Member Data Documentation

◆ context

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

Definition at line 35 of file AffineMapDetail.h.

◆ numDims

unsigned mlir::detail::AffineMapStorage::numDims

Definition at line 31 of file AffineMapDetail.h.

◆ numResults

unsigned mlir::detail::AffineMapStorage::numResults

Definition at line 33 of file AffineMapDetail.h.

◆ numSymbols

unsigned mlir::detail::AffineMapStorage::numSymbols

Definition at line 32 of file AffineMapDetail.h.


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