Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Conversion/TosaToLinalg/
H A DTosaToLinalg.cpp1447 Value shiftVal = rewriter.create<arith::ConstantOp>( in matchAndRewrite() local
1456 iy = rewriter.create<arith::ShRSIOp>(loc, y, shiftVal); in matchAndRewrite()
1457 ix = rewriter.create<arith::ShRSIOp>(loc, x, shiftVal); in matchAndRewrite()
1459 Value yTrunc = rewriter.create<arith::ShLIOp>(loc, iy, shiftVal); in matchAndRewrite()
1460 Value xTrunc = rewriter.create<arith::ShLIOp>(loc, ix, shiftVal); in matchAndRewrite()
H A DTosaToLinalgNamed.cpp916 Value shiftVal = rewriter.create<arith::ConstantOp>( in matchAndRewrite() local
923 shiftVal, rewriter.getBoolAttr(false)) in matchAndRewrite()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dfold-integer.cpp753 auto shiftVal{static_cast<int>(shift.ToInt64())}; in FoldIntrinsicFunction() local
755 return i.ISHFTC(shiftVal, sizeVal); in FoldIntrinsicFunction()
H A Dintrinsics.cpp2405 if (auto shiftVal{ToInt64(shiftArg->UnwrapExpr())}) { in ApplySpecificChecks() local
2406 if (std::abs(*shiftVal) > *sizeVal) { in ApplySpecificChecks()