MLIR  16.0.0git
Namespaces | Functions
CoversionUtils.h File Reference
#include "mlir/Dialect/Arith/IR/Arith.h"
#include "mlir/Dialect/Tensor/IR/Tensor.h"
#include "mlir/Dialect/Utils/StructuredOpsUtils.h"
#include "mlir/IR/PatternMatch.h"
+ Include dependency graph for CoversionUtils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::tosa
 

Functions

SmallVector< StringRef > mlir::tosa::getNParallelLoopsAttrs (unsigned nParallelLoops)
 
SmallVector< Valuemlir::tosa::condenseValues (const SmallVector< Value > &values)
 
Value mlir::tosa::clampFloatHelper (Location loc, Value arg, arith::ConstantOp min, arith::ConstantOp max, OpBuilder &rewriter)
 
Value mlir::tosa::clampIntHelper (Location loc, Value arg, arith::ConstantOp min, arith::ConstantOp max, OpBuilder &rewriter)
 
template<typename T >
void mlir::tosa::getValuesFromIntArrayAttribute (ArrayAttr attr, SmallVector< T > &arrayValues)
 
template<typename Op >
Optional< SmallVector< Value > > mlir::tosa::checkHasDynamicBatchDims (PatternRewriter &rewriter, Op op, ArrayRef< Value > params)