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

This class verifies that any results of the specified op have a boolean type, a vector thereof, or a tensor thereof. More...

#include "mlir/IR/OpDefinition.h"

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

Static Public Member Functions

static LogicalResult verifyTrait (Operation *op)
 

Additional Inherited Members

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

Detailed Description

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

This class verifies that any results of the specified op have a boolean type, a vector thereof, or a tensor thereof.

Definition at line 1109 of file OpDefinition.h.

Member Function Documentation

◆ verifyTrait()

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

Definition at line 1111 of file OpDefinition.h.


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