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
107 MLIR_CAPI_EXPORTED
void
111 MLIR_CAPI_EXPORTED
void
116 CirctFirtoolFirtoolOptions options, MlirStringRef value);
118 MLIR_CAPI_EXPORTED
void
121 MLIR_CAPI_EXPORTED
void
124 MLIR_CAPI_EXPORTED
void
129 CirctFirtoolFirtoolOptions options,
bool value);
131 MLIR_CAPI_EXPORTED
void
134 MLIR_CAPI_EXPORTED
void
136 MlirStringRef value);
138 MLIR_CAPI_EXPORTED
void
142 MLIR_CAPI_EXPORTED
void
144 MlirStringRef value);
146 MLIR_CAPI_EXPORTED
void
150 MLIR_CAPI_EXPORTED
void
152 MlirStringRef value);
154 MLIR_CAPI_EXPORTED
void
158 MLIR_CAPI_EXPORTED
void
162 MLIR_CAPI_EXPORTED
void
167 CirctFirtoolFirtoolOptions options, MlirStringRef value);
170 CirctFirtoolFirtoolOptions options,
bool value);
172 MLIR_CAPI_EXPORTED
void
176 MLIR_CAPI_EXPORTED
void
181 CirctFirtoolFirtoolOptions options,
bool value);
184 CirctFirtoolFirtoolOptions options,
bool value);
187 CirctFirtoolFirtoolOptions options,
bool value);
190 CirctFirtoolFirtoolOptions options,
bool value);
192 MLIR_CAPI_EXPORTED
void
194 CirctFirtoolFirtoolOptions options,
bool 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
214 MlirStringRef value);
216 MLIR_CAPI_EXPORTED
void
220 MLIR_CAPI_EXPORTED
void
224 MLIR_CAPI_EXPORTED
void
233 MlirPassManager pm, CirctFirtoolFirtoolOptions options);
236 MlirPassManager pm, CirctFirtoolFirtoolOptions options,
237 MlirStringRef inputFilename);
240 MlirPassManager pm, CirctFirtoolFirtoolOptions options);
243 MlirPassManager pm, CirctFirtoolFirtoolOptions options);
246 MlirPassManager pm, CirctFirtoolFirtoolOptions options,
247 MlirStringCallback callback,
void *userData);
250 MlirPassManager pm, CirctFirtoolFirtoolOptions options,
251 MlirStringRef directory);
254 MlirPassManager pm, CirctFirtoolFirtoolOptions options);