9#ifndef CIRCT_C_DIALECT_SEQ_H
10#define CIRCT_C_DIALECT_SEQ_H
40MLIR_CAPI_EXPORTED MlirType
seqHLMemTypeGet(MlirContext ctx, intptr_t rank,
63 const uint32_t *maskWidth);
MLIR_CAPI_EXPORTED bool seqTypeIsAClock(MlirType type)
If the type is an clock type.
MLIR_CAPI_EXPORTED MlirType seqImmutableTypeGetInnerType(MlirType type)
Creates a seq immutable type.
MLIR_CAPI_EXPORTED bool seqTypeIsAFirMem(MlirType type)
If the type is a FirMem type.
MLIR_CAPI_EXPORTED void registerSeqPasses(void)
MLIR_CAPI_EXPORTED uint64_t seqFirMemTypeGetDepth(MlirType type)
Gets the depth of a FirMem type.
MLIR_CAPI_EXPORTED MlirType seqImmutableTypeGet(MlirType type)
Creates a seq immutable type.
MLIR_CAPI_EXPORTED uint32_t seqFirMemTypeGetWidth(MlirType type)
Gets the width of 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 MlirType seqHLMemTypeGetElementType(MlirType type)
Gets the element type of an HLMem type.
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(Sequential, seq)
MLIR_CAPI_EXPORTED bool seqTypeIsAImmutable(MlirType type)
If the type is an immutable type.
MLIR_CAPI_EXPORTED intptr_t seqHLMemTypeGetRank(MlirType type)
Gets the rank of an HLMem type.
MLIR_CAPI_EXPORTED bool seqTypeIsAHLMem(MlirType type)
If the type is a HLMemType.
MLIR_CAPI_EXPORTED bool seqFirMemTypeHasMask(MlirType type)
Returns true if the FirMem type has a mask width defined.
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 seqClockTypeGet(MlirContext ctx)
Creates an seq clock 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 uint32_t seqFirMemTypeGetMaskWidth(MlirType type)
Gets the mask width of a FirMem type Behavior is undefined if seqFirMemTypeHasMask returns false.