MLIR  19.0.0git
VCIXDialect.h
Go to the documentation of this file.
1 //===- VCIXDialect.h - MLIR VCIX IR dialect -------------------*- C++ ---*-===//
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-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // The file defines the basic operations for the VCIX dialect.
10 //
11 // The SiFive Vector Coprocessor Interface (VCIX) provides a flexible mechanism
12 // to extend application processors with custom coprocessors and
13 // variable-latency arithmetic units. The interface offers throughput comparable
14 // to that of standard RISC-V vector instructions. To accelerate performance,
15 // system designers may use VCIX as a low-latency, high-throughput interface to
16 // a coprocessor
17 //
18 // https://www.sifive.com/document-file/sifive-vector-coprocessor-interface-vcix-software
19 //
20 //===----------------------------------------------------------------------===//
21 
22 #ifndef MLIR_DIALECT_LLVMIR_VCIXDIALECT_H_
23 #define MLIR_DIALECT_LLVMIR_VCIXDIALECT_H_
24 
27 #include "mlir/IR/Dialect.h"
28 #include "mlir/IR/OpDefinition.h"
30 
31 ///// Ops /////
32 #define GET_ATTRDEF_CLASSES
33 #include "mlir/Dialect/LLVMIR/VCIXOpsAttributes.h.inc"
34 
35 #define GET_OP_CLASSES
36 #include "mlir/Dialect/LLVMIR/VCIXOps.h.inc"
37 
38 #include "mlir/Dialect/LLVMIR/VCIXOpsDialect.h.inc"
39 
40 #endif /* MLIR_DIALECT_LLVMIR_VCIXDIALECT_H_ */