CIRCT 20.0.0git
Loading...
Searching...
No Matches
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
15extern "C" {
16#endif
17
19MLIR_CAPI_EXPORTED void registerSeqPasses(void);
20
21/// If the type is an clock type
22MLIR_CAPI_EXPORTED bool seqTypeIsAClock(MlirType type);
23
24/// Creates an seq clock type
25MLIR_CAPI_EXPORTED MlirType seqClockTypeGet(MlirContext ctx);
26
27/// If the type is an immutable type
28MLIR_CAPI_EXPORTED bool seqTypeIsAImmutable(MlirType type);
29
30/// Creates a seq immutable type
31MLIR_CAPI_EXPORTED MlirType seqImmutableTypeGet(MlirType type);
32
33/// Creates a seq immutable type
34MLIR_CAPI_EXPORTED MlirType seqImmutableTypeGetInnerType(MlirType type);
35
36#ifdef __cplusplus
37}
38#endif
39
40#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 MlirType seqImmutableTypeGetInnerType(MlirType type)
Creates a seq immutable type.
Definition Seq.cpp:38
MLIR_CAPI_EXPORTED void registerSeqPasses(void)
Definition Seq.cpp:20
MLIR_CAPI_EXPORTED MlirType seqImmutableTypeGet(MlirType type)
Creates a seq immutable type.
Definition Seq.cpp:34
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(Sequential, seq)
MLIR_CAPI_EXPORTED bool seqTypeIsAImmutable(MlirType type)
If the type is an immutable type.
Definition Seq.cpp:30
MLIR_CAPI_EXPORTED MlirType seqClockTypeGet(MlirContext ctx)
Creates an seq clock type.
Definition Seq.cpp:26
Definition seq.py:1