CIRCT  20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::yaml::MappingContextTraits< DescribedInstance, Context >::Instance Struct Reference

A YAML-serializable representation of an interface instantiation. More...

Collaboration diagram for llvm::yaml::MappingContextTraits< DescribedInstance, Context >::Instance:
Collaboration graph
[legend]

Public Member Functions

 Instance (IO &io, DescribedInstance &op)
 
 Instance (IO &io)
 
DescribedInstance denormalize (IO &)
 

Public Attributes

StringRef name
 The name of the interface. More...
 
std::optional< std::string > description = std::nullopt
 An optional textual description of the interface. More...
 
SmallVector< int64_t, 2 > dimensions
 An array describing the dimensionality of the interface. More...
 
FlatSymbolRefAttr interface
 The underlying interface. More...
 

Detailed Description

A YAML-serializable representation of an interface instantiation.

Definition at line 250 of file GrandCentral.cpp.

Constructor & Destructor Documentation

◆ Instance() [1/2]

llvm::yaml::MappingContextTraits< DescribedInstance, Context >::Instance::Instance ( IO &  io,
DescribedInstance &  op 
)
inline

Definition at line 263 of file GrandCentral.cpp.

References llvm::yaml::stripComment().

◆ Instance() [2/2]

llvm::yaml::MappingContextTraits< DescribedInstance, Context >::Instance::Instance ( IO &  io)
inline

Definition at line 278 of file GrandCentral.cpp.

Member Function Documentation

◆ denormalize()

DescribedInstance llvm::yaml::MappingContextTraits< DescribedInstance, Context >::Instance::denormalize ( IO &  )
inline

Definition at line 280 of file GrandCentral.cpp.

Member Data Documentation

◆ description

std::optional<std::string> llvm::yaml::MappingContextTraits< DescribedInstance, Context >::Instance::description = std::nullopt

An optional textual description of the interface.

Definition at line 255 of file GrandCentral.cpp.

◆ dimensions

SmallVector<int64_t, 2> llvm::yaml::MappingContextTraits< DescribedInstance, Context >::Instance::dimensions

An array describing the dimensionality of the interface.

Definition at line 258 of file GrandCentral.cpp.

◆ interface

FlatSymbolRefAttr llvm::yaml::MappingContextTraits< DescribedInstance, Context >::Instance::interface

The underlying interface.

Definition at line 261 of file GrandCentral.cpp.

◆ name

StringRef llvm::yaml::MappingContextTraits< DescribedInstance, Context >::Instance::name

The name of the interface.

Definition at line 252 of file GrandCentral.cpp.


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