CIRCT
19.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 | moorePackedUnsizedDimTypeGet (MlirType inner) |
Create a packed unsized dimension type. More... | |
MlirType | moorePackedRangeDimTypeGet (MlirType inner, unsigned size, bool upDir, int offset) |
Create a packed range dimension type. More... | |
MlirType | mooreUnpackedUnsizedDimTypeGet (MlirType inner) |
Create a unpacked unsized dimension type. More... | |
MlirType | mooreUnpackedArrayDimTypeGet (MlirType inner, unsigned size) |
Create a unpacked array dimension type. More... | |
MlirType | mooreUnpackedRangeDimTypeGet (MlirType inner, unsigned size, bool upDir, int offset) |
Create a unpacked range dimension type. More... | |
MlirType | mooreUnpackedAssocDimTypeGet (MlirType inner) |
Create a unpacked assoc dimension type without index. More... | |
MlirType | mooreUnpackedAssocDimTypeGetWithIndex (MlirType inner, MlirType indexType) |
Create a unpacked assoc dimension type with index. More... | |
MlirType | mooreUnpackedQueueDimTypeGet (MlirType inner) |
Create a unpacked queue dimension type without bound. More... | |
MlirType | mooreUnpackedQueueDimTypeGetWithBound (MlirType inner, unsigned bound) |
Create a unpacked queue dimension type with bound. 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 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 123 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 118 of file Moore.cpp.
References circt::moore::TwoValued, and unwrap().
MlirType moorePackedRangeDimTypeGet | ( | MlirType | inner, |
unsigned | size, | ||
bool | upDir, | ||
int | offset | ||
) |
Create a packed range dimension type.
Definition at line 70 of file Moore.cpp.
References circt::moore::Down, circt::moore::PackedRangeDim::get(), unwrap(), circt::moore::Up, and wrap().
MlirType moorePackedUnsizedDimTypeGet | ( | MlirType | inner | ) |
Create a packed unsized dimension type.
Definition at line 65 of file Moore.cpp.
References circt::moore::PackedUnsizedDim::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 mooreUnpackedArrayDimTypeGet | ( | MlirType | inner, |
unsigned | size | ||
) |
Create a unpacked array dimension type.
Definition at line 83 of file Moore.cpp.
References circt::moore::UnpackedArrayDim::get(), unwrap(), and wrap().
MlirType mooreUnpackedAssocDimTypeGet | ( | MlirType | inner | ) |
Create a unpacked assoc dimension type without index.
Definition at line 96 of file Moore.cpp.
References circt::moore::UnpackedAssocDim::get(), unwrap(), and wrap().
MlirType mooreUnpackedAssocDimTypeGetWithIndex | ( | MlirType | inner, |
MlirType | indexType | ||
) |
Create a unpacked assoc dimension type with index.
Create a unpacked assoc dimension type width index.
Definition at line 101 of file Moore.cpp.
References circt::moore::UnpackedAssocDim::get(), unwrap(), and wrap().
MlirType mooreUnpackedQueueDimTypeGet | ( | MlirType | inner | ) |
Create a unpacked queue dimension type without bound.
Definition at line 108 of file Moore.cpp.
References circt::moore::UnpackedQueueDim::get(), unwrap(), and wrap().
MlirType mooreUnpackedQueueDimTypeGetWithBound | ( | MlirType | inner, |
unsigned | bound | ||
) |
Create a unpacked queue dimension type with bound.
Definition at line 113 of file Moore.cpp.
References circt::moore::UnpackedQueueDim::get(), unwrap(), and wrap().
MlirType mooreUnpackedRangeDimTypeGet | ( | MlirType | inner, |
unsigned | size, | ||
bool | upDir, | ||
int | offset | ||
) |
Create a unpacked range dimension type.
Definition at line 88 of file Moore.cpp.
References circt::moore::Down, circt::moore::UnpackedRangeDim::get(), unwrap(), circt::moore::Up, and wrap().
MlirType mooreUnpackedUnsizedDimTypeGet | ( | MlirType | inner | ) |
Create a unpacked unsized dimension type.
Definition at line 78 of file Moore.cpp.
References circt::moore::UnpackedUnsizedDim::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().