#include "mlir/Conversion/TensorToSPIRV/TensorToSPIRVPass.h"
#include "mlir/Conversion/ArithToSPIRV/ArithToSPIRV.h"
#include "mlir/Conversion/FuncToSPIRV/FuncToSPIRV.h"
#include "mlir/Conversion/TensorToSPIRV/TensorToSPIRV.h"
#include "mlir/Dialect/SPIRV/IR/SPIRVDialect.h"
#include "mlir/Dialect/SPIRV/Transforms/SPIRVConversion.h"
namespace mlir {
#define GEN_PASS_DEF_CONVERTTENSORTOSPIRV
#include "mlir/Conversion/Passes.h.inc"
}
usingnamespacemlir;
namespace {
class ConvertTensorToSPIRVPass
: public impl::ConvertTensorToSPIRVBase<ConvertTensorToSPIRVPass> { … };
}
std::unique_ptr<OperationPass<>> mlir::createConvertTensorToSPIRVPass() { … }