CIRCT 20.0.0git
Loading...
Searching...
No Matches
CHIRRTL.h
Go to the documentation of this file.
1//===- CHIRRTL.h - C interface for the CHIRRTL 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#ifndef CIRCT_C_DIALECT_CHIRRTL_H
10#define CIRCT_C_DIALECT_CHIRRTL_H
11
12#include "mlir-c/IR.h"
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18//===----------------------------------------------------------------------===//
19// Dialect API.
20//===----------------------------------------------------------------------===//
21
23
24//===----------------------------------------------------------------------===//
25// Type API.
26//===----------------------------------------------------------------------===//
27
28MLIR_CAPI_EXPORTED MlirType chirrtlTypeGetCMemory(MlirContext ctx,
29 MlirType elementType,
30 uint64_t numElements);
31
32MLIR_CAPI_EXPORTED MlirType chirrtlTypeGetCMemoryPort(MlirContext ctx);
33
34#ifdef __cplusplus
35}
36#endif
37
38#endif // CIRCT_C_DIALECT_CHIRRTL_H
MlirType uint64_t numElements
Definition CHIRRTL.cpp:30
MlirType elementType
Definition CHIRRTL.cpp:29
MLIR_CAPI_EXPORTED MlirType chirrtlTypeGetCMemoryPort(MlirContext ctx)
Definition CHIRRTL.cpp:37
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(CHIRRTL, chirrtl)
MLIR_CAPI_EXPORTED MlirType chirrtlTypeGetCMemory(MlirContext ctx, MlirType elementType, uint64_t numElements)