MLIR  20.0.0git
Static Protected Member Functions | List of all members
mlir::detail::FallbackTypeIDResolver Class Reference

This class provides a fallback for resolving TypeIDs. More...

#include "mlir/Support/TypeID.h"

+ Inheritance diagram for mlir::detail::FallbackTypeIDResolver:

Static Protected Member Functions

static TypeID registerImplicitTypeID (StringRef name)
 Register an implicit type ID for the given type name. More...
 

Detailed Description

This class provides a fallback for resolving TypeIDs.

It uses the string name of the type to perform the resolution, and as such does not allow the use of classes defined in "anonymous" contexts.

Definition at line 161 of file TypeID.h.

Member Function Documentation

◆ registerImplicitTypeID()

TypeID detail::FallbackTypeIDResolver::registerImplicitTypeID ( StringRef  name)
staticprotected

Register an implicit type ID for the given type name.

Definition at line 83 of file TypeID.cpp.

Referenced by mlir::detail::TypeIDResolver< T, Enable >::resolveTypeID().


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