CIRCT  19.0.0git
Seq.h
Go to the documentation of this file.
1 //===- Seq.h - C interface for the Seq 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_SEQ_H
10 #define CIRCT_C_DIALECT_SEQ_H
11 
12 #include "mlir-c/IR.h"
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
19 MLIR_CAPI_EXPORTED void registerSeqPasses(void);
20 
21 /// If the type is an clock type
22 MLIR_CAPI_EXPORTED bool seqTypeIsAClock(MlirType type);
23 
24 /// Creates an seq clock type
25 MLIR_CAPI_EXPORTED MlirType seqClockTypeGet(MlirContext ctx);
26 
27 #ifdef __cplusplus
28 }
29 #endif
30 
31 #endif // CIRCT_C_DIALECT_SEQ_H
MLIR_CAPI_EXPORTED bool seqTypeIsAClock(MlirType type)
If the type is an clock type.
Definition: Seq.cpp:22
MLIR_CAPI_EXPORTED void registerSeqPasses(void)
Definition: Seq.cpp:20
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(Sequential, seq)
MLIR_CAPI_EXPORTED MlirType seqClockTypeGet(MlirContext ctx)
Creates an seq clock type.
Definition: Seq.cpp:24
Definition: seq.py:1