mlir-hlo/tools/mlir-tblgen-builder/Builder/Builder.cpp

28 lines
777 B
C++
Raw Normal View History

2021-08-04 20:24:07 +08:00
#include "Builder.h"
#include "BuilderImpl.h"
#include "llvm/Support/Casting.h"
// #include "mlir/Dialect/StandardOps/Ops.h"
// #include "mlir/IR/Attributes.h"
// #include "mlir/IR/Operation.h"
// #include "mlir/IR/StandardTypes.h"
// #include "mlir/IR/Types.h"
// #include "mlir/IR/Value.h"
2021-08-13 15:05:10 +08:00
#include "Attribute.h"
#include "AttributeImpl.h"
#include "Op.h"
#include "OpImpl.h"
#include "mlir-hlo/Dialect/mhlo/IR/hlo_ops.h"
#include "mlir-hlo/Dialect/mhlo/transforms/PassDetail.h"
#include "mlir-hlo/Dialect/mhlo/transforms/passes.h"
2021-08-04 20:24:07 +08:00
namespace builder {
2021-08-11 10:46:07 +08:00
Builder::Builder() : impl_(std::make_shared<Impl>()) {}
2021-08-16 15:35:37 +08:00
void Builder::DumpModule() { impl_->DumpModule(); }
2021-08-04 20:24:07 +08:00
2021-08-13 15:05:10 +08:00
} // namespace builder
#define GET_OP_CLASSES
#include "include/mlir-hlo/Dialect/mhlo/IR/hlo_builder.cc.inc"