MLIR  20.0.0git
Public Member Functions | List of all members
mlir::affine::AffineBuilder Struct Reference

Helper struct to build simple AffineValueExprs with minimal type inference support. More...

#include "mlir/Dialect/Affine/Utils.h"

Public Member Functions

 AffineBuilder (OpBuilder &b, Location loc)
 
OpFoldResult add (AffineValueExpr lhs, AffineValueExpr rhs)
 
OpFoldResult sub (AffineValueExpr lhs, AffineValueExpr rhs)
 
OpFoldResult mul (AffineValueExpr lhs, AffineValueExpr rhs)
 
OpFoldResult floor (AffineValueExpr lhs, AffineValueExpr rhs)
 
OpFoldResult ceil (AffineValueExpr lhs, AffineValueExpr rhs)
 
OpFoldResult min (ArrayRef< OpFoldResult > vals)
 
OpFoldResult max (ArrayRef< OpFoldResult > vals)
 

Detailed Description

Helper struct to build simple AffineValueExprs with minimal type inference support.

Definition at line 349 of file Utils.h.

Constructor & Destructor Documentation

◆ AffineBuilder()

mlir::affine::AffineBuilder::AffineBuilder ( OpBuilder b,
Location  loc 
)
inline

Definition at line 350 of file Utils.h.

Member Function Documentation

◆ add()

OpFoldResult mlir::affine::AffineBuilder::add ( AffineValueExpr  lhs,
AffineValueExpr  rhs 
)
inline

◆ ceil()

OpFoldResult mlir::affine::AffineBuilder::ceil ( AffineValueExpr  lhs,
AffineValueExpr  rhs 
)
inline

◆ floor()

OpFoldResult mlir::affine::AffineBuilder::floor ( AffineValueExpr  lhs,
AffineValueExpr  rhs 
)
inline

◆ max()

OpFoldResult mlir::affine::AffineBuilder::max ( ArrayRef< OpFoldResult vals)
inline

◆ min()

OpFoldResult mlir::affine::AffineBuilder::min ( ArrayRef< OpFoldResult vals)
inline

◆ mul()

OpFoldResult mlir::affine::AffineBuilder::mul ( AffineValueExpr  lhs,
AffineValueExpr  rhs 
)
inline

◆ sub()

OpFoldResult mlir::affine::AffineBuilder::sub ( AffineValueExpr  lhs,
AffineValueExpr  rhs 
)
inline

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