|
CIRCT 22.0.0git
|
#include "circt-c/Dialect/ESI.h"#include "circt/Dialect/ESI/AppID.h"#include "circt/Dialect/ESI/ESIServices.h"#include "circt/Dialect/ESI/ESITypes.h"#include "mlir/CAPI/IR.h"#include "mlir/CAPI/Registration.h"#include "mlir/CAPI/Support.h"#include "mlir/CAPI/Utils.h"#include "mlir/IR/Builders.h"#include "mlir/IR/SymbolTable.h"#include "mlir/Parser/Parser.h"#include "mlir/Support/FileUtilities.h"
Go to the source code of this file.
Functions | |
| void | registerESIPasses () |
| bool | circtESITypeIsAChannelType (MlirType type) |
| MlirType | circtESIChannelTypeGet (MlirType inner, uint32_t signaling, uint64_t dataDelay) |
| MlirType | circtESIChannelGetInner (MlirType channelType) |
| uint32_t | circtESIChannelGetSignaling (MlirType channelType) |
| uint64_t | circtESIChannelGetDataDelay (MlirType channelType) |
| bool | circtESITypeIsAnAnyType (MlirType type) |
| MlirType | circtESIAnyTypeGet (MlirContext ctxt) |
| bool | circtESITypeIsAListType (MlirType type) |
| MlirType | circtESIListTypeGet (MlirType inner) |
| MlirType | circtESIListTypeGetElementType (MlirType list) |
| bool | circtESICheckInnerTypeMatch (MlirType to, MlirType from) |
| void | circtESIAppendMlirFile (MlirModule cMod, MlirStringRef filename) |
| MlirOperation | circtESILookup (MlirModule mod, MlirStringRef symbol) |
| void | circtESIRegisterGlobalServiceGenerator (MlirStringRef impl_type, CirctESIServiceGeneratorFunc genFunc, void *userData) |
| bool | circtESITypeIsABundleType (MlirType type) |
| MlirType | circtESIBundleTypeGet (MlirContext cctxt, size_t numChannels, const CirctESIBundleTypeBundleChannel *channels, bool resettable) |
| bool | circtESIBundleTypeGetResettable (MlirType bundle) |
| size_t | circtESIBundleTypeGetNumChannels (MlirType bundle) |
| CirctESIBundleTypeBundleChannel | circtESIBundleTypeGetChannel (MlirType bundle, size_t idx) |
| bool | circtESITypeIsAWindowType (MlirType type) |
| MlirType | circtESIWindowTypeGet (MlirContext cctxt, MlirAttribute name, MlirType into, size_t numFrames, const MlirType *cFrames) |
| MlirAttribute | circtESIWindowTypeGetName (MlirType window) |
| MlirType | circtESIWindowTypeGetInto (MlirType window) |
| size_t | circtESIWindowTypeGetNumFrames (MlirType window) |
| MlirType | circtESIWindowTypeGetFrame (MlirType window, size_t idx) |
| MlirType | circtESIWindowTypeGetLoweredType (MlirType window) |
| bool | circtESITypeIsAWindowFrameType (MlirType type) |
| MlirType | circtESIWindowFrameTypeGet (MlirContext cctxt, MlirAttribute name, size_t numMembers, const MlirType *cMembers) |
| MlirAttribute | circtESIWindowFrameTypeGetName (MlirType frame) |
| size_t | circtESIWindowFrameTypeGetNumMembers (MlirType frame) |
| MlirType | circtESIWindowFrameTypeGetMember (MlirType frame, size_t idx) |
| bool | circtESITypeIsAWindowFieldType (MlirType type) |
| MlirType | circtESIWindowFieldTypeGet (MlirContext cctxt, MlirAttribute fieldName, uint64_t numItems) |
| MlirAttribute | circtESIWindowFieldTypeGetFieldName (MlirType field) |
| uint64_t | circtESIWindowFieldTypeGetNumItems (MlirType field) |
| bool | circtESIAttributeIsAnAppIDAttr (MlirAttribute attr) |
| MlirAttribute | circtESIAppIDAttrGet (MlirContext ctxt, MlirStringRef name, uint64_t index) |
| MlirAttribute | circtESIAppIDAttrGetNoIdx (MlirContext ctxt, MlirStringRef name) |
| MlirStringRef | circtESIAppIDAttrGetName (MlirAttribute attr) |
| bool | circtESIAppIDAttrGetIndex (MlirAttribute attr, uint64_t *indexOut) |
| bool | circtESIAttributeIsAnAppIDPathAttr (MlirAttribute attr) |
| MlirAttribute | circtESIAppIDAttrPathGet (MlirContext ctxt, MlirAttribute root, intptr_t numElements, MlirAttribute const *cElements) |
| MlirAttribute | circtESIAppIDAttrPathGetRoot (MlirAttribute attr) |
| uint64_t | circtESIAppIDAttrPathGetNumComponents (MlirAttribute attr) |
| 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 index) |
| Free an AppIDIndex. | |
| MLIR_CAPI_EXPORTED MlirAttribute | circtESIAppIDIndexGetChildAppIDsOf (CirctESIAppIDIndex idx, MlirOperation op) |
| MLIR_CAPI_EXPORTED MlirAttribute | circtESIAppIDIndexGetAppIDPath (CirctESIAppIDIndex idx, MlirOperation fromMod, MlirAttribute appid, MlirLocation loc) |
| MlirType circtESIAnyTypeGet | ( | MlirContext | ctxt | ) |
| void circtESIAppendMlirFile | ( | MlirModule | cMod, |
| MlirStringRef | filename | ||
| ) |
| MlirAttribute circtESIAppIDAttrGet | ( | MlirContext | ctxt, |
| MlirStringRef | name, | ||
| uint64_t | index | ||
| ) |
| bool circtESIAppIDAttrGetIndex | ( | MlirAttribute | attr, |
| uint64_t * | indexOut | ||
| ) |
| MlirStringRef circtESIAppIDAttrGetName | ( | MlirAttribute | attr | ) |
| MlirAttribute circtESIAppIDAttrGetNoIdx | ( | MlirContext | ctxt, |
| MlirStringRef | name | ||
| ) |
| MlirAttribute circtESIAppIDAttrPathGet | ( | MlirContext | ctxt, |
| MlirAttribute | root, | ||
| intptr_t | numElements, | ||
| MlirAttribute const * | cElements | ||
| ) |
Definition at line 256 of file ESI.cpp.
References numElements, unwrap(), and wrap().
| MlirAttribute circtESIAppIDAttrPathGetComponent | ( | MlirAttribute | attr, |
| uint64_t | index | ||
| ) |
| uint64_t circtESIAppIDAttrPathGetNumComponents | ( | MlirAttribute | attr | ) |
| MlirAttribute circtESIAppIDAttrPathGetRoot | ( | MlirAttribute | attr | ) |
| MLIR_CAPI_EXPORTED void circtESIAppIDIndexFree | ( | CirctESIAppIDIndex | index | ) |
Free an AppIDIndex.
Definition at line 288 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 280 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 299 of file ESI.cpp.
References unwrap(), and wrap().
Referenced by PyAppIDIndex::getAppIDPathAttr().
| MLIR_CAPI_EXPORTED MlirAttribute circtESIAppIDIndexGetChildAppIDsOf | ( | CirctESIAppIDIndex | idx, |
| MlirOperation | op | ||
| ) |
Definition at line 293 of file ESI.cpp.
References unwrap(), and wrap().
Referenced by PyAppIDIndex::getChildAppIDsOf().
| bool circtESIAttributeIsAnAppIDAttr | ( | MlirAttribute | attr | ) |
| bool circtESIAttributeIsAnAppIDPathAttr | ( | MlirAttribute | attr | ) |
| 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().
| 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().
| size_t circtESIBundleTypeGetNumChannels | ( | MlirType | bundle | ) |
| bool circtESIBundleTypeGetResettable | ( | MlirType | bundle | ) |
| uint64_t circtESIChannelGetDataDelay | ( | MlirType | channelType | ) |
| MlirType circtESIChannelGetInner | ( | MlirType | channelType | ) |
| uint32_t circtESIChannelGetSignaling | ( | MlirType | channelType | ) |
| MlirType circtESIChannelTypeGet | ( | MlirType | inner, |
| uint32_t | signaling, | ||
| uint64_t | dataDelay | ||
| ) |
| bool circtESICheckInnerTypeMatch | ( | MlirType | to, |
| MlirType | from | ||
| ) |
Definition at line 73 of file ESI.cpp.
References circt::esi::checkInnerTypeMatch(), and unwrap().
| MlirType circtESIListTypeGet | ( | MlirType | inner | ) |
| MlirType circtESIListTypeGetElementType | ( | MlirType | list | ) |
| MlirOperation circtESILookup | ( | MlirModule | mod, |
| MlirStringRef | symbol | ||
| ) |
| 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().
| bool circtESITypeIsABundleType | ( | MlirType | type | ) |
| bool circtESITypeIsAChannelType | ( | MlirType | type | ) |
| bool circtESITypeIsAListType | ( | MlirType | type | ) |
| bool circtESITypeIsAnAnyType | ( | MlirType | type | ) |
| bool circtESITypeIsAWindowFieldType | ( | MlirType | type | ) |
| bool circtESITypeIsAWindowFrameType | ( | MlirType | type | ) |
| bool circtESITypeIsAWindowType | ( | MlirType | type | ) |
| MlirType circtESIWindowFieldTypeGet | ( | MlirContext | cctxt, |
| MlirAttribute | fieldName, | ||
| uint64_t | numItems | ||
| ) |
| MlirAttribute circtESIWindowFieldTypeGetFieldName | ( | MlirType | field | ) |
Definition at line 216 of file ESI.cpp.
References getFieldName(), unwrap(), and wrap().
| uint64_t circtESIWindowFieldTypeGetNumItems | ( | MlirType | field | ) |
| MlirType circtESIWindowFrameTypeGet | ( | MlirContext | cctxt, |
| MlirAttribute | name, | ||
| size_t | numMembers, | ||
| const MlirType * | cMembers | ||
| ) |
| MlirType circtESIWindowFrameTypeGetMember | ( | MlirType | frame, |
| size_t | idx | ||
| ) |
| MlirAttribute circtESIWindowFrameTypeGetName | ( | MlirType | frame | ) |
| size_t circtESIWindowFrameTypeGetNumMembers | ( | MlirType | frame | ) |
| MlirType circtESIWindowTypeGet | ( | MlirContext | cctxt, |
| MlirAttribute | name, | ||
| MlirType | into, | ||
| size_t | numFrames, | ||
| const MlirType * | cFrames | ||
| ) |
| MlirType circtESIWindowTypeGetFrame | ( | MlirType | window, |
| size_t | idx | ||
| ) |
| MlirType circtESIWindowTypeGetInto | ( | MlirType | window | ) |
| MlirType circtESIWindowTypeGetLoweredType | ( | MlirType | window | ) |
| MlirAttribute circtESIWindowTypeGetName | ( | MlirType | window | ) |
| size_t circtESIWindowTypeGetNumFrames | ( | MlirType | window | ) |
| void registerESIPasses | ( | void | ) |
Definition at line 27 of file ESI.cpp.
References circt::esi::registerESIPasses().