MLIR 22.0.0git
mlir::OpTrait::SameOperandsAndResultElementType< ConcreteType > Class Template Reference

This class provides verification for ops that are known to have the same operand and result element type (or the type itself if it is scalar). More...

#include "mlir/IR/OpDefinition.h"

Inheritance diagram for mlir::OpTrait::SameOperandsAndResultElementType< ConcreteType >:

Static Public Member Functions

static LogicalResult verifyTrait (Operation *op)

Additional Inherited Members

Protected Member Functions inherited from mlir::OpTrait::TraitBase< ConcreteType, SameOperandsAndResultElementType >
OperationgetOperation ()
 Return the ultimate Operation being worked on.

Detailed Description

template<typename ConcreteType>
class mlir::OpTrait::SameOperandsAndResultElementType< ConcreteType >

This class provides verification for ops that are known to have the same operand and result element type (or the type itself if it is scalar).

Definition at line 1085 of file OpDefinition.h.

Member Function Documentation

◆ verifyTrait()

template<typename ConcreteType>
LogicalResult mlir::OpTrait::SameOperandsAndResultElementType< ConcreteType >::verifyTrait ( Operation * op)
inlinestatic

The documentation for this class was generated from the following file: