CIRCT
20.0.0git
|
#include "circt-c/Dialect/Moore.h"
#include "circt/Dialect/Moore/MooreDialect.h"
#include "circt/Dialect/Moore/MooreTypes.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 | |
MlirType | mooreVoidTypeGet (MlirContext ctx) |
Create a void type. More... | |
MlirType | mooreStringTypeGet (MlirContext ctx) |
Create a string type. More... | |
MlirType | mooreChandleTypeGet (MlirContext ctx) |
Create a chandle type. More... | |
MlirType | mooreEventTypeGet (MlirContext ctx) |
Create a event type. More... | |
MlirType | mooreIntTypeGetInt (MlirContext ctx, unsigned width) |
Create a two-valued simple bit vector type. More... | |
MlirType | mooreIntTypeGetLogic (MlirContext ctx, unsigned width) |
Create a four-valued simple bit vector type. More... | |
MlirType | mooreRealTypeGet (MlirContext ctx) |
Create a real type. More... | |
MlirType | mooreOpenArrayTypeGet (MlirType elementType) |
Create a packed open array type. More... | |
MlirType | mooreArrayTypeGet (unsigned size, MlirType elementType) |
Create a packed array type. More... | |
MlirType | mooreOpenUnpackedArrayTypeGet (MlirType elementType) |
Create an unpacked open array type. More... | |
MlirType | mooreUnpackedArrayTypeGet (unsigned size, MlirType elementType) |
Create an unpacked array type. More... | |
MlirType | mooreAssocArrayTypeGet (MlirType elementType, MlirType indexType) |
Create an unpacked associative array type. More... | |
MlirType | mooreQueueTypeGet (MlirType elementType, unsigned bound) |
Create an unpacked queue type. More... | |
bool | mooreIsTwoValuedType (MlirType type) |
Checks whether the passed UnpackedType is a two-valued type. More... | |
bool | mooreIsFourValuedType (MlirType type) |
Checks whether the passed UnpackedType is a four-valued type. More... | |
MlirType mooreArrayTypeGet | ( | unsigned | size, |
MlirType | elementType | ||
) |
Create a packed array type.
Definition at line 68 of file Moore.cpp.
References elementType, circt::calyx::direction::get(), unwrap(), and wrap().
MlirType mooreAssocArrayTypeGet | ( | MlirType | elementType, |
MlirType | indexType | ||
) |
Create an unpacked associative array type.
Definition at line 82 of file Moore.cpp.
References elementType, circt::calyx::direction::get(), unwrap(), and wrap().
MlirType mooreChandleTypeGet | ( | MlirContext | ctx | ) |
Create a chandle type.
Definition at line 40 of file Moore.cpp.
References circt::calyx::direction::get(), unwrap(), and wrap().
MlirType mooreEventTypeGet | ( | MlirContext | ctx | ) |
Create a event type.
Create an event type.
Definition at line 45 of file Moore.cpp.
References circt::calyx::direction::get(), unwrap(), and wrap().
MlirType mooreIntTypeGetInt | ( | MlirContext | ctx, |
unsigned | width | ||
) |
MlirType mooreIntTypeGetLogic | ( | MlirContext | ctx, |
unsigned | width | ||
) |
bool mooreIsFourValuedType | ( | MlirType | type | ) |
Checks whether the passed UnpackedType is a four-valued type.
Definition at line 95 of file Moore.cpp.
References circt::moore::FourValued, and unwrap().
bool mooreIsTwoValuedType | ( | MlirType | type | ) |
Checks whether the passed UnpackedType is a two-valued type.
Definition at line 91 of file Moore.cpp.
References circt::moore::TwoValued, and unwrap().
MlirType mooreOpenArrayTypeGet | ( | MlirType | elementType | ) |
Create a packed open array type.
Definition at line 64 of file Moore.cpp.
References elementType, circt::calyx::direction::get(), unwrap(), and wrap().
MlirType mooreOpenUnpackedArrayTypeGet | ( | MlirType | elementType | ) |
Create an unpacked open array type.
Definition at line 72 of file Moore.cpp.
References elementType, circt::calyx::direction::get(), unwrap(), and wrap().
MlirType mooreQueueTypeGet | ( | MlirType | elementType, |
unsigned | bound | ||
) |
Create an unpacked queue type.
Definition at line 87 of file Moore.cpp.
References elementType, circt::calyx::direction::get(), unwrap(), and wrap().
MlirType mooreRealTypeGet | ( | MlirContext | ctx | ) |
Create a real type.
Definition at line 60 of file Moore.cpp.
References circt::calyx::direction::get(), unwrap(), and wrap().
MlirType mooreStringTypeGet | ( | MlirContext | ctx | ) |
Create a string type.
Definition at line 35 of file Moore.cpp.
References circt::calyx::direction::get(), unwrap(), and wrap().
MlirType mooreUnpackedArrayTypeGet | ( | unsigned | size, |
MlirType | elementType | ||
) |
Create an unpacked array type.
Definition at line 77 of file Moore.cpp.
References elementType, circt::calyx::direction::get(), unwrap(), and wrap().
MlirType mooreVoidTypeGet | ( | MlirContext | ctx | ) |
Create a void type.
Definition at line 30 of file Moore.cpp.
References circt::calyx::direction::get(), unwrap(), and wrap().