|
MLIR 22.0.0git
|
Helper struct to build simple arithmetic quantities with minimal type inference support. More...
#include "mlir/Dialect/Arith/Utils/Utils.h"
Public Member Functions | |
| 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) |
Helper struct to build simple arithmetic quantities with minimal type inference support.
|
inline |
Definition at line 104 of file Utils.h.
Referenced by mlir::ArithIndexingBuilder::ArithIndexingBuilder().
Definition at line 311 of file Utils.cpp.
Referenced by mlir::linalg::generateParallelLoopNest().
Definition at line 324 of file Utils.cpp.
Referenced by mlir::arith::createProduct().
Definition at line 334 of file Utils.cpp.
Referenced by mlir::linalg::generateParallelLoopNest().