#include "TestDialect.h"
#include "TestOps.h"
#include "mlir/Bytecode/BytecodeReader.h"
#include "mlir/Bytecode/BytecodeWriter.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/OperationSupport.h"
#include "mlir/Parser/Parser.h"
#include "mlir/Pass/Pass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/MemoryBufferRef.h"
#include "llvm/Support/raw_ostream.h"
#include <list>
usingnamespacemlir;
usingnamespacellvm;
namespace {
class TestDialectVersionParser : public cl::parser<test::TestDialectVersion> { … };
struct TestBytecodeRoundtripPass
: public PassWrapper<TestBytecodeRoundtripPass, OperationPass<ModuleOp>> { … };
}
namespace mlir {
void registerTestBytecodeRoundtripPasses() { … }
}