|
CIRCT 23.0.0git
|
#include "circt-c/Dialect/Seq.h"#include "circt/Dialect/Seq/SeqDialect.h"#include "circt/Dialect/Seq/SeqPasses.h"#include "circt/Dialect/Seq/SeqTypes.h"#include "mlir/CAPI/IR.h"#include "mlir/CAPI/Registration.h"#include "mlir/CAPI/Support.h"
Go to the source code of this file.
Functions | |
| void | registerSeqPasses () |
| bool | seqTypeIsAClock (MlirType type) |
| If the type is an clock type. | |
| MlirType | seqClockTypeGet (MlirContext ctx) |
| Creates an seq clock type. | |
| bool | seqTypeIsAImmutable (MlirType type) |
| If the type is an immutable type. | |
| MlirType | seqImmutableTypeGet (MlirType innerType) |
| Creates a seq immutable type. | |
| MlirType | seqImmutableTypeGetInnerType (MlirType type) |
| Creates a seq immutable type. | |
| bool | seqTypeIsAHLMem (MlirType type) |
| If the type is a HLMemType. | |
| MlirType | seqHLMemTypeGet (MlirContext ctx, intptr_t rank, const int64_t *shape, MlirType elementType) |
| Creates a seq HLMem type. | |
| MlirType | seqHLMemTypeGetElementType (MlirType type) |
| Gets the element type of an HLMem type. | |
| intptr_t | seqHLMemTypeGetRank (MlirType type) |
| Gets the rank of an HLMem type. | |
| 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. | |
| bool | seqTypeIsAFirMem (MlirType type) |
| If the type is a FirMem type. | |
| MlirType | seqFirMemTypeGet (MlirContext ctx, uint64_t depth, uint32_t width, const uint32_t *maskWidth) |
| Creates a seq FirMem type. | |
| uint64_t | seqFirMemTypeGetDepth (MlirType type) |
| Gets the depth of a FirMem type. | |
| uint32_t | seqFirMemTypeGetWidth (MlirType type) |
| Gets the width of a FirMem type. | |
| bool | seqFirMemTypeHasMask (MlirType type) |
| Returns true if the FirMem type has a mask width defined. | |
| uint32_t | seqFirMemTypeGetMaskWidth (MlirType type) |
| Gets the mask width of a FirMem type Behavior is undefined if seqFirMemTypeHasMask returns false. | |
| void registerSeqPasses | ( | void | ) |
Definition at line 22 of file Seq.cpp.
Referenced by registerPasses().
| MlirType seqClockTypeGet | ( | MlirContext | ctx | ) |
| MlirType seqFirMemTypeGet | ( | MlirContext | ctx, |
| uint64_t | depth, | ||
| uint32_t | width, | ||
| const uint32_t * | maskWidth | ||
| ) |
| uint64_t seqFirMemTypeGetDepth | ( | MlirType | type | ) |
| uint32_t seqFirMemTypeGetMaskWidth | ( | MlirType | type | ) |
| uint32_t seqFirMemTypeGetWidth | ( | MlirType | type | ) |
| bool seqFirMemTypeHasMask | ( | MlirType | type | ) |
| 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().
| MlirType seqHLMemTypeGetElementType | ( | MlirType | type | ) |
| intptr_t seqHLMemTypeGetRank | ( | MlirType | type | ) |
| const int64_t * seqHLMemTypeGetShape | ( | MlirType | type | ) |
| MlirType seqImmutableTypeGet | ( | MlirType | innerType | ) |
| MlirType seqImmutableTypeGetInnerType | ( | MlirType | type | ) |
| bool seqTypeIsAClock | ( | MlirType | type | ) |
| bool seqTypeIsAFirMem | ( | MlirType | type | ) |
| bool seqTypeIsAHLMem | ( | MlirType | type | ) |