Lines Matching defs:atan
1100 {"atan", "atanf", genFuncType<Ty::Real<4>, Ty::Real<4>>,
1102 {"atan", "atan", genFuncType<Ty::Real<8>, Ty::Real<8>>,
1104 {"atan", RTNAME_STRING(AtanF128), FuncTypeReal16Real16, genLibF128Call},
1105 {"atan", "catanf", genFuncType<Ty::Complex<4>, Ty::Complex<4>>, genLibCall},
1106 {"atan", "catan", genFuncType<Ty::Complex<8>, Ty::Complex<8>>, genLibCall},
1107 {"atan", RTNAME_STRING(CAtanF128), FuncTypeComplex16Complex16,
1109 {"atan", "atan2f", genFuncType<Ty::Real<4>, Ty::Real<4>, Ty::Real<4>>,
1111 {"atan", "atan2", genFuncType<Ty::Real<8>, Ty::Real<8>, Ty::Real<8>>,
1113 {"atan", RTNAME_STRING(Atan2F128), FuncTypeReal16Real16Real16,
2560 mlir::Value atan;
2562 // atand = atan * 180/pi
2564 atan = builder.create<mlir::math::Atan2Op>(loc, fir::getBase(args[0]),
2569 atan = getRuntimeCallGenerator("atan", ftype)(builder, loc, args);
2575 return builder.create<mlir::arith::MulFOp>(loc, atan, factor);
2584 mlir::Value atan;
2587 // atanpi = atan / pi
2589 atan = builder.create<mlir::math::Atan2Op>(loc, fir::getBase(args[0]),
2594 atan = getRuntimeCallGenerator("atan", ftype)(builder, loc, args);
2600 return builder.create<mlir::arith::MulFOp>(loc, atan, factor);