CIRCT 23.0.0git
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
circt::firrtl::InstanceChoiceMacroTable Class Reference

#include <FIRRTLUtils.h>

Collaboration diagram for circt::firrtl::InstanceChoiceMacroTable:
Collaboration graph
[legend]

Public Member Functions

 InstanceChoiceMacroTable (Operation *op)
 
FlatSymbolRefAttr getMacro (StringAttr optionName, StringAttr caseName) const
 
auto getKeys () const
 

Private Attributes

llvm::MapVector< std::pair< StringAttr, StringAttr >, FlatSymbolRefAttr > cache
 

Detailed Description

Definition at line 78 of file FIRRTLUtils.h.

Constructor & Destructor Documentation

◆ InstanceChoiceMacroTable()

circt::firrtl::InstanceChoiceMacroTable::InstanceChoiceMacroTable ( Operation *  op)

Definition at line 1221 of file FIRRTLUtils.cpp.

Member Function Documentation

◆ getKeys()

auto circt::firrtl::InstanceChoiceMacroTable::getKeys ( ) const
inline

Definition at line 86 of file FIRRTLUtils.h.

References cache.

◆ getMacro()

FlatSymbolRefAttr circt::firrtl::InstanceChoiceMacroTable::getMacro ( StringAttr  optionName,
StringAttr  caseName 
) const

Definition at line 1235 of file FIRRTLUtils.cpp.

Member Data Documentation

◆ cache

llvm::MapVector<std::pair<StringAttr, StringAttr>, FlatSymbolRefAttr> circt::firrtl::InstanceChoiceMacroTable::cache
private

Definition at line 90 of file FIRRTLUtils.h.

Referenced by getKeys().


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