@@ -142,12 +142,6 @@ def Math_AbsIOp : Math_IntegerUnaryOp<"absi"> {
142
142
def Math_AtanOp : Math_FloatUnaryOp<"atan">{
143
143
let summary = "arcus tangent of the given value";
144
144
let description = [{
145
- Syntax:
146
-
147
- ```
148
- operation ::= ssa-id `=` `math.atan` ssa-use `:` type
149
- ```
150
-
151
145
The `atan` operation computes the arcus tangent of a given value. It takes
152
146
one operand of floating point type (i.e., scalar, tensor or vector) and returns
153
147
one result of the same type. It has no standard attributes.
@@ -169,12 +163,6 @@ def Math_AtanOp : Math_FloatUnaryOp<"atan">{
169
163
def Math_Atan2Op : Math_FloatBinaryOp<"atan2">{
170
164
let summary = "2-argument arcus tangent of the given values";
171
165
let description = [{
172
- Syntax:
173
-
174
- ```
175
- operation ::= ssa-id `=` `math.atan2` ssa-use `,` ssa-use `:` type
176
- ```
177
-
178
166
The `atan2` operation takes two operands and returns one result, all of
179
167
which must be of the same type. The operands must be of floating point type
180
168
(i.e., scalar, tensor or vector).
@@ -225,12 +213,6 @@ def Math_CbrtOp : Math_FloatUnaryOp<"cbrt"> {
225
213
def Math_CeilOp : Math_FloatUnaryOp<"ceil"> {
226
214
let summary = "ceiling of the specified value";
227
215
let description = [{
228
- Syntax:
229
-
230
- ```
231
- operation ::= ssa-id `=` `math.ceil` ssa-use `:` type
232
- ```
233
-
234
216
The `ceil` operation computes the ceiling of a given value. It takes one
235
217
operand of floating point type (i.e., scalar, tensor or vector) and returns one
236
218
result of the same type. It has no standard attributes.
@@ -252,12 +234,6 @@ def Math_CeilOp : Math_FloatUnaryOp<"ceil"> {
252
234
def Math_CopySignOp : Math_FloatBinaryOp<"copysign"> {
253
235
let summary = "A copysign operation";
254
236
let description = [{
255
- Syntax:
256
-
257
- ```
258
- operation ::= ssa-id `=` `math.copysign` ssa-use `,` ssa-use `:` type
259
- ```
260
-
261
237
The `copysign` returns a value with the magnitude of the first operand and
262
238
the sign of the second operand. It takes two operands and returns one result of
263
239
the same type. The operands must be of floating point type (i.e., scalar,
@@ -280,12 +256,6 @@ def Math_CopySignOp : Math_FloatBinaryOp<"copysign"> {
280
256
def Math_CosOp : Math_FloatUnaryOp<"cos"> {
281
257
let summary = "cosine of the specified value";
282
258
let description = [{
283
- Syntax:
284
-
285
- ```
286
- operation ::= ssa-id `=` `math.cos` ssa-use `:` type
287
- ```
288
-
289
259
The `cos` operation computes the cosine of a given value. It takes one
290
260
operand of floating point type (i.e., scalar, tensor or vector) and returns one
291
261
result of the same type. It has no standard attributes.
@@ -307,12 +277,6 @@ def Math_CosOp : Math_FloatUnaryOp<"cos"> {
307
277
def Math_AcosOp : Math_FloatUnaryOp<"acos"> {
308
278
let summary = "arcus cosine of the specified value";
309
279
let description = [{
310
- Syntax:
311
-
312
- ```
313
- operation ::= ssa-id `=` `math.acos` ssa-use `:` type
314
- ```
315
-
316
280
The `acos` operation computes the arcus cosine of a given value. It takes one
317
281
operand of floating point type (i.e., scalar, tensor or vector) and returns one
318
282
result of the same type. It has no standard attributes.
@@ -355,12 +319,6 @@ def Math_CoshOp : Math_FloatUnaryOp<"cosh"> {
355
319
def Math_SinOp : Math_FloatUnaryOp<"sin"> {
356
320
let summary = "sine of the specified value";
357
321
let description = [{
358
- Syntax:
359
-
360
- ```
361
- operation ::= ssa-id `=` `math.sin` ssa-use `:` type
362
- ```
363
-
364
322
The `sin` operation computes the sine of a given value. It takes one
365
323
operand of floating point type (i.e., scalar, tensor or vector) and returns one
366
324
result of the same type. It has no standard attributes.
@@ -463,12 +421,6 @@ def Math_CtPopOp : Math_IntegerUnaryOp<"ctpop"> {
463
421
def Math_ErfOp : Math_FloatUnaryOp<"erf"> {
464
422
let summary = "error function of the specified value";
465
423
let description = [{
466
- Syntax:
467
-
468
- ```
469
- operation ::= ssa-id `=` `math.erf` ssa-use `:` type
470
- ```
471
-
472
424
The `erf` operation computes the error function. It takes one operand of
473
425
floating point type (i.e., scalar, tensor or vector) and returns one result of
474
426
the same type. It has no standard attributes.
@@ -491,12 +443,6 @@ def Math_ErfOp : Math_FloatUnaryOp<"erf"> {
491
443
def Math_ExpOp : Math_FloatUnaryOp<"exp"> {
492
444
let summary = "base-e exponential of the specified value";
493
445
let description = [{
494
- Syntax:
495
-
496
- ```
497
- operation ::= ssa-id `=` `math.exp` ssa-use `:` type
498
- ```
499
-
500
446
The `exp` operation takes one operand of floating point type (i.e., scalar,
501
447
tensor or vector) and returns one result of the same type. It has no standard
502
448
attributes.
@@ -519,12 +465,6 @@ def Math_Exp2Op : Math_FloatUnaryOp<"exp2"> {
519
465
let summary = "base-2 exponential of the specified value";
520
466
521
467
let description = [{
522
- Syntax:
523
-
524
- ```
525
- operation ::= ssa-id `=` `math.exp2` ssa-use `:` type
526
- ```
527
-
528
468
The `exp` operation takes one operand of floating point type (i.e., scalar,
529
469
tensor or vector) and returns one result of the same type. It has no standard
530
470
attributes.
@@ -546,12 +486,6 @@ def Math_Exp2Op : Math_FloatUnaryOp<"exp2"> {
546
486
def Math_ExpM1Op : Math_FloatUnaryOp<"expm1"> {
547
487
let summary = "base-e exponential of the specified value minus 1";
548
488
let description = [{
549
- Syntax:
550
-
551
- ```
552
- operation ::= ssa-id `=` `math.expm1` ssa-use `:` type
553
- ```
554
-
555
489
expm1(x) := exp(x) - 1
556
490
557
491
The `expm1` operation takes one operand of floating point type (i.e.,
@@ -575,12 +509,6 @@ def Math_ExpM1Op : Math_FloatUnaryOp<"expm1"> {
575
509
def Math_FloorOp : Math_FloatUnaryOp<"floor"> {
576
510
let summary = "floor of the specified value";
577
511
let description = [{
578
- Syntax:
579
-
580
- ```
581
- operation ::= ssa-id `=` `math.floor` ssa-use `:` type
582
- ```
583
-
584
512
The `floor` operation computes the floor of a given value. It takes one
585
513
operand of floating point type (i.e., scalar, tensor or vector) and returns one
586
514
result of the same type. It has no standard attributes.
@@ -603,12 +531,6 @@ def Math_FloorOp : Math_FloatUnaryOp<"floor"> {
603
531
def Math_FmaOp : Math_FloatTernaryOp<"fma"> {
604
532
let summary = "floating point fused multipy-add operation";
605
533
let description = [{
606
- Syntax:
607
-
608
- ```
609
- operation ::= ssa-id `=` `math.fma` ssa-use `,` ssa-use `,` ssa-use `:` type
610
- ```
611
-
612
534
The `fma` operation takes three operands and returns one result, each of
613
535
these is required to be the same type. Operands must be of floating point type
614
536
(i.e., scalar, tensor or vector).
@@ -634,12 +556,6 @@ def Math_FmaOp : Math_FloatTernaryOp<"fma"> {
634
556
def Math_IPowIOp : Math_IntegerBinaryOp<"ipowi"> {
635
557
let summary = "signed integer raised to the power of operation";
636
558
let description = [{
637
- Syntax:
638
-
639
- ```
640
- operation ::= ssa-id `=` `math.ipowi` ssa-use `,` ssa-use `:` type
641
- ```
642
-
643
559
The `ipowi` operation takes two operands of integer type (i.e., scalar,
644
560
tensor or vector) and returns one result of the same type. Operands
645
561
must have the same type.
@@ -751,12 +667,6 @@ def Math_Log2Op : Math_FloatUnaryOp<"log2"> {
751
667
def Math_PowFOp : Math_FloatBinaryOp<"powf"> {
752
668
let summary = "floating point raised to the power of operation";
753
669
let description = [{
754
- Syntax:
755
-
756
- ```
757
- operation ::= ssa-id `=` `math.powf` ssa-use `,` ssa-use `:` type
758
- ```
759
-
760
670
The `powf` operation takes two operands of floating point type (i.e.,
761
671
scalar, tensor or vector) and returns one result of the same type. Operands
762
672
must have the same type.
@@ -861,12 +771,6 @@ def Math_TanhOp : Math_FloatUnaryOp<"tanh"> {
861
771
def Math_RoundEvenOp : Math_FloatUnaryOp<"roundeven"> {
862
772
let summary = "round of the specified value with halfway cases to even";
863
773
let description = [{
864
- Syntax:
865
-
866
- ```
867
- operation ::= ssa-id `=` `math.roundeven` ssa-use `:` type
868
- ```
869
-
870
774
The `roundeven` operation returns the operand rounded to the nearest integer
871
775
value in floating-point format. It takes one operand of floating point type
872
776
(i.e., scalar, tensor or vector) and produces one result of the same type. The
@@ -891,12 +795,6 @@ def Math_RoundEvenOp : Math_FloatUnaryOp<"roundeven"> {
891
795
def Math_RoundOp : Math_FloatUnaryOp<"round"> {
892
796
let summary = "round of the specified value";
893
797
let description = [{
894
- Syntax:
895
-
896
- ```
897
- operation ::= ssa-id `=` `math.round` ssa-use `:` type
898
- ```
899
-
900
798
The `round` operation returns the operand rounded to the nearest integer
901
799
value in floating-point format. It takes one operand of floating point type
902
800
(i.e., scalar, tensor or vector) and produces one result of the same type. The
@@ -921,12 +819,6 @@ def Math_RoundOp : Math_FloatUnaryOp<"round"> {
921
819
def Math_TruncOp : Math_FloatUnaryOp<"trunc"> {
922
820
let summary = "trunc of the specified value";
923
821
let description = [{
924
- Syntax:
925
-
926
- ```
927
- operation ::= ssa-id `=` `math.trunc` ssa-use `:` type
928
- ```
929
-
930
822
The `trunc` operation returns the operand rounded to the nearest integer
931
823
value in floating-point format. It takes one operand of floating point type
932
824
(i.e., scalar, tensor or vector) and produces one result of the same type.
@@ -952,12 +844,6 @@ def Math_FPowIOp : Math_Op<"fpowi",
952
844
DeclareOpInterfaceMethods<ArithFastMathInterface>]> {
953
845
let summary = "floating point raised to the signed integer power";
954
846
let description = [{
955
- Syntax:
956
-
957
- ```
958
- operation ::= ssa-id `=` `math.fpowi` ssa-use `,` ssa-use `:` type
959
- ```
960
-
961
847
The `fpowi` operation takes a `base` operand of floating point type
962
848
(i.e. scalar, tensor or vector) and a `power` operand of integer type
963
849
(also scalar, tensor or vector) and returns one result of the same type
0 commit comments