Searched refs:oneVal (Results 1 – 2 of 2) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/Conversion/TosaToLinalg/ |
| H A D | TosaToLinalg.cpp | 1487 auto oneVal = rewriter.create<arith::ConstantOp>( in matchAndRewrite() local 1491 rewriter.create<arith::SelectOp>(loc, yPred, oneVal, zeroVal); in matchAndRewrite() 1493 rewriter.create<arith::SelectOp>(loc, xPred, oneVal, zeroVal); in matchAndRewrite() 1523 auto oneVal = rewriter.create<arith::ConstantOp>( in matchAndRewrite() local 1525 Value y1 = rewriter.create<arith::AddIOp>(loc, y0, oneVal); in matchAndRewrite() 1526 Value x1 = rewriter.create<arith::AddIOp>(loc, x0, oneVal); in matchAndRewrite() 1557 auto oneVal = rewriter.create<arith::ConstantOp>( in matchAndRewrite() local 1560 Value leftPart = rewriter.create<arith::SubFOp>(loc, oneVal, dx); in matchAndRewrite() 1571 Value topPart = rewriter.create<arith::SubFOp>(loc, oneVal, dy); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/IR/ |
| H A D | LinalgInterfaces.cpp | 514 Value oneVal = b.create<arith::ConstantIndexOp>(loc, 1); in createLoopRanges() local 520 res[d.getPosition()] = Range{zeroVal, viewSizes[idx], oneVal}; in createLoopRanges()
|