Home
last modified time | relevance | path

Searched refs:clampHelper (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/Dialect/Tosa/Utils/
H A DCoversionUtils.h32 arith::SelectOp clampHelper(Location loc, Value arg, arith::ConstantOp min, in clampHelper() function
/llvm-project-15.0.7/mlir/lib/Conversion/TosaToLinalg/
H A DTosaToLinalg.cpp185 auto clamp = clampHelper<arith::CmpIOp>( in createLinalgBodyCalculationForElementwiseOp()
383 return clampHelper<arith::CmpFOp>(loc, args[0], min, max, in createLinalgBodyCalculationForElementwiseOp()
426 return clampHelper<arith::CmpFOp>(loc, args[0], zero, n, in createLinalgBodyCalculationForElementwiseOp()
435 return clampHelper<arith::CmpIOp>(loc, args[0], zero, n, in createLinalgBodyCalculationForElementwiseOp()
524 auto clamped = clampHelper<arith::CmpFOp>( in createLinalgBodyCalculationForElementwiseOp()
556 auto clamped = clampHelper<arith::CmpIOp>( in createLinalgBodyCalculationForElementwiseOp()
1317 value = clampHelper<arith::CmpIOp>( in matchAndRewrite()
1500 iy = clampHelper<arith::CmpIOp>(loc, iy, hwMin, hMax, in matchAndRewrite()
1502 ix = clampHelper<arith::CmpIOp>(loc, ix, hwMin, wMax, in matchAndRewrite()
1528 y0 = clampHelper<arith::CmpIOp>(loc, y0, hwMin, hMax, in matchAndRewrite()
[all …]
H A DTosaToLinalgNamed.cpp946 auto clamp = clampHelper<arith::CmpIOp>( in matchAndRewrite()