#include "mlir/Conversion/VectorToSPIRV/VectorToSPIRV.h"
#include "mlir/Dialect/Arith/IR/Arith.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/Dialect/SPIRV/IR/SPIRVDialect.h"
#include "mlir/Dialect/Vector/IR/VectorOps.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Pass/PassManager.h"
#include "mlir/Transforms/GreedyPatternRewriteDriver.h"
namespace mlir {
namespace {
struct TestVectorReductionToSPIRVDotProd
: PassWrapper<TestVectorReductionToSPIRVDotProd,
OperationPass<func::FuncOp>> { … };
}
namespace test {
void registerTestVectorReductionToSPIRVDotProd() { … }
}
}