Lines Matching defs:half
81 Value half = createFloatConst(op->getLoc(), opType, 0.5, rewriter);
82 Value res = b.create<arith::MulFOp>(sub, half);
97 Value half = createFloatConst(op->getLoc(), opType, 0.5, rewriter);
98 Value res = b.create<arith::MulFOp>(add, half);
200 Value half = createFloatConst(op->getLoc(), opType, 0.5, rewriter);
201 Value res = b.create<arith::MulFOp>(log, half);
372 Value half = createFloatConst(loc, opType, 0.5, b);
377 Value incrValue = b.create<math::CopySignOp>(half, operand);
435 auto half = bw / 2;
436 auto bits = createIntConst(loc, operandTy, half, rewriter);
437 auto mask = createIntConst(loc, operandTy, allbits >> half, rewriter);
563 // Ensure `biasedExp` is in the valid range for half values.