Files
gps/tools/local/circt/include/circt-c/ExportFIRRTL.h
T
2026-07-12 11:01:51 +03:00

28 lines
747 B
C

//===- circt-c/ExportFIRRTL.h - C API for emitting FIRRTL ---------*- C -*-===//
//
// This header declares the C interface for emitting FIRRTL from a CIRCT MLIR
// module.
//
//===----------------------------------------------------------------------===//
#ifndef CIRCT_C_EXPORTFIRRTL_H
#define CIRCT_C_EXPORTFIRRTL_H
#include "mlir-c/IR.h"
#ifdef __cplusplus
extern "C" {
#endif
/// Emits FIRRTL for the specified module using the provided callback and user
/// data
MLIR_CAPI_EXPORTED MlirLogicalResult mlirExportFIRRTL(MlirModule,
MlirStringCallback,
void *userData);
#ifdef __cplusplus
}
#endif
#endif // CIRCT_C_EXPORTFIRRTL_H