|
CIRCT 24.0.0git
|
#include "mlir-c/IR.h"

Go to the source code of this file.
Functions | |
| MLIR_DECLARE_CAPI_DIALECT_REGISTRATION (Sequential, seq) | |
| MLIR_CAPI_EXPORTED void | registerSeqPasses (void) |
| MLIR_CAPI_EXPORTED bool | seqTypeIsAClock (MlirType type) |
| If the type is an clock type. | |
| MLIR_CAPI_EXPORTED MlirType | seqClockTypeGet (MlirContext ctx) |
| Creates an seq clock type. | |
| MLIR_CAPI_EXPORTED bool | seqTypeIsAImmutable (MlirType type) |
| If the type is an immutable type. | |
| MLIR_CAPI_EXPORTED MlirType | seqImmutableTypeGet (MlirType type) |
| Creates a seq immutable type. | |
| MLIR_CAPI_EXPORTED MlirType | seqImmutableTypeGetInnerType (MlirType type) |
| Creates a seq immutable type. | |
| MLIR_CAPI_EXPORTED bool | seqTypeIsAHLMem (MlirType type) |
| If the type is a HLMemType. | |
| MLIR_CAPI_EXPORTED MlirType | seqHLMemTypeGet (MlirContext ctx, intptr_t rank, const int64_t *shape, MlirType elementType) |
| Creates a seq HLMem type. | |
| MLIR_CAPI_EXPORTED MlirType | seqHLMemTypeGetElementType (MlirType type) |
| Gets the element type of an HLMem type. | |
| MLIR_CAPI_EXPORTED intptr_t | seqHLMemTypeGetRank (MlirType type) |
| Gets the rank of an HLMem type. | |
| MLIR_CAPI_EXPORTED const int64_t * | seqHLMemTypeGetShape (MlirType type) |
| Gets a pointer to the shape array of an HLMem type The array length is equal to the rank. | |
| MLIR_CAPI_EXPORTED bool | seqTypeIsAFirMem (MlirType type) |
| If the type is a FirMem type. | |
| MLIR_CAPI_EXPORTED MlirType | seqFirMemTypeGet (MlirContext ctx, uint64_t depth, uint32_t width, const uint32_t *maskWidth) |
| Creates a seq FirMem type. | |
| MLIR_CAPI_EXPORTED uint64_t | seqFirMemTypeGetDepth (MlirType type) |
| Gets the depth of a FirMem type. | |
| MLIR_CAPI_EXPORTED uint32_t | seqFirMemTypeGetWidth (MlirType type) |
| Gets the width of a FirMem type. | |
| MLIR_CAPI_EXPORTED bool | seqFirMemTypeHasMask (MlirType type) |
| Returns true if the FirMem type has a mask width defined. | |
| MLIR_CAPI_EXPORTED uint32_t | seqFirMemTypeGetMaskWidth (MlirType type) |
| Gets the mask width of a FirMem type Behavior is undefined if seqFirMemTypeHasMask returns false. | |
| MLIR_DECLARE_CAPI_DIALECT_REGISTRATION | ( | Sequential | , |
| seq | ) |
References elementType.
| MLIR_CAPI_EXPORTED void registerSeqPasses | ( | void | ) |
Definition at line 22 of file Seq.cpp.
References registerSeqPasses().
Referenced by registerPasses(), and registerSeqPasses().
| MLIR_CAPI_EXPORTED MlirType seqClockTypeGet | ( | MlirContext | ctx | ) |
| MLIR_CAPI_EXPORTED MlirType seqFirMemTypeGet | ( | MlirContext | ctx, |
| uint64_t | depth, | ||
| uint32_t | width, | ||
| const uint32_t * | maskWidth ) |
| MLIR_CAPI_EXPORTED uint64_t seqFirMemTypeGetDepth | ( | MlirType | type | ) |
| MLIR_CAPI_EXPORTED uint32_t seqFirMemTypeGetMaskWidth | ( | MlirType | type | ) |
| MLIR_CAPI_EXPORTED uint32_t seqFirMemTypeGetWidth | ( | MlirType | type | ) |
| MLIR_CAPI_EXPORTED bool seqFirMemTypeHasMask | ( | MlirType | type | ) |
| MLIR_CAPI_EXPORTED MlirType seqHLMemTypeGet | ( | MlirContext | ctx, |
| intptr_t | rank, | ||
| const int64_t * | shape, | ||
| MlirType | elementType ) |
Creates a seq HLMem type.
Definition at line 48 of file Seq.cpp.
References elementType, unwrap(), and wrap().
| MLIR_CAPI_EXPORTED MlirType seqHLMemTypeGetElementType | ( | MlirType | type | ) |
| MLIR_CAPI_EXPORTED intptr_t seqHLMemTypeGetRank | ( | MlirType | type | ) |
| MLIR_CAPI_EXPORTED const int64_t * seqHLMemTypeGetShape | ( | MlirType | type | ) |
| MLIR_CAPI_EXPORTED MlirType seqImmutableTypeGet | ( | MlirType | type | ) |
| MLIR_CAPI_EXPORTED MlirType seqImmutableTypeGetInnerType | ( | MlirType | type | ) |
| MLIR_CAPI_EXPORTED bool seqTypeIsAClock | ( | MlirType | type | ) |
| MLIR_CAPI_EXPORTED bool seqTypeIsAFirMem | ( | MlirType | type | ) |
| MLIR_CAPI_EXPORTED bool seqTypeIsAHLMem | ( | MlirType | type | ) |