@@ -58,7 +58,7 @@ def FloatIntegerIndexOrOpaqueType : AnyTypeOf<[EmitCFloatType, IntegerIndexOrOpa
5858def EmitC_AddOp : EmitC_BinaryOp<"add", [CExpression]> {
5959 let summary = "Addition operation";
6060 let description = [{
61- With the `add` operation the arithmetic operator + (addition) can
61+ With the `emitc. add` operation the arithmetic operator + (addition) can
6262 be applied.
6363
6464 Example:
@@ -81,7 +81,7 @@ def EmitC_AddOp : EmitC_BinaryOp<"add", [CExpression]> {
8181def EmitC_ApplyOp : EmitC_Op<"apply", [CExpression]> {
8282 let summary = "Apply operation";
8383 let description = [{
84- With the `apply` operation the operators & (address of) and * (contents of)
84+ With the `emitc. apply` operation the operators & (address of) and * (contents of)
8585 can be applied to a single operand.
8686
8787 Example:
@@ -110,7 +110,7 @@ def EmitC_ApplyOp : EmitC_Op<"apply", [CExpression]> {
110110def EmitC_BitwiseAndOp : EmitC_BinaryOp<"bitwise_and", [CExpression]> {
111111 let summary = "Bitwise and operation";
112112 let description = [{
113- With the `bitwise_and` operation the bitwise operator & (and) can
113+ With the `emitc. bitwise_and` operation the bitwise operator & (and) can
114114 be applied.
115115
116116 Example:
@@ -129,7 +129,7 @@ def EmitC_BitwiseLeftShiftOp : EmitC_BinaryOp<"bitwise_left_shift",
129129 [CExpression]> {
130130 let summary = "Bitwise left shift operation";
131131 let description = [{
132- With the `bitwise_left_shift` operation the bitwise operator <<
132+ With the `emitc. bitwise_left_shift` operation the bitwise operator <<
133133 (left shift) can be applied.
134134
135135 Example:
@@ -147,7 +147,7 @@ def EmitC_BitwiseLeftShiftOp : EmitC_BinaryOp<"bitwise_left_shift",
147147def EmitC_BitwiseNotOp : EmitC_UnaryOp<"bitwise_not", [CExpression]> {
148148 let summary = "Bitwise not operation";
149149 let description = [{
150- With the `bitwise_not` operation the bitwise operator ~ (not) can
150+ With the `emitc. bitwise_not` operation the bitwise operator ~ (not) can
151151 be applied.
152152
153153 Example:
@@ -165,7 +165,7 @@ def EmitC_BitwiseNotOp : EmitC_UnaryOp<"bitwise_not", [CExpression]> {
165165def EmitC_BitwiseOrOp : EmitC_BinaryOp<"bitwise_or", [CExpression]> {
166166 let summary = "Bitwise or operation";
167167 let description = [{
168- With the `bitwise_or` operation the bitwise operator | (or)
168+ With the `emitc. bitwise_or` operation the bitwise operator | (or)
169169 can be applied.
170170
171171 Example:
@@ -184,7 +184,7 @@ def EmitC_BitwiseRightShiftOp : EmitC_BinaryOp<"bitwise_right_shift",
184184 [CExpression]> {
185185 let summary = "Bitwise right shift operation";
186186 let description = [{
187- With the `bitwise_right_shift` operation the bitwise operator >>
187+ With the `emitc. bitwise_right_shift` operation the bitwise operator >>
188188 (right shift) can be applied.
189189
190190 Example:
@@ -202,7 +202,7 @@ def EmitC_BitwiseRightShiftOp : EmitC_BinaryOp<"bitwise_right_shift",
202202def EmitC_BitwiseXorOp : EmitC_BinaryOp<"bitwise_xor", [CExpression]> {
203203 let summary = "Bitwise xor operation";
204204 let description = [{
205- With the `bitwise_xor` operation the bitwise operator ^ (xor)
205+ With the `emitc. bitwise_xor` operation the bitwise operator ^ (xor)
206206 can be applied.
207207
208208 Example:
@@ -220,7 +220,7 @@ def EmitC_BitwiseXorOp : EmitC_BinaryOp<"bitwise_xor", [CExpression]> {
220220def EmitC_CallOpaqueOp : EmitC_Op<"call_opaque", [CExpression]> {
221221 let summary = "Opaque call operation";
222222 let description = [{
223- The `call_opaque` operation represents a C++ function call. The callee
223+ The `emitc. call_opaque` operation represents a C++ function call. The callee
224224 can be an arbitrary non-empty string. The call allows specifying order
225225 of operands and attributes in the call as follows:
226226
@@ -269,7 +269,7 @@ def EmitC_CastOp : EmitC_Op<"cast",
269269 SameOperandsAndResultShape]> {
270270 let summary = "Cast operation";
271271 let description = [{
272- The `cast` operation performs an explicit type conversion and is emitted
272+ The `emitc. cast` operation performs an explicit type conversion and is emitted
273273 as a C-style cast expression. It can be applied to integer, float, index
274274 and EmitC types.
275275
@@ -293,7 +293,7 @@ def EmitC_CastOp : EmitC_Op<"cast",
293293def EmitC_CmpOp : EmitC_BinaryOp<"cmp", [CExpression]> {
294294 let summary = "Comparison operation";
295295 let description = [{
296- With the `cmp` operation the comparison operators ==, !=, <, <=, >, >=, <=>
296+ With the `emitc. cmp` operation the comparison operators ==, !=, <, <=, >, >=, <=>
297297 can be applied.
298298
299299 Its first argument is an attribute that defines the comparison operator:
@@ -334,10 +334,10 @@ def EmitC_CmpOp : EmitC_BinaryOp<"cmp", [CExpression]> {
334334def EmitC_ConstantOp : EmitC_Op<"constant", [ConstantLike]> {
335335 let summary = "Constant operation";
336336 let description = [{
337- The `constant` operation produces an SSA value equal to some constant
337+ The `emitc. constant` operation produces an SSA value equal to some constant
338338 specified by an attribute. This can be used to form simple integer and
339339 floating point constants, as well as more exotic things like tensor
340- constants. The `constant` operation also supports the EmitC opaque
340+ constants. The `emitc. constant` operation also supports the EmitC opaque
341341 attribute and the EmitC opaque type. Since folding is supported,
342342 it should not be used with pointers.
343343
@@ -363,7 +363,7 @@ def EmitC_ConstantOp : EmitC_Op<"constant", [ConstantLike]> {
363363def EmitC_DivOp : EmitC_BinaryOp<"div", [CExpression]> {
364364 let summary = "Division operation";
365365 let description = [{
366- With the `div` operation the arithmetic operator / (division) can
366+ With the `emitc. div` operation the arithmetic operator / (division) can
367367 be applied.
368368
369369 Example:
@@ -389,7 +389,7 @@ def EmitC_ExpressionOp : EmitC_Op<"expression",
389389 NoRegionArguments]> {
390390 let summary = "Expression operation";
391391 let description = [{
392- The `expression` operation returns a single SSA value which is yielded by
392+ The `emitc. expression` operation returns a single SSA value which is yielded by
393393 its single-basic-block region. The operation doesn't take any arguments.
394394
395395 As the operation is to be emitted as a C expression, the operations within
@@ -593,8 +593,8 @@ def EmitC_DeclareFuncOp : EmitC_Op<"declare_func", [
593593]> {
594594 let summary = "An operation to declare a function";
595595 let description = [{
596- The `declare_func` operation allows to insert a function declaration for an
597- `emitc.func` at a specific position. The operation only requires the ` callee`
596+ The `emitc. declare_func` operation allows to insert a function declaration for an
597+ `emitc.func` at a specific position. The operation only requires the " callee"
598598 of the `emitc.func` to be specified as an attribute.
599599
600600 Example:
@@ -733,7 +733,7 @@ def EmitC_IncludeOp
733733 : EmitC_Op<"include", [HasParent<"ModuleOp">]> {
734734 let summary = "Include operation";
735735 let description = [{
736- The `include` operation allows to define a source file inclusion via the
736+ The `emitc. include` operation allows to define a source file inclusion via the
737737 `#include` directive.
738738
739739 Example:
@@ -762,7 +762,7 @@ def EmitC_IncludeOp
762762def EmitC_LiteralOp : EmitC_Op<"literal", [Pure]> {
763763 let summary = "Literal operation";
764764 let description = [{
765- The `literal` operation produces an SSA value equal to some constant
765+ The `emitc. literal` operation produces an SSA value equal to some constant
766766 specified by an attribute.
767767 }];
768768
@@ -776,7 +776,7 @@ def EmitC_LiteralOp : EmitC_Op<"literal", [Pure]> {
776776def EmitC_LogicalAndOp : EmitC_BinaryOp<"logical_and", [CExpression]> {
777777 let summary = "Logical and operation";
778778 let description = [{
779- With the `logical_and` operation the logical operator && (and) can
779+ With the `emitc. logical_and` operation the logical operator && (and) can
780780 be applied.
781781
782782 Example:
@@ -797,7 +797,7 @@ def EmitC_LogicalAndOp : EmitC_BinaryOp<"logical_and", [CExpression]> {
797797def EmitC_LogicalNotOp : EmitC_UnaryOp<"logical_not", [CExpression]> {
798798 let summary = "Logical not operation";
799799 let description = [{
800- With the `logical_not` operation the logical operator ! (negation) can
800+ With the `emitc. logical_not` operation the logical operator ! (negation) can
801801 be applied.
802802
803803 Example:
@@ -818,7 +818,7 @@ def EmitC_LogicalNotOp : EmitC_UnaryOp<"logical_not", [CExpression]> {
818818def EmitC_LogicalOrOp : EmitC_BinaryOp<"logical_or", [CExpression]> {
819819 let summary = "Logical or operation";
820820 let description = [{
821- With the `logical_or` operation the logical operator || (inclusive or)
821+ With the `emitc. logical_or` operation the logical operator || (inclusive or)
822822 can be applied.
823823
824824 Example:
@@ -839,7 +839,7 @@ def EmitC_LogicalOrOp : EmitC_BinaryOp<"logical_or", [CExpression]> {
839839def EmitC_MulOp : EmitC_BinaryOp<"mul", [CExpression]> {
840840 let summary = "Multiplication operation";
841841 let description = [{
842- With the `mul` operation the arithmetic operator * (multiplication) can
842+ With the `emitc. mul` operation the arithmetic operator * (multiplication) can
843843 be applied.
844844
845845 Example:
@@ -863,7 +863,7 @@ def EmitC_MulOp : EmitC_BinaryOp<"mul", [CExpression]> {
863863def EmitC_RemOp : EmitC_BinaryOp<"rem", [CExpression]> {
864864 let summary = "Remainder operation";
865865 let description = [{
866- With the `rem` operation the arithmetic operator % (remainder) can
866+ With the `emitc. rem` operation the arithmetic operator % (remainder) can
867867 be applied.
868868
869869 Example:
@@ -885,7 +885,7 @@ def EmitC_RemOp : EmitC_BinaryOp<"rem", [CExpression]> {
885885def EmitC_SubOp : EmitC_BinaryOp<"sub", [CExpression]> {
886886 let summary = "Subtraction operation";
887887 let description = [{
888- With the `sub` operation the arithmetic operator - (subtraction) can
888+ With the `emitc. sub` operation the arithmetic operator - (subtraction) can
889889 be applied.
890890
891891 Example:
@@ -911,7 +911,7 @@ def EmitC_SubOp : EmitC_BinaryOp<"sub", [CExpression]> {
911911def EmitC_MemberOp : EmitC_Op<"member"> {
912912 let summary = "Member operation";
913913 let description = [{
914- With the `member` operation the member access operator `.` can be
914+ With the `emitc. member` operation the member access operator `.` can be
915915 applied.
916916
917917 Example:
@@ -932,7 +932,7 @@ def EmitC_MemberOp : EmitC_Op<"member"> {
932932def EmitC_MemberOfPtrOp : EmitC_Op<"member_of_ptr"> {
933933 let summary = "Member of pointer operation";
934934 let description = [{
935- With the `member_of_ptr` operation the member access operator `->`
935+ With the `emitc. member_of_ptr` operation the member access operator `->`
936936 can be applied.
937937
938938 Example:
@@ -954,7 +954,7 @@ def EmitC_ConditionalOp : EmitC_Op<"conditional",
954954 [AllTypesMatch<["true_value", "false_value", "result"]>, CExpression]> {
955955 let summary = "Conditional (ternary) operation";
956956 let description = [{
957- With the `conditional` operation the ternary conditional operator can
957+ With the `emitc. conditional` operation the ternary conditional operator can
958958 be applied.
959959
960960 Example:
@@ -983,7 +983,7 @@ def EmitC_ConditionalOp : EmitC_Op<"conditional",
983983def EmitC_UnaryMinusOp : EmitC_UnaryOp<"unary_minus", [CExpression]> {
984984 let summary = "Unary minus operation";
985985 let description = [{
986- With the `unary_minus` operation the unary operator - (minus) can be
986+ With the `emitc. unary_minus` operation the unary operator - (minus) can be
987987 applied.
988988
989989 Example:
@@ -1001,7 +1001,7 @@ def EmitC_UnaryMinusOp : EmitC_UnaryOp<"unary_minus", [CExpression]> {
10011001def EmitC_UnaryPlusOp : EmitC_UnaryOp<"unary_plus", [CExpression]> {
10021002 let summary = "Unary plus operation";
10031003 let description = [{
1004- With the `unary_plus` operation the unary operator + (plus) can be
1004+ With the `emitc. unary_plus` operation the unary operator + (plus) can be
10051005 applied.
10061006
10071007 Example:
@@ -1019,13 +1019,13 @@ def EmitC_UnaryPlusOp : EmitC_UnaryOp<"unary_plus", [CExpression]> {
10191019def EmitC_VariableOp : EmitC_Op<"variable", []> {
10201020 let summary = "Variable operation";
10211021 let description = [{
1022- The `variable` operation produces an SSA value equal to some value
1022+ The `emitc. variable` operation produces an SSA value equal to some value
10231023 specified by an attribute. This can be used to form simple integer and
10241024 floating point variables, as well as more exotic things like tensor
1025- variables. The `variable` operation also supports the EmitC opaque
1025+ variables. The `emitc. variable` operation also supports the EmitC opaque
10261026 attribute and the EmitC opaque type. If further supports the EmitC
10271027 pointer type, whereas folding is not supported.
1028- The `variable` is emitted as a C/C++ local variable.
1028+ The `emitc. variable` is emitted as a C/C++ local variable.
10291029
10301030 Example:
10311031
@@ -1129,7 +1129,7 @@ def EmitC_GetGlobalOp : EmitC_Op<"get_global",
11291129def EmitC_VerbatimOp : EmitC_Op<"verbatim"> {
11301130 let summary = "Verbatim operation";
11311131 let description = [{
1132- The `verbatim` operation produces no results and the value is emitted as is
1132+ The `emitc. verbatim` operation produces no results and the value is emitted as is
11331133 followed by a line break ('\n' character) during translation.
11341134
11351135 Note: Use with caution. This operation can have arbitrary effects on the
@@ -1163,7 +1163,7 @@ def EmitC_VerbatimOp : EmitC_Op<"verbatim"> {
11631163def EmitC_AssignOp : EmitC_Op<"assign", []> {
11641164 let summary = "Assign operation";
11651165 let description = [{
1166- The `assign` operation stores an SSA value to the location designated by an
1166+ The `emitc. assign` operation stores an SSA value to the location designated by an
11671167 EmitC variable. This operation doesn't return any value. The assigned value
11681168 must be of the same type as the variable being assigned. The operation is
11691169 emitted as a C/C++ '=' operator.
@@ -1191,11 +1191,11 @@ def EmitC_YieldOp : EmitC_Op<"yield",
11911191 [Pure, Terminator, ParentOneOf<["ExpressionOp", "IfOp", "ForOp"]>]> {
11921192 let summary = "block termination operation";
11931193 let description = [{
1194- " yield" terminates its parent EmitC op's region, optionally yielding
1194+ The `emitc. yield` terminates its parent EmitC op's region, optionally yielding
11951195 an SSA value. The semantics of how the values are yielded is defined by the
11961196 parent operation.
1197- If " yield" has an operand, the operand must match the parent operation's
1198- result. If the parent operation defines no values, then the " emitc.yield"
1197+ If `emitc. yield` has an operand, the operand must match the parent operation's
1198+ result. If the parent operation defines no values, then the ` emitc.yield`
11991199 may be left out in the custom syntax and the builders will insert one
12001200 implicitly. Otherwise, it has to be present in the syntax to indicate which
12011201 value is yielded.
@@ -1216,7 +1216,7 @@ def EmitC_IfOp : EmitC_Op<"if",
12161216 RecursiveMemoryEffects, NoRegionArguments]> {
12171217 let summary = "if-then-else operation";
12181218 let description = [{
1219- The `if` operation represents an if-then-else construct for
1219+ The `emitc. if` operation represents an if-then-else construct for
12201220 conditionally executing two regions of code. The operand to an if operation
12211221 is a boolean value. For example:
12221222
@@ -1268,7 +1268,7 @@ def EmitC_IfOp : EmitC_Op<"if",
12681268def EmitC_SubscriptOp : EmitC_Op<"subscript", []> {
12691269 let summary = "Subscript operation";
12701270 let description = [{
1271- With the `subscript` operation the subscript operator `[]` can be applied
1271+ With the `emitc. subscript` operation the subscript operator `[]` can be applied
12721272 to variables or arguments of array, pointer and opaque type.
12731273
12741274 Example:
0 commit comments