MLIR  20.0.0git
Static Public Member Functions | List of all members
mlir::OpTrait::SameOperandsAndResultRank< ConcreteType > Class Template Reference

This class verifies that op has same ranks for all operands and results types, if known. More...

#include "mlir/IR/OpDefinition.h"

+ Inheritance diagram for mlir::OpTrait::SameOperandsAndResultRank< ConcreteType >:

Static Public Member Functions

static LogicalResult verifyTrait (Operation *op)
 

Additional Inherited Members

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

Detailed Description

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

This class verifies that op has same ranks for all operands and results types, if known.

Definition at line 1098 of file OpDefinition.h.

Member Function Documentation

◆ verifyTrait()

template<typename ConcreteType >
static LogicalResult mlir::OpTrait::SameOperandsAndResultRank< ConcreteType >::verifyTrait ( Operation op)
inlinestatic

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