MLIR  21.0.0git
Public Member Functions | List of all members
mlir::ArithIndexingBuilder Struct Reference

ArithBuilder specialized specifically for tensor/memref indexing calculations. More...

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

+ Inheritance diagram for mlir::ArithIndexingBuilder:

Public Member Functions

 ArithIndexingBuilder (OpBuilder &b, Location loc)
 
- Public Member Functions inherited from mlir::ArithBuilder
 ArithBuilder (OpBuilder &b, Location loc, arith::IntegerOverflowFlags ovf=arith::IntegerOverflowFlags::none)
 
Value _and (Value lhs, Value rhs)
 
Value add (Value lhs, Value rhs)
 
Value sub (Value lhs, Value rhs)
 
Value mul (Value lhs, Value rhs)
 
Value select (Value cmp, Value lhs, Value rhs)
 
Value sgt (Value lhs, Value rhs)
 
Value slt (Value lhs, Value rhs)
 

Detailed Description

ArithBuilder specialized specifically for tensor/memref indexing calculations.

Those calculations generally should never signed overflow and always use signed integers, so we can set oveflow flags accordingly.

Definition at line 126 of file Utils.h.

Constructor & Destructor Documentation

◆ ArithIndexingBuilder()

mlir::ArithIndexingBuilder::ArithIndexingBuilder ( OpBuilder b,
Location  loc 
)
inline

Definition at line 127 of file Utils.h.


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