|
CIRCT 24.0.0git
|
#include <PortImplementation.h>

Public Member Functions | |
| FailureOr< unsigned > | lookupPortIndex (const llvm::DenseMap< StringAttr, unsigned > &portMap, StringAttr name) const |
| ModulePortLookupInfo (MLIRContext *ctx, const ModulePortInfo &portInfo) | |
| ModulePortLookupInfo (MLIRContext *ctx, const SmallVector< PortInfo > &portInfo) | |
| FailureOr< unsigned > | getInputPortIndex (StringAttr name) const |
| FailureOr< unsigned > | getOutputPortIndex (StringAttr name) const |
| FailureOr< unsigned > | getInputPortIndex (StringRef name) const |
| FailureOr< unsigned > | getOutputPortIndex (StringRef name) const |
Private Attributes | |
| llvm::DenseMap< StringAttr, unsigned > | inputPortMap |
| llvm::DenseMap< StringAttr, unsigned > | outputPortMap |
| MLIRContext * | ctx |
Definition at line 173 of file PortImplementation.h.
|
inlineexplicit |
Definition at line 184 of file PortImplementation.h.
References ctx, circt::hw::ModulePortInfo::getInputs(), circt::hw::ModulePortInfo::getOutputs(), inputPortMap, and outputPortMap.
Referenced by ModulePortLookupInfo().
|
inlineexplicit |
Definition at line 194 of file PortImplementation.h.
References ctx, and ModulePortLookupInfo().
|
inline |
Definition at line 199 of file PortImplementation.h.
References inputPortMap, and lookupPortIndex().
Referenced by getInputPortIndex().
|
inline |
Definition at line 208 of file PortImplementation.h.
References ctx, and getInputPortIndex().
|
inline |
Definition at line 204 of file PortImplementation.h.
References lookupPortIndex(), and outputPortMap.
Referenced by getOutputPortIndex().
|
inline |
Definition at line 212 of file PortImplementation.h.
References ctx, and getOutputPortIndex().
|
inline |
Definition at line 175 of file PortImplementation.h.
References failure().
Referenced by getInputPortIndex(), and getOutputPortIndex().
|
private |
Definition at line 219 of file PortImplementation.h.
Referenced by getInputPortIndex(), getOutputPortIndex(), ModulePortLookupInfo(), and ModulePortLookupInfo().
|
private |
Definition at line 217 of file PortImplementation.h.
Referenced by getInputPortIndex(), and ModulePortLookupInfo().
|
private |
Definition at line 218 of file PortImplementation.h.
Referenced by getOutputPortIndex(), and ModulePortLookupInfo().