#include "mlir/Conversion/ArmNeon2dToIntr/ArmNeon2dToIntr.h"
#include "mlir/Dialect/ArmNeon/ArmNeonDialect.h"
#include "mlir/Dialect/Vector/IR/VectorOps.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Pass/PassRegistry.h"
#include "mlir/Transforms/GreedyPatternRewriteDriver.h"
namespace mlir {
#define GEN_PASS_DEF_CONVERTARMNEON2DTOINTR
#include "mlir/Conversion/Passes.h.inc"
}
usingnamespacemlir;
usingnamespacemlir::arm_neon;
namespace {
class Sdot2dLoweringPattern : public OpRewritePattern<Sdot2dOp> { … };
class ConvertArmNeon2dToIntr
: public impl::ConvertArmNeon2dToIntrBase<ConvertArmNeon2dToIntr> { … };
}
void mlir::populateConvertArmNeon2dToIntrPatterns(RewritePatternSet &patterns) { … }
std::unique_ptr<Pass> mlir::createConvertArmNeon2dToIntrPass() { … }