|
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 | 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 172 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 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().
| 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 | ) |
| void registerESIPasses | ( | void | ) |
Definition at line 27 of file ESI.cpp.
References circt::esi::registerESIPasses().