CIRCT 20.0.0git
|
#include "CIRCTModules.h"
#include "circt/Dialect/ESI/ESIDialect.h"
#include "circt-c/Dialect/ESI.h"
#include "mlir-c/Bindings/Python/Interop.h"
#include "mlir/Bindings/Python/NanobindAdaptors.h"
#include "mlir/CAPI/IR.h"
#include "mlir/CAPI/Support.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallVector.h"
#include "NanobindUtils.h"
#include <nanobind/nanobind.h>
Go to the source code of this file.
Classes | |
class | ServiceGenFunc |
Container for a Python function that will be called to generate a service. More... | |
class | PyAppIDIndex |
Functions | |
static MlirLogicalResult | serviceGenFunc (MlirOperation reqOp, MlirOperation declOp, MlirOperation recOp, void *userData) |
void | registerServiceGenerator (std::string name, nb::object genFunc) |
Variables | |
llvm::DenseMap< std::string *, ServiceGenFunc > | serviceGenFuncLookup |
void registerServiceGenerator | ( | std::string | name, |
nb::object | genFunc | ||
) |
Definition at line 63 of file ESIModule.cpp.
References circtESIRegisterGlobalServiceGenerator(), serviceGenFunc(), serviceGenFuncLookup, and wrap().
|
static |
Definition at line 53 of file ESIModule.cpp.
References serviceGenFuncLookup.
Referenced by registerServiceGenerator().
llvm::DenseMap<std::string *, ServiceGenFunc> serviceGenFuncLookup |
Definition at line 52 of file ESIModule.cpp.
Referenced by registerServiceGenerator(), and serviceGenFunc().