16#ifndef CIRCT_DIALECT_ARC_RUNTIME_IRINTERFACE_H
17#define CIRCT_DIALECT_ARC_RUNTIME_IRINTERFACE_H
22#ifndef ARC_RUNTIME_JIT_BIND
29#define ARC_IR_EXPORT extern "C" __declspec(dllexport)
31#define ARC_IR_EXPORT extern "C" __attribute__((visibility("default")))
42#define ARC_IR_EXPORT extern "C"
44#define ARC_IR_EXPORT extern "C" __attribute__((visibility("hidden")))
ARC_IR_EXPORT uint8_t * arcRuntimeIR_allocInstance(const ArcRuntimeModelInfo *model, const char *args)
Allocate and initialize the state for a new instance of the given hardware model.
ARC_IR_EXPORT void arcRuntimeIR_deleteInstance(uint8_t *modelState)
Destroy and deallocate the state of a model instance.
ARC_IR_EXPORT void arcRuntimeIR_onEval(uint8_t *modelState)
Pre-Eval hook of the runtime library.
Static information for a compiled hardware model, generated by the MLIR lowering.