torch-mlir/include/npcomp/Dialect/Numpy/NumpyOps.h

32 lines
933 B
C
Raw Normal View History

2020-04-27 08:20:58 +08:00
//===- NumpyOps.h - Core numpy dialect ops ----------------------*- C++ -*-===//
//
// This file is licensed 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
//
//===----------------------------------------------------------------------===//
#ifndef NPCOMP_DIALECT_NUMPY_NUMPY_OPS_H
#define NPCOMP_DIALECT_NUMPY_NUMPY_OPS_H
#include "mlir/IR/Attributes.h"
2020-04-27 08:20:58 +08:00
#include "mlir/IR/Dialect.h"
#include "mlir/IR/FunctionSupport.h"
2020-04-27 08:20:58 +08:00
#include "mlir/IR/OpDefinition.h"
#include "mlir/IR/StandardTypes.h"
#include "mlir/IR/SymbolTable.h"
#include "mlir/Interfaces/SideEffectInterfaces.h"
2020-04-27 08:20:58 +08:00
namespace mlir {
namespace NPCOMP {
2020-04-30 09:20:42 +08:00
namespace Numpy {
2020-04-27 08:20:58 +08:00
#define GET_OP_CLASSES
#include "npcomp/Dialect/Numpy/NumpyOps.h.inc"
2020-04-30 09:20:42 +08:00
} // namespace Numpy
} // namespace NPCOMP
2020-04-27 08:20:58 +08:00
} // namespace mlir
#endif // NPCOMP_DIALECT_NUMPY_NUMPY_OPS_H