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

SDBM sum expression. LHS is a term expression and RHS is a constant. More...

#include <SDBMExpr.h>

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

Public Types

using ImplType = detail::SDBMBinaryExprStorage
 
- Public Types inherited from mlir::SDBMVaryingExpr
using ImplType = detail::SDBMExprStorage
 
- Public Types inherited from mlir::SDBMExpr
using ImplType = detail::SDBMExprStorage
 

Public Member Functions

SDBMTermExpr getLHS () const
 
SDBMConstantExpr getRHS () const
 
- Public Member Functions inherited from mlir::SDBMDirectExpr
SDBMTermExpr getTerm ()
 
int64_t getConstant ()
 If this is a sum expression, return its constant part, otherwise return 0. More...
 
- Public Member Functions inherited from mlir::SDBMExpr
 SDBMExpr ()
 
 SDBMExpr (ImplType *expr)
 
 SDBMExpr (const SDBMExpr &)=default
 
SDBMExproperator= (const SDBMExpr &)=default
 
bool operator== (const SDBMExpr &other) const
 SDBM expressions can be compared straight-forwardly. More...
 
bool operator!= (const SDBMExpr &other) const
 
 operator bool () const
 
bool operator! () const
 
SDBMExpr operator- ()
 Negate the given SDBM expression. More...
 
void print (raw_ostream &os) const
 Prints the SDBM expression. More...
 
void dump () const
 
template<typename U >
bool isa () const
 LLVM-style casts. More...
 
template<typename U >
dyn_cast () const
 
template<typename U >
cast () const
 
::llvm::hash_code hash_value () const
 Support for LLVM hashing. More...
 
SDBMExprKind getKind () const
 Returns the kind of the SDBM expression. More...
 
MLIRContextgetContext () const
 Returns the MLIR context in which this expression lives. More...
 
SDBMDialectgetDialect () const
 Returns the SDBM dialect instance. More...
 
AffineExpr getAsAffineExpr () const
 

Static Public Member Functions

static SDBMSumExpr get (SDBMTermExpr lhs, SDBMConstantExpr rhs)
 Obtain or create a sum expression unique'ed in the given context. More...
 
static bool isClassFor (const SDBMExpr &expr)
 
- Static Public Member Functions inherited from mlir::SDBMDirectExpr
static bool isClassFor (const SDBMExpr &expr)
 
- Static Public Member Functions inherited from mlir::SDBMVaryingExpr
static bool isClassFor (const SDBMExpr &expr)
 
- Static Public Member Functions inherited from mlir::SDBMExpr
static Optional< SDBMExprtryConvertAffineExpr (AffineExpr affine)
 

Additional Inherited Members

- Protected Attributes inherited from mlir::SDBMExpr
ImplTypeimpl
 

Detailed Description

SDBM sum expression. LHS is a term expression and RHS is a constant.

Member Typedef Documentation

◆ ImplType

Member Function Documentation

◆ get()

SDBMSumExpr SDBMSumExpr::get ( SDBMTermExpr  lhs,
SDBMConstantExpr  rhs 
)
static

Obtain or create a sum expression unique'ed in the given context.

◆ getLHS()

SDBMTermExpr SDBMSumExpr::getLHS ( ) const

◆ getRHS()

SDBMConstantExpr SDBMSumExpr::getRHS ( ) const

◆ isClassFor()

static bool mlir::SDBMSumExpr::isClassFor ( const SDBMExpr expr)
inlinestatic

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