@@ -135,6 +135,87 @@ def Math_AbsIOp : Math_IntegerUnaryOp<"absi"> {
135
135
let hasFolder = 1;
136
136
}
137
137
138
+ //===----------------------------------------------------------------------===//
139
+ // AcoshOp
140
+ //===----------------------------------------------------------------------===//
141
+
142
+ def Math_AcoshOp : Math_FloatUnaryOp<"acosh">{
143
+ let summary = "Hyperbolic arcus cosine of the given value";
144
+ let description = [{
145
+ Syntax:
146
+
147
+ ```
148
+ operation ::= ssa-id `=` `math.acosh` ssa-use `:` type
149
+ ```
150
+
151
+ The `acosh` operation computes the arcus cosine of a given value. It takes
152
+ one operand of floating point type (i.e., scalar, tensor or vector) and returns
153
+ one result of the same type. It has no standard attributes.
154
+
155
+ Example:
156
+
157
+ ```mlir
158
+ // Hyperbolic arcus cosine of scalar value.
159
+ %a = math.acosh %b : f64
160
+ ```
161
+ }];
162
+ let hasFolder = 1;
163
+ }
164
+
165
+ //===----------------------------------------------------------------------===//
166
+ // AsinOp
167
+ //===----------------------------------------------------------------------===//
168
+
169
+ def Math_AsinOp : Math_FloatUnaryOp<"asin">{
170
+ let summary = "arcus sine of the given value";
171
+ let description = [{
172
+ Syntax:
173
+
174
+ ```
175
+ operation ::= ssa-id `=` `math.asin` ssa-use `:` type
176
+ ```
177
+
178
+ The `asin` operation computes the arcus sine of a given value. It takes
179
+ one operand of floating point type (i.e., scalar, tensor or vector) and returns
180
+ one result of the same type. It has no standard attributes.
181
+
182
+ Example:
183
+
184
+ ```mlir
185
+ // Arcus sine of scalar value.
186
+ %a = math.asin %b : f64
187
+ ```
188
+ }];
189
+ let hasFolder = 1;
190
+ }
191
+
192
+ //===----------------------------------------------------------------------===//
193
+ // AsinhOp
194
+ //===----------------------------------------------------------------------===//
195
+
196
+ def Math_AsinhOp : Math_FloatUnaryOp<"asinh">{
197
+ let summary = "hyperbolic arcus sine of the given value";
198
+ let description = [{
199
+ Syntax:
200
+
201
+ ```
202
+ operation ::= ssa-id `=` `math.asinh` ssa-use `:` type
203
+ ```
204
+
205
+ The `asinh` operation computes the hyperbolic arcus sine of a given value. It takes
206
+ one operand of floating point type (i.e., scalar, tensor or vector) and returns
207
+ one result of the same type. It has no standard attributes.
208
+
209
+ Example:
210
+
211
+ ```mlir
212
+ // Hyperbolic arcus sine of scalar value.
213
+ %a = math.asinh %b : f64
214
+ ```
215
+ }];
216
+ let hasFolder = 1;
217
+ }
218
+
138
219
//===----------------------------------------------------------------------===//
139
220
// AtanOp
140
221
//===----------------------------------------------------------------------===//
@@ -156,6 +237,33 @@ def Math_AtanOp : Math_FloatUnaryOp<"atan">{
156
237
let hasFolder = 1;
157
238
}
158
239
240
+ //===----------------------------------------------------------------------===//
241
+ // AtanhOp
242
+ //===----------------------------------------------------------------------===//
243
+
244
+ def Math_AtanhOp : Math_FloatUnaryOp<"atanh">{
245
+ let summary = "hyperbolic arcus tangent of the given value";
246
+ let description = [{
247
+ Syntax:
248
+
249
+ ```
250
+ operation ::= ssa-id `=` `math.atanh` ssa-use `:` type
251
+ ```
252
+
253
+ The `atanh` operation computes the hyperbolic arcus tangent of a given value. It takes
254
+ one operand of floating point type (i.e., scalar, tensor or vector) and returns
255
+ one result of the same type. It has no standard attributes.
256
+
257
+ Example:
258
+
259
+ ```mlir
260
+ // Hyperbolic arcus tangent of scalar value.
261
+ %a = math.atanh %b : f64
262
+ ```
263
+ }];
264
+ let hasFolder = 1;
265
+ }
266
+
159
267
//===----------------------------------------------------------------------===//
160
268
// Atan2Op
161
269
//===----------------------------------------------------------------------===//
0 commit comments