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)
MlirOperation mlirModuleGetOperation(MlirModule module)
static llvm::ManagedStatic< PassManagerOptions > options
A simple raw ostream subclass that forwards write_impl calls to the user-supplied callback together w...
MlirDiagnostic wrap(mlir::Diagnostic &diagnostic)
mlir::Diagnostic & unwrap(MlirDiagnostic diagnostic)
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.