Lines Matching defs:operand

59 static Value createTruncatedFPValue(Value operand, ImplicitLocOpBuilder &b) {
60 Type opType = operand.getType();
64 Value fixedConvert = b.create<arith::FPToSIOp>(i64Ty, operand);
68 return b.create<math::CopySignOp>(fpFixedConvert, operand);
74 Value operand = op.getOperand();
75 Type opType = operand.getType();
77 Value exp = b.create<math::ExpOp>(operand);
78 Value neg = b.create<arith::NegFOp>(operand);
90 Value operand = op.getOperand();
91 Type opType = operand.getType();
93 Value exp = b.create<math::ExpOp>(operand);
94 Value neg = b.create<arith::NegFOp>(operand);
146 Value operand = op.getOperand();
147 Type type = operand.getType();
148 Value sin = b.create<math::SinOp>(type, operand);
149 Value cos = b.create<math::CosOp>(type, operand);
159 Value operand = op.getOperand();
160 Type opType = operand.getType();
163 Value fma = b.create<math::FmaOp>(operand, operand, one);
165 Value add = b.create<arith::AddFOp>(operand, sqrt);
175 Value operand = op.getOperand();
176 Type opType = operand.getType();
179 Value fma = b.create<math::FmaOp>(operand, operand, negOne);
181 Value add = b.create<arith::AddFOp>(operand, sqrt);
191 Value operand = op.getOperand();
192 Type opType = operand.getType();
195 Value add = b.create<arith::AddFOp>(operand, one);
196 Value neg = b.create<arith::NegFOp>(operand);
225 Value operand = op.getOperand();
226 Type opType = operand.getType();
227 Value fpFixedConvert = createTruncatedFPValue(operand, b);
233 Value gtCheck = b.create<arith::CmpFOp>(arith::CmpFPredicate::OGT, operand,
347 Value operand = op.getOperand();
348 Type opType = operand.getType();
350 Value mult = b.create<arith::MulFOp>(opType, operand, ln2);
360 Value operand = op.getOperand();
361 Type opType = operand.getType();
377 Value incrValue = b.create<math::CopySignOp>(half, operand);
378 Value add = b.create<arith::AddFOp>(opType, operand, incrValue);
401 Value operandBitcast = b.create<arith::BitcastOp>(i32Ty, operand);
408 Value result = b.create<arith::SelectOp>(isSpecialValOrLargeVal, operand,
418 auto operand = op.getOperand();
419 auto operandTy = operand.getType();
432 Value x = operand;
450 operand, zero);
463 auto operand = op.getOperand();
464 Type operandTy = operand.getType();
500 Value operandBitcast = b.create<arith::BitcastOp>(iTy, operand);
501 Value round = b.create<math::RoundOp>(operand);
504 // Get biased exponents for operand and round(operand)
573 // Adjust rounded operand with `round(operand) - sign(operand)` to correct the
575 Value sign = b.create<math::CopySignOp>(c1Float, operand);
585 result = b.create<math::CopySignOp>(result, operand);
594 auto operand = op.getOperand();
595 auto operandTy = operand.getType();
602 auto sqrtOp = rewriter.create<math::SqrtOp>(loc, operand);