CIRCT
20.0.0git
|
State threaded through functions for resolving and applying annotations. More...
#include <FIRRTLAnnotationHelper.h>
Public Types | |
using | AddToWorklistFn = llvm::function_ref< void(DictionaryAttr)> |
Public Member Functions | |
ApplyState (CircuitOp circuit, SymbolTable &symTbl, AddToWorklistFn addToWorklistFn, InstancePathCache &instancePathCache, bool noRefTypePorts) | |
hw::InnerSymbolNamespace & | getNamespace (FModuleLike module) |
IntegerAttr | newID () |
Public Attributes | |
CircuitOp | circuit |
SymbolTable & | symTbl |
CircuitTargetCache | targetCaches |
AddToWorklistFn | addToWorklistFn |
InstancePathCache & | 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 |
State threaded through functions for resolving and applying annotations.
Definition at line 331 of file FIRRTLAnnotationHelper.h.
using circt::firrtl::ApplyState::AddToWorklistFn = llvm::function_ref<void(DictionaryAttr)> |
Definition at line 332 of file FIRRTLAnnotationHelper.h.
|
inline |
Definition at line 333 of file FIRRTLAnnotationHelper.h.
|
inline |
Definition at line 355 of file FIRRTLAnnotationHelper.h.
Referenced by circt::firrtl::applyGCTMemTaps(), and buildNLA().
|
inline |
Definition at line 359 of file FIRRTLAnnotationHelper.h.
References circt::calyx::direction::get().
Referenced by circt::firrtl::applyGCTView().
AddToWorklistFn circt::firrtl::ApplyState::addToWorklistFn |
Definition at line 343 of file FIRRTLAnnotationHelper.h.
Referenced by circt::firrtl::applyGCTView(), and circt::firrtl::applyTraceName().
|
private |
Definition at line 366 of file FIRRTLAnnotationHelper.h.
CircuitOp circt::firrtl::ApplyState::circuit |
Definition at line 340 of file FIRRTLAnnotationHelper.h.
Referenced by circt::firrtl::applyGCTDataTaps(), circt::firrtl::applyGCTMemTaps(), circt::firrtl::applyGCTView(), applyLoadMemoryAnno(), circt::firrtl::applyWiring(), buildNLA(), noResolve(), circt::firrtl::stdResolve(), stdResolveImpl(), and circt::firrtl::tryResolve().
HierPathCache circt::firrtl::ApplyState::hierPathCache |
Definition at line 345 of file FIRRTLAnnotationHelper.h.
Referenced by buildNLA().
InstancePathCache& circt::firrtl::ApplyState::instancePathCache |
Definition at line 344 of file FIRRTLAnnotationHelper.h.
Referenced by applyBodyTypeLoweringAnno(), circt::firrtl::applyGCTMemTaps(), circt::firrtl::applyWiring(), and lowerInternalPathAnno().
DenseMap<StringAttr, LegacyWiringProblem> circt::firrtl::ApplyState::legacyWiringProblems |
Definition at line 352 of file FIRRTLAnnotationHelper.h.
Referenced by circt::firrtl::applyWiring().
|
private |
Definition at line 365 of file FIRRTLAnnotationHelper.h.
bool circt::firrtl::ApplyState::noRefTypePorts |
Definition at line 349 of file FIRRTLAnnotationHelper.h.
Referenced by circt::firrtl::applyGCTMemTaps().
size_t circt::firrtl::ApplyState::numReusedHierPaths = 0 |
Definition at line 346 of file FIRRTLAnnotationHelper.h.
SymbolTable& circt::firrtl::ApplyState::symTbl |
Definition at line 341 of file FIRRTLAnnotationHelper.h.
Referenced by circt::firrtl::applyGCTDataTaps(), circt::firrtl::applyGCTMemTaps(), and stdResolveImpl().
CircuitTargetCache circt::firrtl::ApplyState::targetCaches |
Definition at line 342 of file FIRRTLAnnotationHelper.h.
Referenced by circt::firrtl::applyGCTDataTaps(), circt::firrtl::applyGCTMemTaps(), lowerInternalPathAnno(), and stdResolveImpl().
DenseSet<InstanceOp> circt::firrtl::ApplyState::wiringProblemInstRefs |
Definition at line 351 of file FIRRTLAnnotationHelper.h.
Referenced by circt::firrtl::applyWiring(), and lowerInternalPathAnno().
SmallVector<WiringProblem> circt::firrtl::ApplyState::wiringProblems |
Definition at line 353 of file FIRRTLAnnotationHelper.h.
Referenced by circt::firrtl::applyGCTDataTaps(), and circt::firrtl::applyGCTMemTaps().