|
CIRCT 22.0.0git
|
#include "mlir-c/IR.h"

Go to the source code of this file.
Classes | |
| struct | CirctESIBundleTypeBundleChannel |
| struct | CirctESIAppIDIndex |
Typedefs | |
| typedef MlirLogicalResult(* | CirctESIServiceGeneratorFunc) (MlirOperation serviceImplementReqOp, MlirOperation declOp, MlirOperation recordOp, void *userData) |
Functions | |
| MLIR_DECLARE_CAPI_DIALECT_REGISTRATION (ESI, esi) | |
| MLIR_CAPI_EXPORTED void | registerESIPasses (void) |
| MLIR_CAPI_EXPORTED bool | circtESITypeIsAChannelType (MlirType type) |
| MLIR_CAPI_EXPORTED MlirType | circtESIChannelTypeGet (MlirType inner, uint32_t signaling, uint64_t dataDelay) |
| MLIR_CAPI_EXPORTED MlirType | circtESIChannelGetInner (MlirType channelType) |
| MLIR_CAPI_EXPORTED uint32_t | circtESIChannelGetSignaling (MlirType channelType) |
| MLIR_CAPI_EXPORTED uint64_t | circtESIChannelGetDataDelay (MlirType channelType) |
| MLIR_CAPI_EXPORTED bool | circtESITypeIsAnAnyType (MlirType type) |
| MLIR_CAPI_EXPORTED MlirType | circtESIAnyTypeGet (MlirContext) |
| MLIR_CAPI_EXPORTED bool | circtESITypeIsAListType (MlirType type) |
| MLIR_CAPI_EXPORTED MlirType | circtESIListTypeGet (MlirType inner) |
| MLIR_CAPI_EXPORTED MlirType | circtESIListTypeGetElementType (MlirType channelType) |
| MLIR_CAPI_EXPORTED void | circtESIAppendMlirFile (MlirModule, MlirStringRef fileName) |
| MLIR_CAPI_EXPORTED MlirOperation | circtESILookup (MlirModule, MlirStringRef symbol) |
| MLIR_CAPI_EXPORTED bool | circtESICheckInnerTypeMatch (MlirType to, MlirType from) |
| MLIR_CAPI_EXPORTED bool | circtESITypeIsABundleType (MlirType type) |
| MLIR_CAPI_EXPORTED MlirType | circtESIBundleTypeGet (MlirContext, size_t numChannels, const CirctESIBundleTypeBundleChannel *channels, bool resettable) |
| MLIR_CAPI_EXPORTED bool | circtESIBundleTypeGetResettable (MlirType bundle) |
| MLIR_CAPI_EXPORTED size_t | circtESIBundleTypeGetNumChannels (MlirType bundle) |
| MLIR_CAPI_EXPORTED CirctESIBundleTypeBundleChannel | circtESIBundleTypeGetChannel (MlirType bundle, size_t idx) |
| MLIR_CAPI_EXPORTED void | circtESIRegisterGlobalServiceGenerator (MlirStringRef impl_type, CirctESIServiceGeneratorFunc, void *userData) |
| MLIR_CAPI_EXPORTED bool | circtESIAttributeIsAnAppIDAttr (MlirAttribute) |
| MLIR_CAPI_EXPORTED MlirAttribute | circtESIAppIDAttrGet (MlirContext, MlirStringRef name, uint64_t index) |
| MLIR_CAPI_EXPORTED MlirAttribute | circtESIAppIDAttrGetNoIdx (MlirContext ctxt, MlirStringRef name) |
| MLIR_CAPI_EXPORTED MlirStringRef | circtESIAppIDAttrGetName (MlirAttribute attr) |
| MLIR_CAPI_EXPORTED bool | circtESIAppIDAttrGetIndex (MlirAttribute attr, uint64_t *index) |
| MLIR_CAPI_EXPORTED bool | circtESIAttributeIsAnAppIDPathAttr (MlirAttribute) |
| MLIR_CAPI_EXPORTED MlirAttribute | circtESIAppIDAttrPathGet (MlirContext, MlirAttribute root, intptr_t numElements, MlirAttribute const *elements) |
| MLIR_CAPI_EXPORTED MlirAttribute | circtESIAppIDAttrPathGetRoot (MlirAttribute attr) |
| MLIR_CAPI_EXPORTED uint64_t | circtESIAppIDAttrPathGetNumComponents (MlirAttribute attr) |
| MLIR_CAPI_EXPORTED MlirAttribute | circtESIAppIDAttrPathGetComponent (MlirAttribute attr, uint64_t index) |
| MLIR_CAPI_EXPORTED CirctESIAppIDIndex | circtESIAppIDIndexGet (MlirOperation root) |
| Create an index of appids through which to do appid lookups efficiently. | |
| MLIR_CAPI_EXPORTED void | circtESIAppIDIndexFree (CirctESIAppIDIndex) |
| Free an AppIDIndex. | |
| MLIR_CAPI_EXPORTED MlirAttribute | circtESIAppIDIndexGetChildAppIDsOf (CirctESIAppIDIndex, MlirOperation) |
| MLIR_CAPI_EXPORTED MlirAttribute | circtESIAppIDIndexGetAppIDPath (CirctESIAppIDIndex, MlirOperation fromMod, MlirAttribute appid, MlirLocation loc) |
| typedef MlirLogicalResult(* CirctESIServiceGeneratorFunc) (MlirOperation serviceImplementReqOp, MlirOperation declOp, MlirOperation recordOp, void *userData) |
| MLIR_CAPI_EXPORTED MlirType circtESIAnyTypeGet | ( | MlirContext | ctxt | ) |
| MLIR_CAPI_EXPORTED void circtESIAppendMlirFile | ( | MlirModule | cMod, |
| MlirStringRef | fileName | ||
| ) |
| MLIR_CAPI_EXPORTED MlirAttribute circtESIAppIDAttrGet | ( | MlirContext | ctxt, |
| MlirStringRef | name, | ||
| uint64_t | index | ||
| ) |
| MLIR_CAPI_EXPORTED bool circtESIAppIDAttrGetIndex | ( | MlirAttribute | attr, |
| uint64_t * | index | ||
| ) |
| MLIR_CAPI_EXPORTED MlirStringRef circtESIAppIDAttrGetName | ( | MlirAttribute | attr | ) |
| MLIR_CAPI_EXPORTED MlirAttribute circtESIAppIDAttrGetNoIdx | ( | MlirContext | ctxt, |
| MlirStringRef | name | ||
| ) |
| MLIR_CAPI_EXPORTED MlirAttribute circtESIAppIDAttrPathGet | ( | MlirContext | ctxt, |
| MlirAttribute | root, | ||
| intptr_t | numElements, | ||
| MlirAttribute const * | elements | ||
| ) |
Definition at line 172 of file ESI.cpp.
References numElements, unwrap(), and wrap().
| MLIR_CAPI_EXPORTED MlirAttribute circtESIAppIDAttrPathGetComponent | ( | MlirAttribute | attr, |
| uint64_t | index | ||
| ) |
| MLIR_CAPI_EXPORTED uint64_t circtESIAppIDAttrPathGetNumComponents | ( | MlirAttribute | attr | ) |
| MLIR_CAPI_EXPORTED MlirAttribute circtESIAppIDAttrPathGetRoot | ( | MlirAttribute | attr | ) |
| MLIR_CAPI_EXPORTED void circtESIAppIDIndexFree | ( | CirctESIAppIDIndex | index | ) |
Free an AppIDIndex.
Definition at line 204 of file ESI.cpp.
References unwrap().
Referenced by PyAppIDIndex::~PyAppIDIndex().
| MLIR_CAPI_EXPORTED CirctESIAppIDIndex circtESIAppIDIndexGet | ( | MlirOperation | root | ) |
Create an index of appids through which to do appid lookups efficiently.
Definition at line 196 of file ESI.cpp.
References unwrap(), and wrap().
Referenced by PyAppIDIndex::PyAppIDIndex().
| MLIR_CAPI_EXPORTED MlirAttribute circtESIAppIDIndexGetAppIDPath | ( | CirctESIAppIDIndex | idx, |
| MlirOperation | fromMod, | ||
| MlirAttribute | appid, | ||
| MlirLocation | loc | ||
| ) |
Definition at line 215 of file ESI.cpp.
References unwrap(), and wrap().
Referenced by PyAppIDIndex::getAppIDPathAttr().
| MLIR_CAPI_EXPORTED MlirAttribute circtESIAppIDIndexGetChildAppIDsOf | ( | CirctESIAppIDIndex | idx, |
| MlirOperation | op | ||
| ) |
Definition at line 209 of file ESI.cpp.
References unwrap(), and wrap().
Referenced by PyAppIDIndex::getChildAppIDsOf().
| MLIR_CAPI_EXPORTED bool circtESIAttributeIsAnAppIDAttr | ( | MlirAttribute | attr | ) |
| MLIR_CAPI_EXPORTED bool circtESIAttributeIsAnAppIDPathAttr | ( | MlirAttribute | attr | ) |
| MLIR_CAPI_EXPORTED MlirType circtESIBundleTypeGet | ( | MlirContext | cctxt, |
| size_t | numChannels, | ||
| const CirctESIBundleTypeBundleChannel * | channels, | ||
| bool | resettable | ||
| ) |
Definition at line 112 of file ESI.cpp.
References circt::esi::BundledChannel::direction, unwrap(), and wrap().
| MLIR_CAPI_EXPORTED CirctESIBundleTypeBundleChannel circtESIBundleTypeGetChannel | ( | MlirType | bundle, |
| size_t | idx | ||
| ) |
Definition at line 132 of file ESI.cpp.
References circt::esi::BundledChannel::direction, circt::esi::BundledChannel::name, circt::esi::BundledChannel::type, unwrap(), and wrap().
| MLIR_CAPI_EXPORTED size_t circtESIBundleTypeGetNumChannels | ( | MlirType | bundle | ) |
| MLIR_CAPI_EXPORTED bool circtESIBundleTypeGetResettable | ( | MlirType | bundle | ) |
| MLIR_CAPI_EXPORTED uint64_t circtESIChannelGetDataDelay | ( | MlirType | channelType | ) |
| MLIR_CAPI_EXPORTED MlirType circtESIChannelGetInner | ( | MlirType | channelType | ) |
| MLIR_CAPI_EXPORTED uint32_t circtESIChannelGetSignaling | ( | MlirType | channelType | ) |
| MLIR_CAPI_EXPORTED MlirType circtESIChannelTypeGet | ( | MlirType | inner, |
| uint32_t | signaling, | ||
| uint64_t | dataDelay | ||
| ) |
| MLIR_CAPI_EXPORTED bool circtESICheckInnerTypeMatch | ( | MlirType | to, |
| MlirType | from | ||
| ) |
Definition at line 73 of file ESI.cpp.
References circt::esi::checkInnerTypeMatch(), and unwrap().
| MLIR_CAPI_EXPORTED MlirType circtESIListTypeGet | ( | MlirType | inner | ) |
| MLIR_CAPI_EXPORTED MlirType circtESIListTypeGetElementType | ( | MlirType | channelType | ) |
| MLIR_CAPI_EXPORTED MlirOperation circtESILookup | ( | MlirModule | mod, |
| MlirStringRef | symbol | ||
| ) |
| MLIR_CAPI_EXPORTED void circtESIRegisterGlobalServiceGenerator | ( | MlirStringRef | impl_type, |
| CirctESIServiceGeneratorFunc | genFunc, | ||
| void * | userData | ||
| ) |
Definition at line 94 of file ESI.cpp.
References circt::esi::ServiceGeneratorDispatcher::globalDispatcher(), circt::esi::ServiceGeneratorDispatcher::registerGenerator(), unwrap(), and wrap().
Referenced by registerServiceGenerator().
| MLIR_CAPI_EXPORTED bool circtESITypeIsABundleType | ( | MlirType | type | ) |
| MLIR_CAPI_EXPORTED bool circtESITypeIsAChannelType | ( | MlirType | type | ) |
| MLIR_CAPI_EXPORTED bool circtESITypeIsAListType | ( | MlirType | type | ) |
| MLIR_CAPI_EXPORTED bool circtESITypeIsAnAnyType | ( | MlirType | type | ) |
| MLIR_DECLARE_CAPI_DIALECT_REGISTRATION | ( | ESI | , |
| esi | |||
| ) |
| MLIR_CAPI_EXPORTED void registerESIPasses | ( | void | ) |
Definition at line 27 of file ESI.cpp.
References circt::esi::registerESIPasses().