29 lines · cpp
1//===- ArmNeonOps.cpp - MLIRArmNeon ops implementation --------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8//9// This file implements the ArmNeon dialect and its operations.10//11//===----------------------------------------------------------------------===//12 13#include "mlir/Dialect/ArmNeon/ArmNeonDialect.h"14#include "mlir/Dialect/Vector/IR/VectorOps.h"15 16using namespace mlir;17 18#include "mlir/Dialect/ArmNeon/ArmNeonDialect.cpp.inc"19 20void arm_neon::ArmNeonDialect::initialize() {21 addOperations<22#define GET_OP_LIST23#include "mlir/Dialect/ArmNeon/ArmNeon.cpp.inc"24 >();25}26 27#define GET_OP_CLASSES28#include "mlir/Dialect/ArmNeon/ArmNeon.cpp.inc"29