#include "circt/Dialect/Calyx/CalyxOps.h"
#include "circt/Dialect/Comb/CombOps.h"
#include "circt/Dialect/HW/HWOps.h"
#include "circt/Support/LLVM.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include <memory>
Go to the source code of this file.
|
| namespace | circt |
| | The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
|
| |
| namespace | circt::calyx |
| |
|
| calyx::RegisterOp | circt::calyx::createRegister (Location loc, OpBuilder &builder, ComponentOp component, size_t width, Twine prefix) |
| | Creates a RegisterOp, with input and output port bit widths defined by width.
|
| |
| hw::ConstantOp | circt::calyx::createConstant (Location loc, OpBuilder &builder, ComponentOp component, size_t width, size_t value) |
| | A helper function to create constants in the HW dialect.
|
| |
| calyx::InstanceOp | circt::calyx::createInstance (Location loc, OpBuilder &builder, ComponentOp component, SmallVectorImpl< Type > &resultTypes, StringRef instanceName, StringRef componentName) |
| | A helper function to create calyx.instance operation.
|
| |
| std::string | circt::calyx::getInstanceName (mlir::func::CallOp callOp) |
| | A helper function to get the instance name.
|
| |
| bool | circt::calyx::isControlLeafNode (Operation *op) |
| |
| DictionaryAttr | circt::calyx::getMandatoryPortAttr (MLIRContext *ctx, StringRef name) |
| |
| void | circt::calyx::addMandatoryComponentPorts (PatternRewriter &rewriter, SmallVectorImpl< calyx::PortInfo > &ports) |
| |
| unsigned | circt::calyx::handleZeroWidth (int64_t dim) |
| |
| template<typename Op > |
| static void | circt::calyx::updateGroupAssignmentGuards (OpBuilder &builder, GroupOp &group, Op &op) |
| | Updates the guard of each assignment within a group with op.
|
| |