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
71 MLIR_CAPI_EXPORTED CirctFirtoolFirtoolOptions
73 MLIR_CAPI_EXPORTED
void
76 MLIR_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,
95 MLIR_CAPI_EXPORTED
void
99 MLIR_CAPI_EXPORTED
void
103 MLIR_CAPI_EXPORTED
void
106 MLIR_CAPI_EXPORTED
void
110 MLIR_CAPI_EXPORTED
void
114 MLIR_CAPI_EXPORTED
void
119 CirctFirtoolFirtoolOptions options, MlirStringRef value);
121 MLIR_CAPI_EXPORTED
void
124 MLIR_CAPI_EXPORTED
void
127 MLIR_CAPI_EXPORTED
void
132 CirctFirtoolFirtoolOptions options,
bool value);
134 MLIR_CAPI_EXPORTED
void
138 MLIR_CAPI_EXPORTED
void
140 MlirStringRef value);
142 MLIR_CAPI_EXPORTED
void
146 MLIR_CAPI_EXPORTED
void
148 MlirStringRef value);
150 MLIR_CAPI_EXPORTED
void
154 MLIR_CAPI_EXPORTED
void
158 MLIR_CAPI_EXPORTED
void
163 CirctFirtoolFirtoolOptions options, MlirStringRef value);
166 CirctFirtoolFirtoolOptions options,
bool value);
168 MLIR_CAPI_EXPORTED
void
172 MLIR_CAPI_EXPORTED
void
177 CirctFirtoolFirtoolOptions options,
bool value);
180 CirctFirtoolFirtoolOptions options,
bool value);
183 CirctFirtoolFirtoolOptions options,
bool value);
186 CirctFirtoolFirtoolOptions options,
bool value);
188 MLIR_CAPI_EXPORTED
void
190 CirctFirtoolFirtoolOptions options,
bool value);
192 MLIR_CAPI_EXPORTED
void
194 MlirStringRef value);
196 MLIR_CAPI_EXPORTED
void
198 MlirStringRef value);
200 MLIR_CAPI_EXPORTED
void
202 MlirStringRef value);
204 MLIR_CAPI_EXPORTED
void
206 MlirStringRef value);
208 MLIR_CAPI_EXPORTED
void
210 MlirStringRef value);
212 MLIR_CAPI_EXPORTED
void
216 MLIR_CAPI_EXPORTED
void
220 MLIR_CAPI_EXPORTED
void
224 MLIR_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);