llvm-project/mlir/lib/Dialect/ArmNeon/IR/ArmNeonDialect.cpp
Nicolas Vasilache 7310501f74 [mlir][ArmNeon][RFC] Add a Neon dialect
This revision starts an Arm-specific ArmNeon dialect discussed in the [discourse RFC thread](https://llvm.discourse.group/t/rfc-vector-dialects-neon-and-sve/2284).

Differential Revision: https://reviews.llvm.org/D92171
2020-12-11 13:49:40 +00:00

30 lines
956 B
C++

//===- ArmNeonOps.cpp - MLIRArmNeon ops implementation --------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This file implements the ArmNeon dialect and its operations.
//
//===----------------------------------------------------------------------===//
#include "mlir/Dialect/ArmNeon/ArmNeonDialect.h"
#include "mlir/Dialect/Vector/VectorOps.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/OpImplementation.h"
#include "mlir/IR/TypeUtilities.h"
using namespace mlir;
void arm_neon::ArmNeonDialect::initialize() {
addOperations<
#define GET_OP_LIST
#include "mlir/Dialect/ArmNeon/ArmNeon.cpp.inc"
>();
}
#define GET_OP_CLASSES
#include "mlir/Dialect/ArmNeon/ArmNeon.cpp.inc"