@@ -89,7 +89,7 @@ their semantics via a special [TableGen backend][TableGenBackend]:
89
89
help of the following constructs.
90
90
* The ` Dialect ` class: Operations belonging to one logical group are placed in
91
91
the same dialect. The ` Dialect ` class contains dialect-level information.
92
- * The ` OpTrait ` class hierarchy: They are used to specify special properties
92
+ * The ` Trait ` class hierarchy: They are used to specify special properties
93
93
and constraints of the operation, including whether the operation has side
94
94
effect or whether its output has the same shape as the input.
95
95
* The ` ins ` /` outs ` marker: These are two special markers builtin to the
@@ -436,7 +436,7 @@ various traits in the `mlir::OpTrait` namespace.
436
436
Both operation traits, [ interfaces] ( ../Interfaces.md/#utilizing-the-ods-framework ) ,
437
437
and constraints involving multiple operands/attributes/results are provided as
438
438
the third template parameter to the ` Op ` class. They should be deriving from
439
- the ` OpTrait ` class. See [ Constraints] ( #constraints ) for more information.
439
+ the ` Trait ` class. See [ Constraints] ( #constraints ) for more information.
440
440
441
441
### Builder methods
442
442
@@ -1355,7 +1355,7 @@ results. These constraints should be specified as the `Op` class template
1355
1355
parameter as described in
1356
1356
[ Operation traits and constraints] ( #operation-traits-and-constraints ) .
1357
1357
1358
- Multi-entity constraints are modeled as ` PredOpTrait ` (a subclass of ` OpTrait ` )
1358
+ Multi-entity constraints are modeled as ` PredOpTrait ` (a subclass of ` Trait ` )
1359
1359
in [ ` OpBase.td ` ] [ OpBase ] .A bunch of constraint primitives are provided to help
1360
1360
specification. See [ ` OpBase.td ` ] [ OpBase ] for the complete list.
1361
1361
@@ -1366,7 +1366,7 @@ commutative or not, whether is a terminator, etc. These constraints should be
1366
1366
specified as the ` Op ` class template parameter as described in
1367
1367
[ Operation traits and constraints] ( #operation-traits-and-constraints ) .
1368
1368
1369
- Traits are modeled as ` NativeOpTrait ` (a subclass of ` OpTrait ` ) in
1369
+ Traits are modeled as ` NativeTrait ` (a subclass of ` Trait ` ) in
1370
1370
[ ` OpBase.td ` ] [ OpBase ] . They are backed and will be translated into the
1371
1371
corresponding C++ ` mlir::OpTrait ` classes.
1372
1372
0 commit comments