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

This class verifies that all operands of the specified op have the same type. More...

#include "mlir/IR/OpDefinition.h"

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

Static Public Member Functions

static LogicalResult verifyTrait (Operation *op)

Additional Inherited Members

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

Detailed Description

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

This class verifies that all operands of the specified op have the same type.

Definition at line 1231 of file OpDefinition.h.

Member Function Documentation

◆ verifyTrait()

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

Definition at line 1233 of file OpDefinition.h.

References mlir::OpTrait::impl::verifySameTypeOperands().


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