CIRCT 20.0.0git
Loading...
Searching...
No Matches
Functions
RTG.h File Reference
#include "mlir-c/IR.h"
Include dependency graph for RTG.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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)
 Creates an RTG 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.
 

Function Documentation

◆ MLIR_DECLARE_CAPI_DIALECT_REGISTRATION()

MLIR_DECLARE_CAPI_DIALECT_REGISTRATION ( RTG  ,
rtg   
)

◆ rtgBagTypeGet()

MLIR_CAPI_EXPORTED MlirType rtgBagTypeGet ( MlirType  elementType)

Creates an RTG bag type in the context.

Definition at line 63 of file RTG.cpp.

References elementType, unwrap(), and wrap().

◆ rtgDictTypeGet()

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 73 of file RTG.cpp.

References circt::rtg::DictEntry::name, circt::rtg::DictEntry::type, unwrap(), and wrap().

◆ rtgLabelTypeGet()

MLIR_CAPI_EXPORTED MlirType rtgLabelTypeGet ( MlirContext  ctxt)

Creates an RTG mode type in the context.

Definition at line 44 of file RTG.cpp.

References unwrap(), and wrap().

◆ rtgSequenceTypeGet()

MLIR_CAPI_EXPORTED MlirType rtgSequenceTypeGet ( MlirContext  ctxt)

Creates an RTG sequence type in the context.

Definition at line 35 of file RTG.cpp.

References unwrap(), and wrap().

◆ rtgSetTypeGet()

MLIR_CAPI_EXPORTED MlirType rtgSetTypeGet ( MlirType  elementType)

Creates an RTG set type in the context.

Definition at line 53 of file RTG.cpp.

References elementType, unwrap(), and wrap().

◆ rtgTypeIsABag()

MLIR_CAPI_EXPORTED bool rtgTypeIsABag ( MlirType  type)

If the type is an RTG bag.

Definition at line 61 of file RTG.cpp.

References unwrap().

◆ rtgTypeIsADict()

MLIR_CAPI_EXPORTED bool rtgTypeIsADict ( MlirType  type)

If the type is an RTG dict.

Definition at line 71 of file RTG.cpp.

References unwrap().

◆ rtgTypeIsALabel()

MLIR_CAPI_EXPORTED bool rtgTypeIsALabel ( MlirType  type)

If the type is an RTG label.

Definition at line 42 of file RTG.cpp.

References unwrap().

◆ rtgTypeIsASequence()

MLIR_CAPI_EXPORTED bool rtgTypeIsASequence ( MlirType  type)

If the type is an RTG sequence.

Definition at line 31 of file RTG.cpp.

References unwrap().

◆ rtgTypeIsASet()

MLIR_CAPI_EXPORTED bool rtgTypeIsASet ( MlirType  type)

If the type is an RTG set.

Definition at line 51 of file RTG.cpp.

References unwrap().