CIRCT 24.0.0git
Loading...
Searching...
No Matches
ESIModule.cpp File Reference
#include "CIRCTModules.h"
#include "circt/Dialect/ESI/ESIDialect.h"
#include "circt-c/Dialect/ESI.h"
#include "circt-c/Dialect/HW.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>
Include dependency graph for ESIModule.cpp:

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

Function Documentation

◆ registerServiceGenerator()

void registerServiceGenerator ( std::string name,
nb::object genFunc )

◆ serviceGenFunc()

MlirLogicalResult serviceGenFunc ( MlirOperation reqOp,
MlirOperation declOp,
MlirOperation recOp,
void * userData )
static

Definition at line 54 of file ESIModule.cpp.

References serviceGenFuncLookup.

Referenced by registerServiceGenerator().

Variable Documentation

◆ serviceGenFuncLookup

llvm::DenseMap<std::string *, ServiceGenFunc> serviceGenFuncLookup

Definition at line 53 of file ESIModule.cpp.

Referenced by registerServiceGenerator(), and serviceGenFunc().