CIRCT
18.0.0git
|
#include <HWOpInterfaces.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 190 of file HWOpInterfaces.h.
|
inlineexplicit |
Definition at line 201 of file HWOpInterfaces.h.
References circt::hw::ModulePortInfo::getInputs(), circt::hw::ModulePortInfo::getOutputs(), inputPortMap, and outputPortMap.
|
inlineexplicit |
Definition at line 211 of file HWOpInterfaces.h.
|
inline |
Definition at line 216 of file HWOpInterfaces.h.
References inputPortMap, and lookupPortIndex().
Referenced by getInputPortIndex().
|
inline |
Definition at line 225 of file HWOpInterfaces.h.
References ctx, circt::calyx::direction::get(), and getInputPortIndex().
|
inline |
Definition at line 221 of file HWOpInterfaces.h.
References lookupPortIndex(), and outputPortMap.
Referenced by getOutputPortIndex().
|
inline |
Definition at line 229 of file HWOpInterfaces.h.
References ctx, circt::calyx::direction::get(), and getOutputPortIndex().
|
inline |
Definition at line 192 of file HWOpInterfaces.h.
Referenced by getInputPortIndex(), and getOutputPortIndex().
|
private |
Definition at line 236 of file HWOpInterfaces.h.
Referenced by getInputPortIndex(), and getOutputPortIndex().
|
private |
Definition at line 234 of file HWOpInterfaces.h.
Referenced by getInputPortIndex(), and ModulePortLookupInfo().
|
private |
Definition at line 235 of file HWOpInterfaces.h.
Referenced by getOutputPortIndex(), and ModulePortLookupInfo().