CIRCT  19.0.0git
Static Public Member Functions | List of all members
circt::hw::TypeVariant< Types > Class Template Reference

Utility type that wraps a type that may be one of several possible Types. More...

#include <HWTypes.h>

Inheritance diagram for circt::hw::TypeVariant< Types >:
Inheritance graph
[legend]
Collaboration diagram for circt::hw::TypeVariant< Types >:
Collaboration graph
[legend]

Static Public Member Functions

static bool classof (Type other)
 

Detailed Description

template<typename... Types>
class circt::hw::TypeVariant< Types >

Utility type that wraps a type that may be one of several possible Types.

This is similar to std::variant but is implemented for mlir::Type, and it understands how to handle type aliases.

Definition at line 185 of file HWTypes.h.

Member Function Documentation

◆ classof()

template<typename... Types>
static bool circt::hw::TypeVariant< Types >::classof ( Type  other)
inlinestatic

Definition at line 193 of file HWTypes.h.

References circt::hw::type_isa().


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