|
CIRCT 22.0.0git
|
#include <HWOps.h>

Public Member Functions | |
| HWModulePortAccessor (Location loc, const ModulePortInfo &info, Region &bodyRegion) | |
| Value | getInput (unsigned i) |
| Value | getInput (StringRef name) |
| ValueRange | getInputs () |
| void | setOutput (unsigned i, Value v) |
| void | setOutput (StringRef name, Value v) |
| const ModulePortInfo & | getPortList () const |
| const llvm::SmallVector< Value > & | getOutputOperands () const |
Private Attributes | |
| llvm::StringMap< unsigned > | inputIdx |
| llvm::StringMap< unsigned > | outputIdx |
| llvm::SmallVector< Value > | inputArgs |
| llvm::SmallVector< Value > | outputOperands |
| ModulePortInfo | info |
| HWModulePortAccessor::HWModulePortAccessor | ( | Location | loc, |
| const ModulePortInfo & | info, | ||
| Region & | bodyRegion | ||
| ) |
Definition at line 225 of file HWOps.cpp.
References circt::hw::ModulePortInfo::at(), circt::hw::ModulePortInfo::getOutputs(), info, inputArgs, inputIdx, circt::hw::ModulePort::name, outputIdx, outputOperands, circt::hw::ModulePortInfo::sizeInputs(), and circt::hw::ModulePortInfo::sizeOutputs().
| Value HWModulePortAccessor::getInput | ( | StringRef | name | ) |
Definition at line 251 of file HWOps.cpp.
References getInput(), and inputIdx.
| Value HWModulePortAccessor::getInput | ( | unsigned | i | ) |
Definition at line 247 of file HWOps.cpp.
References assert(), and inputArgs.
Referenced by getInput().
|
inline |
|
inline |
Definition at line 112 of file HWOps.h.
References outputOperands.
|
inline |
| void HWModulePortAccessor::setOutput | ( | StringRef | name, |
| Value | v | ||
| ) |
Definition at line 254 of file HWOps.cpp.
References outputIdx, and setOutput().
| void HWModulePortAccessor::setOutput | ( | unsigned | i, |
| Value | v | ||
| ) |
Definition at line 241 of file HWOps.cpp.
References assert(), and outputOperands.
Referenced by setOutput().
|
private |
Definition at line 120 of file HWOps.h.
Referenced by getPortList(), and HWModulePortAccessor().
|
private |
Definition at line 118 of file HWOps.h.
Referenced by getInput(), getInputs(), and HWModulePortAccessor().
|
private |
Definition at line 117 of file HWOps.h.
Referenced by getInput(), and HWModulePortAccessor().
|
private |
Definition at line 117 of file HWOps.h.
Referenced by HWModulePortAccessor(), and setOutput().
|
private |
Definition at line 119 of file HWOps.h.
Referenced by getOutputOperands(), HWModulePortAccessor(), and setOutput().