Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Conversion/TosaToArith/
H A DTosaToArith.cpp203 Value roundBit = rewriter.create<arith::ShLIOp>(loc, one32, shiftSubOne); in matchAndRewrite() local
204 roundBit = rewriter.create<arith::SelectOp>(loc, roundHighBits, zero32, in matchAndRewrite()
205 roundBit); in matchAndRewrite()
207 Value newLow32 = rewriter.create<arith::AddIOp>(loc, low32, roundBit); in matchAndRewrite()
220 Value roundBit = rewriter.create<arith::ShLIOp>(loc, one32, shiftSubOne); in matchAndRewrite() local
221 roundBit = rewriter.create<arith::SelectOp>(loc, roundHighBits, roundBit, in matchAndRewrite()
223 high32 = rewriter.create<arith::AddIOp>(loc, high32, roundBit); in matchAndRewrite()