CIRCT 24.0.0git
Loading...
Searching...
No Matches
CallPrepPrecomputed Struct Reference

Build indexes to make lookups faster. Create the new argument types as well. More...

Collaboration diagram for CallPrepPrecomputed:

Public Member Functions

 CallPrepPrecomputed (DesignOp)
ClassOp lookupNext (ClassOp scope, StringAttr instSym) const

Static Public Member Functions

static hw::InnerRefAttr getSymbol (MethodOp method)

Public Attributes

DenseMap< hw::InnerRefAttr, ClassOp > classSymbols
DenseMap< hw::InnerRefAttr, std::pair< hw::StructType, Location > > argTypes
DenseMap< std::pair< ClassOp, StringAttr >, ClassOp > instanceMap

Detailed Description

Build indexes to make lookups faster. Create the new argument types as well.

Definition at line 36 of file KanagawaCallPrep.cpp.

Constructor & Destructor Documentation

◆ CallPrepPrecomputed()

CallPrepPrecomputed::CallPrepPrecomputed ( DesignOp design)

Definition at line 65 of file KanagawaCallPrep.cpp.

References argTypes, assert(), classSymbols, getSymbol(), and instanceMap.

Member Function Documentation

◆ getSymbol()

hw::InnerRefAttr CallPrepPrecomputed::getSymbol ( MethodOp method)
inlinestatic

Definition at line 58 of file KanagawaCallPrep.cpp.

Referenced by CallPrepPrecomputed().

◆ lookupNext()

ClassOp CallPrepPrecomputed::lookupNext ( ClassOp scope,
StringAttr instSym ) const
inline

Definition at line 50 of file KanagawaCallPrep.cpp.

References instanceMap.

Member Data Documentation

◆ argTypes

DenseMap<hw::InnerRefAttr, std::pair<hw::StructType, Location> > CallPrepPrecomputed::argTypes

Definition at line 43 of file KanagawaCallPrep.cpp.

Referenced by CallPrepPrecomputed().

◆ classSymbols

DenseMap<hw::InnerRefAttr, ClassOp> CallPrepPrecomputed::classSymbols

Definition at line 40 of file KanagawaCallPrep.cpp.

Referenced by CallPrepPrecomputed().

◆ instanceMap

DenseMap<std::pair<ClassOp, StringAttr>, ClassOp> CallPrepPrecomputed::instanceMap

Definition at line 47 of file KanagawaCallPrep.cpp.

Referenced by CallPrepPrecomputed(), and lookupNext().


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