MLIR  19.0.0git
Classes
mlir::OpTrait::OneTypedResult< ResultType > Class Template Reference

This trait is used for return value APIs for ops that are known to have a specific type other than Type. More...

#include "mlir/IR/OpDefinition.h"

Classes

class  Impl
 This class provides return value APIs for ops that are known to have a single result. More...
 

Detailed Description

template<typename ResultType>
class mlir::OpTrait::OneTypedResult< ResultType >

This trait is used for return value APIs for ops that are known to have a specific type other than Type.

This allows the "getType()" member to be more specific for an op. This should be used in conjunction with OneResult, and occur in the trait list before OneResult.

Definition at line 689 of file OpDefinition.h.


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