|
CIRCT 23.0.0git
|
Namespaces | |
| namespace | detail |
Classes | |
| struct | DPIArgument |
| A single argument in a DPI function type. More... | |
Functions | |
| static mlir::Value | getFormattedValue (mlir::Operation *fmtOp) |
| Returns the value operand of a value formatting operation. | |
| llvm::StringRef | stringifyDPIDirectionKeyword (DPIDirection dir) |
| Return the keyword string for a DPIDirection (e.g. "in", "return"). | |
| std::optional< DPIDirection > | parseDPIDirectionKeyword (llvm::StringRef keyword) |
| Parse a keyword string to a DPIDirection. Returns std::nullopt on failure. | |
| bool | isCallOperandDir (DPIDirection dir) |
| True if an argument with this direction is a call operand (input/inout/ref). | |
| static bool | operator== (const DPIArgument &a, const DPIArgument &b) |
| static llvm::hash_code | hash_value (const DPIArgument &arg) |
|
inlinestatic |
|
inlinestatic |
Definition at line 46 of file SimTypes.h.
References circt::sim::DPIArgument::dir, circt::sim::DPIArgument::name, and circt::sim::DPIArgument::type.
| bool circt::sim::isCallOperandDir | ( | DPIDirection | dir | ) |
True if an argument with this direction is a call operand (input/inout/ref).
Definition at line 53 of file SimTypes.cpp.
|
inlinestatic |
Definition at line 43 of file SimTypes.h.
| std::optional< DPIDirection > circt::sim::parseDPIDirectionKeyword | ( | llvm::StringRef | keyword | ) |
Parse a keyword string to a DPIDirection. Returns std::nullopt on failure.
| StringRef circt::sim::stringifyDPIDirectionKeyword | ( | DPIDirection | dir | ) |
Return the keyword string for a DPIDirection (e.g. "in", "return").
Definition at line 27 of file SimTypes.cpp.