@@ -89,7 +89,7 @@ their semantics via a special [TableGen backend][TableGenBackend]:
8989 help of the following constructs.
9090* The ` Dialect ` class: Operations belonging to one logical group are placed in
9191 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
9393 and constraints of the operation, including whether the operation has side
9494 effect or whether its output has the same shape as the input.
9595* The ` ins ` /` outs ` marker: These are two special markers builtin to the
@@ -434,7 +434,7 @@ various traits in the `mlir::OpTrait` namespace.
434434Both operation traits, [ interfaces] ( ../Interfaces.md/#utilizing-the-ods-framework ) ,
435435and constraints involving multiple operands/attributes/results are provided as
436436the third template parameter to the ` Op ` class. They should be deriving from
437- the ` OpTrait ` class. See [ Constraints] ( #constraints ) for more information.
437+ the ` Trait ` class. See [ Constraints] ( #constraints ) for more information.
438438
439439### Builder methods
440440
@@ -1353,7 +1353,7 @@ results. These constraints should be specified as the `Op` class template
13531353parameter as described in
13541354[ Operation traits and constraints] ( #operation-traits-and-constraints ) .
13551355
1356- Multi-entity constraints are modeled as ` PredOpTrait ` (a subclass of ` OpTrait ` )
1356+ Multi-entity constraints are modeled as ` PredOpTrait ` (a subclass of ` Trait ` )
13571357in [ ` OpBase.td ` ] [ OpBase ] .A bunch of constraint primitives are provided to help
13581358specification. See [ ` OpBase.td ` ] [ OpBase ] for the complete list.
13591359
@@ -1364,7 +1364,7 @@ commutative or not, whether is a terminator, etc. These constraints should be
13641364specified as the ` Op ` class template parameter as described in
13651365[ Operation traits and constraints] ( #operation-traits-and-constraints ) .
13661366
1367- Traits are modeled as ` NativeOpTrait ` (a subclass of ` OpTrait ` ) in
1367+ Traits are modeled as ` NativeTrait ` (a subclass of ` Trait ` ) in
13681368[ ` OpBase.td ` ] [ OpBase ] . They are backed and will be translated into the
13691369corresponding C++ ` mlir::OpTrait ` classes.
13701370
0 commit comments