CIRCT 24.0.0git
Loading...
Searching...
No Matches
circt::firrtl::ApplyState Struct Reference

State threaded through functions for resolving and applying annotations. More...

#include <FIRRTLAnnotationHelper.h>

Collaboration diagram for circt::firrtl::ApplyState:

Public Types

using AddToWorklistFn = llvm::function_ref<void(DictionaryAttr)>

Public Member Functions

 ApplyState (CircuitOp circuit, SymbolTable &symTbl, AddToWorklistFn addToWorklistFn, InstancePathCacheInstancePathCache &instancePathCache, bool noRefTypePorts)
hw::InnerSymbolNamespace & getNamespace (FModuleLike module)
IntegerAttr newID ()

Public Attributes

CircuitOp circuit
SymbolTable & symTbl
CircuitTargetCache targetCaches
AddToWorklistFn addToWorklistFn
InstancePathCacheInstancePathCache & instancePathCache
HierPathCache hierPathCache
size_t numReusedHierPaths = 0
bool noRefTypePorts
DenseSet< InstanceOp > wiringProblemInstRefs
DenseMap< StringAttr, LegacyWiringProblem > legacyWiringProblems
SmallVector< WiringProblem > wiringProblems

Private Attributes

hw::InnerSymbolNamespaceCollection namespaces
unsigned annotationID = 0

Detailed Description

State threaded through functions for resolving and applying annotations.

Definition at line 338 of file FIRRTLAnnotationHelper.h.

Member Typedef Documentation

◆ AddToWorklistFn

using circt::firrtl::ApplyState::AddToWorklistFn = llvm::function_ref<void(DictionaryAttr)>

Definition at line 339 of file FIRRTLAnnotationHelper.h.

Constructor & Destructor Documentation

◆ ApplyState()

circt::firrtl::ApplyState::ApplyState ( CircuitOp circuit,
SymbolTable & symTbl,
AddToWorklistFn addToWorklistFn,
InstancePathCacheInstancePathCache & instancePathCache,
bool noRefTypePorts )
inline

Member Function Documentation

◆ getNamespace()

hw::InnerSymbolNamespace & circt::firrtl::ApplyState::getNamespace ( FModuleLike module)
inline

Definition at line 362 of file FIRRTLAnnotationHelper.h.

References namespaces.

Referenced by circt::firrtl::applyGCTMemTaps(), and buildNLA().

◆ newID()

IntegerAttr circt::firrtl::ApplyState::newID ( )
inline

Definition at line 366 of file FIRRTLAnnotationHelper.h.

References annotationID, and circuit.

Referenced by circt::firrtl::applyGCTView().

Member Data Documentation

◆ addToWorklistFn

AddToWorklistFn circt::firrtl::ApplyState::addToWorklistFn

◆ annotationID

unsigned circt::firrtl::ApplyState::annotationID = 0
private

Definition at line 373 of file FIRRTLAnnotationHelper.h.

Referenced by newID().

◆ circuit

◆ hierPathCache

HierPathCache circt::firrtl::ApplyState::hierPathCache

Definition at line 352 of file FIRRTLAnnotationHelper.h.

Referenced by ApplyState(), and buildNLA().

◆ instancePathCache

◆ legacyWiringProblems

DenseMap<StringAttr, LegacyWiringProblem> circt::firrtl::ApplyState::legacyWiringProblems

Definition at line 359 of file FIRRTLAnnotationHelper.h.

Referenced by circt::firrtl::applyWiring().

◆ namespaces

hw::InnerSymbolNamespaceCollection circt::firrtl::ApplyState::namespaces
private

Definition at line 372 of file FIRRTLAnnotationHelper.h.

Referenced by getNamespace().

◆ noRefTypePorts

bool circt::firrtl::ApplyState::noRefTypePorts

Definition at line 356 of file FIRRTLAnnotationHelper.h.

Referenced by circt::firrtl::applyGCTMemTaps(), and ApplyState().

◆ numReusedHierPaths

size_t circt::firrtl::ApplyState::numReusedHierPaths = 0

Definition at line 353 of file FIRRTLAnnotationHelper.h.

◆ symTbl

SymbolTable& circt::firrtl::ApplyState::symTbl

◆ targetCaches

CircuitTargetCache circt::firrtl::ApplyState::targetCaches

Definition at line 349 of file FIRRTLAnnotationHelper.h.

Referenced by circt::firrtl::applyGCTMemTaps(), and stdResolveImpl().

◆ wiringProblemInstRefs

DenseSet<InstanceOp> circt::firrtl::ApplyState::wiringProblemInstRefs

Definition at line 358 of file FIRRTLAnnotationHelper.h.

Referenced by circt::firrtl::applyWiring().

◆ wiringProblems

SmallVector<WiringProblem> circt::firrtl::ApplyState::wiringProblems

Definition at line 360 of file FIRRTLAnnotationHelper.h.

Referenced by circt::firrtl::applyGCTMemTaps().


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