Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Dialect/Math/Transforms/
H A DPolynomialApproximation.cpp591 Value cstOne = bcast(f32Cst(builder, 1.0f)); in logMatchAndRewrite() local
634 x = builder.create<arith::SubFOp>(x, cstOne); in logMatchAndRewrite()
636 e, builder.create<arith::SelectOp>(mask, cstOne, cstZero)); in logMatchAndRewrite()
743 Value cstOne = bcast(f32Cst(builder, 1.0f)); in matchAndRewrite() local
745 Value u = builder.create<arith::AddFOp>(x, cstOne); in matchAndRewrite()
753 logU, builder.create<arith::SubFOp>(u, cstOne))); in matchAndRewrite()
1041 Value cstOne = bcast(f32Cst(builder, 1.0f)); in matchAndRewrite() local
1047 Value uMinusOne = builder.create<arith::SubFOp>(u, cstOne); in matchAndRewrite()
1153 Value cstOne = bcast(f32Cst(builder, 1.0)); in matchAndRewrite() local
1184 Value base = select(sinuseCos, cstOne, y); in matchAndRewrite()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Utils/
H A DUtils.cpp311 Value cstOne = builder.create<arith::ConstantIndexOp>(loc, 1); in ceilDivPositive() local
312 Value divisorMinusOne = builder.create<arith::SubIOp>(loc, divisor, cstOne); in ceilDivPositive()