CIRCT 20.0.0git
|
#include "mlir-c/IR.h"
Go to the source code of this file.
Typedefs | |
typedef enum RTGLabelVisibility | RTGLabelVisibility |
Enumerations | |
enum | RTGLabelVisibility { RTG_LABEL_VISIBILITY_LOCAL , RTG_LABEL_VISIBILITY_GLOBAL , RTG_LABEL_VISIBILITY_EXTERNAL } |
Functions | |
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION (RTG, rtg) | |
MLIR_CAPI_EXPORTED bool | rtgTypeIsASequence (MlirType type) |
If the type is an RTG sequence. | |
MLIR_CAPI_EXPORTED MlirType | rtgSequenceTypeGet (MlirContext ctxt, intptr_t numElements, MlirType const *elementTypes) |
Creates an RTG sequence type in the context. | |
MLIR_CAPI_EXPORTED unsigned | rtgSequenceTypeGetNumElements (MlirType type) |
The number of substitution elements of the RTG sequence. | |
MLIR_CAPI_EXPORTED MlirType | rtgSequenceTypeGetElement (MlirType type, unsigned i) |
The type of of the substitution element at the given index. | |
MLIR_CAPI_EXPORTED bool | rtgTypeIsARandomizedSequence (MlirType type) |
If the type is an RTG randomized sequence. | |
MLIR_CAPI_EXPORTED MlirType | rtgRandomizedSequenceTypeGet (MlirContext ctxt) |
Creates an RTG randomized sequence type in the context. | |
MLIR_CAPI_EXPORTED bool | rtgTypeIsALabel (MlirType type) |
If the type is an RTG label. | |
MLIR_CAPI_EXPORTED MlirType | rtgLabelTypeGet (MlirContext ctxt) |
Creates an RTG mode type in the context. | |
MLIR_CAPI_EXPORTED bool | rtgTypeIsASet (MlirType type) |
If the type is an RTG set. | |
MLIR_CAPI_EXPORTED MlirType | rtgSetTypeGet (MlirType elementType) |
Creates an RTG set type in the context. | |
MLIR_CAPI_EXPORTED bool | rtgTypeIsABag (MlirType type) |
If the type is an RTG bag. | |
MLIR_CAPI_EXPORTED MlirType | rtgBagTypeGet (MlirType elementType) |
Creates an RTG bag type in the context. | |
MLIR_CAPI_EXPORTED bool | rtgTypeIsADict (MlirType type) |
If the type is an RTG dict. | |
MLIR_CAPI_EXPORTED MlirType | rtgDictTypeGet (MlirContext ctxt, intptr_t numEntries, MlirAttribute const *entryNames, MlirType const *entryTypes) |
Creates an RTG dict type in the context. | |
MLIR_CAPI_EXPORTED bool | rtgAttrIsALabelVisibilityAttr (MlirAttribute attr) |
If the attribute is an RTG label visibility. | |
MLIR_CAPI_EXPORTED RTGLabelVisibility | rtgLabelVisibilityAttrGetValue (MlirAttribute attr) |
Get the RTG label visibility from the attribute. | |
MLIR_CAPI_EXPORTED MlirAttribute | rtgLabelVisibilityAttrGet (MlirContext ctxt, RTGLabelVisibility visibility) |
Creates an RTG label visibility attribute in the context. | |
typedef enum RTGLabelVisibility RTGLabelVisibility |
enum RTGLabelVisibility |
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION | ( | RTG | , |
rtg | |||
) |
MLIR_CAPI_EXPORTED bool rtgAttrIsALabelVisibilityAttr | ( | MlirAttribute | attr | ) |
MLIR_CAPI_EXPORTED MlirType rtgBagTypeGet | ( | MlirType | elementType | ) |
Creates an RTG bag type in the context.
Definition at line 86 of file RTG.cpp.
References elementType, unwrap(), and wrap().
MLIR_CAPI_EXPORTED MlirType rtgDictTypeGet | ( | MlirContext | ctxt, |
intptr_t | numEntries, | ||
MlirAttribute const * | entryNames, | ||
MlirType const * | entryTypes | ||
) |
Creates an RTG dict type in the context.
Definition at line 96 of file RTG.cpp.
References circt::rtg::DictEntry::name, circt::rtg::DictEntry::type, unwrap(), and wrap().
MLIR_CAPI_EXPORTED MlirType rtgLabelTypeGet | ( | MlirContext | ctxt | ) |
MLIR_CAPI_EXPORTED MlirAttribute rtgLabelVisibilityAttrGet | ( | MlirContext | ctxt, |
RTGLabelVisibility | visibility | ||
) |
Creates an RTG label visibility attribute in the context.
Definition at line 131 of file RTG.cpp.
References RTG_LABEL_VISIBILITY_EXTERNAL, RTG_LABEL_VISIBILITY_GLOBAL, RTG_LABEL_VISIBILITY_LOCAL, unwrap(), and wrap().
MLIR_CAPI_EXPORTED RTGLabelVisibility rtgLabelVisibilityAttrGetValue | ( | MlirAttribute | attr | ) |
Get the RTG label visibility from the attribute.
Definition at line 117 of file RTG.cpp.
References RTG_LABEL_VISIBILITY_EXTERNAL, RTG_LABEL_VISIBILITY_GLOBAL, RTG_LABEL_VISIBILITY_LOCAL, and unwrap().
MLIR_CAPI_EXPORTED MlirType rtgRandomizedSequenceTypeGet | ( | MlirContext | ctxt | ) |
MLIR_CAPI_EXPORTED MlirType rtgSequenceTypeGet | ( | MlirContext | ctxt, |
intptr_t | numElements, | ||
MlirType const * | elementTypes | ||
) |
Creates an RTG sequence type in the context.
Definition at line 35 of file RTG.cpp.
References numElements, unwrap(), and wrap().
MLIR_CAPI_EXPORTED MlirType rtgSequenceTypeGetElement | ( | MlirType | type, |
unsigned | i | ||
) |
MLIR_CAPI_EXPORTED unsigned rtgSequenceTypeGetNumElements | ( | MlirType | type | ) |
MLIR_CAPI_EXPORTED MlirType rtgSetTypeGet | ( | MlirType | elementType | ) |
Creates an RTG set type in the context.
Definition at line 76 of file RTG.cpp.
References elementType, unwrap(), and wrap().
MLIR_CAPI_EXPORTED bool rtgTypeIsABag | ( | MlirType | type | ) |
MLIR_CAPI_EXPORTED bool rtgTypeIsADict | ( | MlirType | type | ) |
MLIR_CAPI_EXPORTED bool rtgTypeIsALabel | ( | MlirType | type | ) |
MLIR_CAPI_EXPORTED bool rtgTypeIsARandomizedSequence | ( | MlirType | type | ) |
MLIR_CAPI_EXPORTED bool rtgTypeIsASequence | ( | MlirType | type | ) |