MLIR
21.0.0git
|
#include "mlir/Target/SMTLIB/ExportSMTLIB.h"
#include "mlir/Dialect/Arith/Utils/Utils.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/Dialect/SMT/IR/SMTOps.h"
#include "mlir/Dialect/SMT/IR/SMTVisitors.h"
#include "mlir/Support/IndentedOstream.h"
#include "mlir/Target/SMTLIB/Namespace.h"
#include "mlir/Tools/mlir-translate/Translation.h"
#include "llvm/ADT/ScopedHashTable.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/raw_ostream.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "export-smtlib" |
#define | HANDLE_OP(OPTYPE, NAME, KIND) |
Typedefs | |
using | ValueMap = llvm::ScopedHashTable< mlir::Value, std::string > |
Functions | |
static LogicalResult | emit (SolverOp solver, const SMTEmissionOptions &options, mlir::raw_indented_ostream &stream) |
Emit the SMT operations in the given 'solver' to the 'stream'. More... | |
#define DEBUG_TYPE "export-smtlib" |
Definition at line 32 of file ExportSMTLIB.cpp.
#define HANDLE_OP | ( | OPTYPE, | |
NAME, | |||
KIND | |||
) |
Definition at line 208 of file ExportSMTLIB.cpp.
using ValueMap = llvm::ScopedHashTable<mlir::Value, std::string> |
Definition at line 30 of file ExportSMTLIB.cpp.
|
static |
Emit the SMT operations in the given 'solver' to the 'stream'.
Definition at line 625 of file ExportSMTLIB.cpp.
References mlir::WalkResult::advance(), mlir::Operation::emitError(), mlir::Operation::getDialect(), mlir::Operation::getResultTypes(), and mlir::Block::walk().
Referenced by mlir::MlirOptMainConfig::emitBytecode(), mlir::smt::exportSMTLIB(), and mlir::detail::ParallelDiagnosticHandlerImpl::~ParallelDiagnosticHandlerImpl().