CIRCT
19.0.0git
|
#include "mlir-c/IR.h"
Go to the source code of this file.
Functions | |
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION (Moore, moore) | |
MLIR_CAPI_EXPORTED MlirType | mooreVoidTypeGet (MlirContext ctx) |
Create a void type. More... | |
MLIR_CAPI_EXPORTED MlirType | mooreStringTypeGet (MlirContext ctx) |
Create a string type. More... | |
MLIR_CAPI_EXPORTED MlirType | mooreChandleTypeGet (MlirContext ctx) |
Create a chandle type. More... | |
MLIR_CAPI_EXPORTED MlirType | mooreEventTypeGet (MlirContext ctx) |
Create an event type. More... | |
MLIR_CAPI_EXPORTED MlirType | mooreIntTypeGetInt (MlirContext ctx, unsigned width) |
Create a two-valued simple bit vector type. More... | |
MLIR_CAPI_EXPORTED MlirType | mooreIntTypeGetLogic (MlirContext ctx, unsigned width) |
Create a four-valued simple bit vector type. More... | |
MLIR_CAPI_EXPORTED MlirType | mooreRealTypeGet (MlirContext ctx) |
Create a real type. More... | |
MLIR_CAPI_EXPORTED MlirType | moorePackedUnsizedDimTypeGet (MlirType inner) |
Create a packed unsized dimension type. More... | |
MLIR_CAPI_EXPORTED MlirType | moorePackedRangeDimTypeGet (MlirType inner, unsigned size, bool upDir, int offset) |
Create a packed range dimension type. More... | |
MLIR_CAPI_EXPORTED MlirType | mooreUnpackedUnsizedDimTypeGet (MlirType inner) |
Create a unpacked unsized dimension type. More... | |
MLIR_CAPI_EXPORTED MlirType | mooreUnpackedArrayDimTypeGet (MlirType inner, unsigned size) |
Create a unpacked array dimension type. More... | |
MLIR_CAPI_EXPORTED MlirType | mooreUnpackedRangeDimTypeGet (MlirType inner, unsigned size, bool upDir, int offset) |
Create a unpacked range dimension type. More... | |
MLIR_CAPI_EXPORTED MlirType | mooreUnpackedAssocDimTypeGet (MlirType inner) |
Create a unpacked assoc dimension type without index. More... | |
MLIR_CAPI_EXPORTED MlirType | mooreUnpackedAssocDimTypeGetWithIndex (MlirType inner, MlirType indexType) |
Create a unpacked assoc dimension type width index. More... | |
MLIR_CAPI_EXPORTED MlirType | mooreUnpackedQueueDimTypeGet (MlirType inner) |
Create a unpacked queue dimension type without bound. More... | |
MLIR_CAPI_EXPORTED MlirType | mooreUnpackedQueueDimTypeGetWithBound (MlirType inner, unsigned bound) |
Create a unpacked queue dimension type with bound. More... | |
MLIR_CAPI_EXPORTED bool | mooreIsTwoValuedType (MlirType type) |
Checks whether the passed UnpackedType is a two-valued type. More... | |
MLIR_CAPI_EXPORTED bool | mooreIsFourValuedType (MlirType type) |
Checks whether the passed UnpackedType is a four-valued type. More... | |
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION | ( | Moore | , |
moore | |||
) |
MLIR_CAPI_EXPORTED MlirType mooreChandleTypeGet | ( | MlirContext | ctx | ) |
Create a chandle type.
Definition at line 40 of file Moore.cpp.
References circt::calyx::direction::get(), unwrap(), and wrap().
MLIR_CAPI_EXPORTED MlirType mooreEventTypeGet | ( | MlirContext | ctx | ) |
Create an event type.
Create an event type.
Definition at line 45 of file Moore.cpp.
References circt::calyx::direction::get(), unwrap(), and wrap().
MLIR_CAPI_EXPORTED MlirType mooreIntTypeGetInt | ( | MlirContext | ctx, |
unsigned | width | ||
) |
MLIR_CAPI_EXPORTED MlirType mooreIntTypeGetLogic | ( | MlirContext | ctx, |
unsigned | width | ||
) |
MLIR_CAPI_EXPORTED 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().
MLIR_CAPI_EXPORTED 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().
MLIR_CAPI_EXPORTED 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().
MLIR_CAPI_EXPORTED 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().
MLIR_CAPI_EXPORTED MlirType mooreRealTypeGet | ( | MlirContext | ctx | ) |
Create a real type.
Definition at line 60 of file Moore.cpp.
References circt::calyx::direction::get(), unwrap(), and wrap().
MLIR_CAPI_EXPORTED MlirType mooreStringTypeGet | ( | MlirContext | ctx | ) |
Create a string type.
Definition at line 35 of file Moore.cpp.
References circt::calyx::direction::get(), unwrap(), and wrap().
MLIR_CAPI_EXPORTED 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().
MLIR_CAPI_EXPORTED 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().
MLIR_CAPI_EXPORTED MlirType mooreUnpackedAssocDimTypeGetWithIndex | ( | MlirType | inner, |
MlirType | indexType | ||
) |
Create a unpacked assoc dimension type width 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().
MLIR_CAPI_EXPORTED 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().
MLIR_CAPI_EXPORTED 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().
MLIR_CAPI_EXPORTED 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().
MLIR_CAPI_EXPORTED 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().
MLIR_CAPI_EXPORTED MlirType mooreVoidTypeGet | ( | MlirContext | ctx | ) |
Create a void type.
Definition at line 30 of file Moore.cpp.
References circt::calyx::direction::get(), unwrap(), and wrap().