blob: 3c911d6bc8677b4d7ca3bf7585b0fcab4e25d341 [file] [log] [blame]
//===- VCIXDialect.h - MLIR VCIX IR dialect -------------------*- 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
//
//===----------------------------------------------------------------------===//
//
// The file defines the basic operations for the VCIX dialect.
//
// The SiFive Vector Coprocessor Interface (VCIX) provides a flexible mechanism
// to extend application processors with custom coprocessors and
// variable-latency arithmetic units. The interface offers throughput comparable
// to that of standard RISC-V vector instructions. To accelerate performance,
// system designers may use VCIX as a low-latency, high-throughput interface to
// a coprocessor
//
// https://www.sifive.com/document-file/sifive-vector-coprocessor-interface-vcix-software
//
//===----------------------------------------------------------------------===//
#ifndef MLIR_DIALECT_LLVMIR_VCIXDIALECT_H_
#define MLIR_DIALECT_LLVMIR_VCIXDIALECT_H_
#include "mlir/Bytecode/BytecodeOpInterface.h"
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "mlir/IR/Dialect.h"
#include "mlir/IR/OpDefinition.h"
#include "mlir/Interfaces/SideEffectInterfaces.h"
///// Ops /////
#define GET_ATTRDEF_CLASSES
#include "mlir/Dialect/LLVMIR/VCIXOpsAttributes.h.inc"
#define GET_OP_CLASSES
#include "mlir/Dialect/LLVMIR/VCIXOps.h.inc"
#include "mlir/Dialect/LLVMIR/VCIXOpsDialect.h.inc"
#endif /* MLIR_DIALECT_LLVMIR_VCIXDIALECT_H_ */