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

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

#include "mlir/IR/OpDefinition.h"

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

Static Public Member Functions

static LogicalResult verifyTrait (Operation *op)
 

Additional Inherited Members

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

Detailed Description

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

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

Definition at line 1119 of file OpDefinition.h.

Member Function Documentation

◆ verifyTrait()

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

Definition at line 1122 of file OpDefinition.h.

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


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