mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 20:25:34 -05:00
25 lines
593 B
C++
25 lines
593 B
C++
#include "zamalang/Dialect/HLFHE/IR/HLFHEDialect.h"
|
|
#include "zamalang/Dialect/HLFHE/IR/HLFHEOps.h"
|
|
|
|
#include "llvm/Support/SourceMgr.h"
|
|
|
|
#include <mlir/Dialect/StandardOps/IR/Ops.h>
|
|
#include <mlir/IR/Builders.h>
|
|
|
|
|
|
int main(int argc, char **argv) {
|
|
mlir::MLIRContext context;
|
|
|
|
// Load our Dialect in this MLIR Context.
|
|
context.getOrLoadDialect<mlir::zamalang::HLFHE::HLFHEDialect>();
|
|
context.getOrLoadDialect<mlir::StandardOpsDialect>();
|
|
|
|
mlir::OpBuilder builder(&context);
|
|
|
|
mlir::ModuleOp module = mlir::ModuleOp::create(builder.getUnknownLoc());
|
|
|
|
module.dump();
|
|
|
|
return 0;
|
|
}
|