#include "mlir/Conversion/VectorToSPIRV/VectorToSPIRVPass.h"
#include "mlir/Conversion/VectorToSPIRV/VectorToSPIRV.h"
#include "mlir/Dialect/SPIRV/IR/SPIRVDialect.h"
#include "mlir/Dialect/SPIRV/Transforms/SPIRVConversion.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Transforms/DialectConversion.h"
namespace mlir {
#define GEN_PASS_DEF_CONVERTVECTORTOSPIRV
#include "mlir/Conversion/Passes.h.inc"
}
usingnamespacemlir;
namespace {
struct ConvertVectorToSPIRVPass
: public impl::ConvertVectorToSPIRVBase<ConvertVectorToSPIRVPass> { … };
}
void ConvertVectorToSPIRVPass::runOnOperation() { … }
std::unique_ptr<OperationPass<>> mlir::createConvertVectorToSPIRVPass() { … }