MLIR 23.0.0git
mlir::DynamicOpTraitImpl< Trait > Class Template Reference

#include "mlir/IR/ExtensibleDialect.h"

Inheritance diagram for mlir::DynamicOpTraitImpl< Trait >:

Public Member Functions

TypeID getTypeID () const override
 Returns the TypeID of the trait.
Public Member Functions inherited from mlir::DynamicOpTrait
virtual LogicalResult verifyTrait (Operation *op) const
virtual LogicalResult verifyRegionTrait (Operation *op) const
virtual ~DynamicOpTrait ()=default

Detailed Description

template<template< typename T > class Trait>
class mlir::DynamicOpTraitImpl< Trait >

Definition at line 402 of file ExtensibleDialect.h.

Member Function Documentation

◆ getTypeID()

template<template< typename T > class Trait>
TypeID mlir::DynamicOpTraitImpl< Trait >::getTypeID ( ) const
inlineoverridevirtual

Returns the TypeID of the trait.

It must be equal to the TypeID of corresponding static trait which will be used in hasTrait(TypeID).

Implements mlir::DynamicOpTrait.

Definition at line 404 of file ExtensibleDialect.h.

References mlir::TypeID::get().


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