5#ifndef CIRCT_C_FIRTOOL_FIRTOOL_H
6#define CIRCT_C_FIRTOOL_FIRTOOL_H
8#include "mlir-c/Pass.h"
9#include "mlir-c/Support.h"
15#define DEFINE_C_API_STRUCT(name, storage) \
19 typedef struct name name
23#undef DEFINE_C_API_STRUCT
71MLIR_CAPI_EXPORTED CirctFirtoolFirtoolOptions
73MLIR_CAPI_EXPORTED
void
76MLIR_CAPI_EXPORTED
void
78 MlirStringRef filename);
80 CirctFirtoolFirtoolOptions options,
bool disable);
83 CirctFirtoolFirtoolOptions options,
bool value);
86 CirctFirtoolFirtoolOptions options,
bool value);
89 CirctFirtoolFirtoolOptions options,
bool value);
92 CirctFirtoolFirtoolOptions options,
95MLIR_CAPI_EXPORTED
void
99MLIR_CAPI_EXPORTED
void
103MLIR_CAPI_EXPORTED
void
106MLIR_CAPI_EXPORTED
void
110MLIR_CAPI_EXPORTED
void
114MLIR_CAPI_EXPORTED
void
119 CirctFirtoolFirtoolOptions options, MlirStringRef value);
121MLIR_CAPI_EXPORTED
void
124MLIR_CAPI_EXPORTED
void
127MLIR_CAPI_EXPORTED
void
132 CirctFirtoolFirtoolOptions options,
bool value);
134MLIR_CAPI_EXPORTED
void
138MLIR_CAPI_EXPORTED
void
140 MlirStringRef value);
142MLIR_CAPI_EXPORTED
void
146MLIR_CAPI_EXPORTED
void
148 MlirStringRef value);
150MLIR_CAPI_EXPORTED
void
154MLIR_CAPI_EXPORTED
void
158MLIR_CAPI_EXPORTED
void
163 CirctFirtoolFirtoolOptions options, MlirStringRef value);
166 CirctFirtoolFirtoolOptions options,
bool value);
168MLIR_CAPI_EXPORTED
void
172MLIR_CAPI_EXPORTED
void
177 CirctFirtoolFirtoolOptions options,
bool value);
180 CirctFirtoolFirtoolOptions options,
bool value);
183 CirctFirtoolFirtoolOptions options,
bool value);
186 CirctFirtoolFirtoolOptions options,
bool value);
188MLIR_CAPI_EXPORTED
void
190 CirctFirtoolFirtoolOptions options,
bool value);
192MLIR_CAPI_EXPORTED
void
194 MlirStringRef value);
196MLIR_CAPI_EXPORTED
void
198 MlirStringRef value);
200MLIR_CAPI_EXPORTED
void
202 MlirStringRef value);
204MLIR_CAPI_EXPORTED
void
206 MlirStringRef value);
208MLIR_CAPI_EXPORTED
void
210 MlirStringRef value);
212MLIR_CAPI_EXPORTED
void
216MLIR_CAPI_EXPORTED
void
220MLIR_CAPI_EXPORTED
void
224MLIR_CAPI_EXPORTED
void
229 CirctFirtoolFirtoolOptions options,
bool value);
236 MlirPassManager pm, CirctFirtoolFirtoolOptions options);
239 MlirPassManager pm, CirctFirtoolFirtoolOptions options,
240 MlirStringRef inputFilename);
243 MlirPassManager pm, CirctFirtoolFirtoolOptions options);
246 MlirPassManager pm, CirctFirtoolFirtoolOptions options);
249 MlirPassManager pm, CirctFirtoolFirtoolOptions options,
250 MlirStringCallback callback,
void *userData);
253 MlirPassManager pm, CirctFirtoolFirtoolOptions options,
254 MlirStringRef directory);
257 MlirPassManager pm, CirctFirtoolFirtoolOptions options);