25 bool inlineSingleUseValues,
29 options.inlineSingleUseValues = inlineSingleUseValues;
30 options.indentLetBody = indentLetBody;
37 bool inlineSingleUseValues,
41 inlineSingleUseValues, indentLetBody);
MlirLogicalResult mlirTranslateModuleToSMTLIB(MlirModule module, MlirStringCallback callback, void *userData, bool inlineSingleUseValues, bool indentLetBody)
Emits SMTLIB for the specified module using the provided callback and user data.
MlirLogicalResult mlirTranslateOperationToSMTLIB(MlirOperation module, MlirStringCallback callback, void *userData, bool inlineSingleUseValues, bool indentLetBody)
static llvm::ManagedStatic< PassManagerOptions > options
A simple raw ostream subclass that forwards write_impl calls to the user-supplied callback together w...
mlir::Diagnostic & unwrap(MlirDiagnostic diagnostic)
MlirDiagnostic wrap(mlir::Diagnostic &diagnostic)
MLIR_CAPI_EXPORTED MlirOperation mlirModuleGetOperation(MlirModule module)
Views the module as a generic operation.
void(* MlirStringCallback)(MlirStringRef, void *)
A callback for returning string references.
LogicalResult exportSMTLIB(Operation *module, llvm::raw_ostream &os, const SMTEmissionOptions &options=SMTEmissionOptions())
Run the ExportSMTLIB pass.
Include the generated interface declarations.
A logical result value, essentially a boolean with named states.
Emission options for the ExportSMTLIB pass.