My Project
Public Types | Public Member Functions | List of all members
mlir::AffineDimExpr Class Reference

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

#include <AffineExpr.h>

Inheritance diagram for mlir::AffineDimExpr:
Inheritance graph
[legend]
Collaboration diagram for mlir::AffineDimExpr:
Collaboration graph
[legend]

Public Types

using ImplType = detail::AffineDimExprStorage
 
- Public Types inherited from mlir::AffineExpr
using ImplType = detail::AffineExprStorage
 

Public Member Functions

 AffineDimExpr (AffineExpr::ImplType *ptr)
 
unsigned getPosition () const
 
- Public Member Functions inherited from mlir::AffineExpr
 AffineExpr ()
 
 AffineExpr (const ImplType *expr)
 
 AffineExpr (const AffineExpr &other)
 
AffineExproperator= (AffineExpr other)
 
bool operator== (AffineExpr other) const
 
bool operator!= (AffineExpr other) const
 
bool operator== (int64_t v) const
 
bool operator!= (int64_t v) const
 
 operator bool () const
 
bool operator! () const
 
template<typename U >
bool isa () const
 
template<typename U >
dyn_cast () const
 
template<typename U >
dyn_cast_or_null () const
 
template<typename U >
cast () const
 
MLIRContextgetContext () const
 
AffineExprKind getKind () const
 Return the classification for this type. More...
 
void print (raw_ostream &os) const
 
void dump () const
 
bool isSymbolicOrConstant () const
 
bool isPureAffine () const
 
int64_t getLargestKnownDivisor () const
 
bool isMultipleOf (int64_t factor) const
 Return true if the affine expression is a multiple of 'factor'. More...
 
bool isFunctionOfDim (unsigned position) const
 Return true if the affine expression involves AffineDimExpr position. More...
 
void walk (std::function< void(AffineExpr)> callback) const
 Walk all of the AffineExpr's in this expression in postorder. More...
 
AffineExpr replaceDimsAndSymbols (ArrayRef< AffineExpr > dimReplacements, ArrayRef< AffineExpr > symReplacements) const
 
AffineExpr operator+ (int64_t v) const
 
AffineExpr operator+ (AffineExpr other) const
 
AffineExpr operator- () const
 
AffineExpr operator- (int64_t v) const
 
AffineExpr operator- (AffineExpr other) const
 
AffineExpr operator* (int64_t v) const
 
AffineExpr operator* (AffineExpr other) const
 
AffineExpr floorDiv (uint64_t v) const
 
AffineExpr floorDiv (AffineExpr other) const
 
AffineExpr ceilDiv (uint64_t v) const
 
AffineExpr ceilDiv (AffineExpr other) const
 
AffineExpr operator% (uint64_t v) const
 
AffineExpr operator% (AffineExpr other) const
 
AffineExpr compose (AffineMap map) const
 

Additional Inherited Members

- Protected Attributes inherited from mlir::AffineExpr
ImplTypeexpr
 

Detailed Description

A dimensional identifier appearing in an affine expression.

Member Typedef Documentation

◆ ImplType

Constructor & Destructor Documentation

◆ AffineDimExpr()

AffineDimExpr::AffineDimExpr ( AffineExpr::ImplType ptr)

Member Function Documentation

◆ getPosition()

unsigned AffineDimExpr::getPosition ( ) const

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