CIRCT
20.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 188 of file PortImplementation.h.
|
inlineexplicit |
Definition at line 199 of file PortImplementation.h.
References circt::hw::ModulePortInfo::getInputs(), circt::hw::ModulePortInfo::getOutputs(), inputPortMap, and outputPortMap.
|
inlineexplicit |
Definition at line 209 of file PortImplementation.h.
|
inline |
Definition at line 214 of file PortImplementation.h.
References inputPortMap, and lookupPortIndex().
Referenced by getInputPortIndex().
|
inline |
Definition at line 223 of file PortImplementation.h.
References ctx, circt::calyx::direction::get(), and getInputPortIndex().
|
inline |
Definition at line 219 of file PortImplementation.h.
References lookupPortIndex(), and outputPortMap.
Referenced by getOutputPortIndex().
|
inline |
Definition at line 227 of file PortImplementation.h.
References ctx, circt::calyx::direction::get(), and getOutputPortIndex().
|
inline |
Definition at line 190 of file PortImplementation.h.
Referenced by getInputPortIndex(), and getOutputPortIndex().
|
private |
Definition at line 234 of file PortImplementation.h.
Referenced by getInputPortIndex(), and getOutputPortIndex().
|
private |
Definition at line 232 of file PortImplementation.h.
Referenced by getInputPortIndex(), and ModulePortLookupInfo().
|
private |
Definition at line 233 of file PortImplementation.h.
Referenced by getOutputPortIndex(), and ModulePortLookupInfo().