Files
clang-p2996/mlir/lib/Dialect/Vector/Interfaces/MaskableOpInterface.cpp
Diego Caballero b1bc1a1ed6 [mlir][Vector] Introduce the MaskingOpInterface
This MaskingOpInterface provides masking cababilitites to those
operations that implement it. For only is only implemented by the `vector.mask`
operation and it's used to break the dependency between the Vector
dialect (where the `vector.mask` op lives) and operations implementing
the MaskableOpInterface.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D136734
2022-10-27 22:54:19 +00:00

19 lines
749 B
C++

//===- MaskableOpInterfaces.cpp - MaskableOpInterface Defs -====-*- C++ -*-===//
//
// 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
//
//===----------------------------------------------------------------------===//
#include "mlir/Dialect/Vector/Interfaces/MaskableOpInterface.h"
using namespace mlir;
using namespace mlir::vector;
//===----------------------------------------------------------------------===//
// MaskableOpInterface Defs
//===----------------------------------------------------------------------===//
#include "mlir/Dialect/Vector/Interfaces/MaskableOpInterface.cpp.inc"