CIRCT 24.0.0git
Loading...
Searching...
No Matches
Common.h File Reference
#include <stdint.h>
#include <string.h>
#include <stdalign.h>
Include dependency graph for Common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ArcState
 Combined runtime and model state for a hardware model instance. More...
struct  ArcRuntimeModelInfo
 Static information for a compiled hardware model, generated by the MLIR lowering. More...

Macros

#define ARC_RUNTIME_API_VERSION   UINT64_C(1)
 Version of the combined public and internal API.
#define ARC_RUNTIME_MAGIC   UINT32_C(0xAC1BB1CA)
 Magic number used to assert the presence of an ArcState struct.

Macro Definition Documentation

◆ ARC_RUNTIME_API_VERSION

#define ARC_RUNTIME_API_VERSION   UINT64_C(1)

Version of the combined public and internal API.

Definition at line 27 of file Common.h.

Referenced by arcRuntimeAllocateInstance(), and arcRuntimeGetAPIVersion().

◆ ARC_RUNTIME_MAGIC

#define ARC_RUNTIME_MAGIC   UINT32_C(0xAC1BB1CA)

Magic number used to assert the presence of an ArcState struct.

Definition at line 30 of file Common.h.

Referenced by arcRuntimeAllocateInstance(), arcRuntimeGetStateFromModelState(), and arcRuntimeIR_swapTraceBuffer().