9#ifndef CIRCT_C_DIALECT_AIG_H
10#define CIRCT_C_DIALECT_AIG_H
22#define DEFINE_C_API_STRUCT(name, storage) \
26 typedef struct name name
22#define DEFINE_C_API_STRUCT(name, storage) \ …
47#undef DEFINE_C_API_STRUCT
50MLIR_CAPI_EXPORTED AIGLongestPathAnalysis
54MLIR_CAPI_EXPORTED
void
58 AIGLongestPathAnalysis analysis, MlirStringRef moduleName,
66MLIR_CAPI_EXPORTED
bool
70MLIR_CAPI_EXPORTED
void
74MLIR_CAPI_EXPORTED
size_t
78MLIR_CAPI_EXPORTED AIGLongestPathDataflowPath
86MLIR_CAPI_EXPORTED int64_t
89MLIR_CAPI_EXPORTED AIGLongestPathObject
92MLIR_CAPI_EXPORTED AIGLongestPathObject
95MLIR_CAPI_EXPORTED AIGLongestPathHistory
98MLIR_CAPI_EXPORTED MlirOperation
105MLIR_CAPI_EXPORTED
bool
108MLIR_CAPI_EXPORTED
void
110 AIGLongestPathObject *
object, int64_t *delay,
111 MlirStringRef *comment);
113MLIR_CAPI_EXPORTED AIGLongestPathHistory
123MLIR_CAPI_EXPORTED MlirStringRef
126MLIR_CAPI_EXPORTED
size_t
MLIR_CAPI_EXPORTED void registerAIGPasses(void)
MLIR_CAPI_EXPORTED AIGLongestPathHistory aigLongestPathDataflowPathGetHistory(AIGLongestPathDataflowPath dataflowPath)
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(AIG, aig)
MLIR_CAPI_EXPORTED void aigLongestPathHistoryGetHead(AIGLongestPathHistory history, AIGLongestPathObject *object, int64_t *delay, MlirStringRef *comment)
MLIR_CAPI_EXPORTED AIGLongestPathCollection aigLongestPathAnalysisGetAllPaths(AIGLongestPathAnalysis analysis, MlirStringRef moduleName, bool elaboratePaths)
MLIR_CAPI_EXPORTED int64_t aigLongestPathDataflowPathGetDelay(AIGLongestPathDataflowPath dataflowPath)
MLIR_CAPI_EXPORTED MlirStringRef aigLongestPathObjectName(AIGLongestPathObject object)
MLIR_CAPI_EXPORTED IgraphInstancePath aigLongestPathObjectGetInstancePath(AIGLongestPathObject object)
MLIR_CAPI_EXPORTED bool aigLongestPathHistoryIsEmpty(AIGLongestPathHistory history)
MLIR_CAPI_EXPORTED MlirOperation aigLongestPathDataflowPathGetRoot(AIGLongestPathDataflowPath dataflowPath)
MLIR_CAPI_EXPORTED AIGLongestPathObject aigLongestPathDataflowPathGetFanOut(AIGLongestPathDataflowPath dataflowPath)
MLIR_CAPI_EXPORTED AIGLongestPathAnalysis aigLongestPathAnalysisCreate(MlirOperation module, bool traceDebugPoints)
#define DEFINE_C_API_STRUCT(name, storage)
MLIR_CAPI_EXPORTED AIGLongestPathObject aigLongestPathDataflowPathGetFanIn(AIGLongestPathDataflowPath dataflowPath)
MLIR_CAPI_EXPORTED AIGLongestPathDataflowPath aigLongestPathCollectionGetDataflowPath(AIGLongestPathCollection collection, size_t pathIndex)
MLIR_CAPI_EXPORTED bool aigLongestPathCollectionIsNull(AIGLongestPathCollection collection)
MLIR_CAPI_EXPORTED void aigLongestPathCollectionDestroy(AIGLongestPathCollection collection)
MLIR_CAPI_EXPORTED size_t aigLongestPathObjectBitPos(AIGLongestPathObject object)
MLIR_CAPI_EXPORTED void aigLongestPathAnalysisDestroy(AIGLongestPathAnalysis analysis)
MLIR_CAPI_EXPORTED AIGLongestPathHistory aigLongestPathHistoryGetTail(AIGLongestPathHistory history)
MLIR_CAPI_EXPORTED size_t aigLongestPathCollectionGetSize(AIGLongestPathCollection collection)