CIRCT  20.0.0git
Functions
RTG.cpp File Reference
#include "circt-c/Dialect/RTG.h"
#include "circt/Dialect/RTG/IR/RTGDialect.h"
#include "circt/Dialect/RTG/IR/RTGTypes.h"
#include "mlir/CAPI/Registration.h"
Include dependency graph for RTG.cpp:

Go to the source code of this file.

Functions

bool rtgTypeIsASequence (MlirType type)
 If the type is an RTG sequence. More...
 
MlirType rtgSequenceTypeGet (MlirContext ctxt)
 Creates an RTG sequence type in the context. More...
 
bool rtgTypeIsALabel (MlirType type)
 If the type is an RTG label. More...
 
MlirType rtgLabelTypeGet (MlirContext ctxt)
 Creates an RTG mode type in the context. More...
 
bool rtgTypeIsASet (MlirType type)
 If the type is an RTG set. More...
 
MlirType rtgSetTypeGet (MlirType elementType)
 Creates an RTG set type in the context. More...
 
bool rtgTypeIsABag (MlirType type)
 If the type is an RTG bag. More...
 
MlirType rtgBagTypeGet (MlirType elementType)
 Creates an RTG bag type in the context. More...
 
bool rtgTypeIsADict (MlirType type)
 If the type is an RTG dict. More...
 
MlirType rtgDictTypeGet (MlirContext ctxt, intptr_t numEntries, MlirAttribute const *entryNames, MlirType const *entryTypes)
 Creates an RTG dict type in the context. More...
 

Function Documentation

◆ rtgBagTypeGet()

MlirType rtgBagTypeGet ( MlirType  elementType)

Creates an RTG bag type in the context.

Definition at line 63 of file RTG.cpp.

References elementType, circt::calyx::direction::get(), unwrap(), and wrap().

◆ rtgDictTypeGet()

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 esiaccel.accelerator::ctxt, circt::calyx::direction::get(), circt::rtg::DictEntry::name, circt::rtg::DictEntry::type, unwrap(), and wrap().

◆ rtgLabelTypeGet()

MlirType rtgLabelTypeGet ( MlirContext  ctxt)

Creates an RTG mode type in the context.

Definition at line 44 of file RTG.cpp.

References esiaccel.accelerator::ctxt, circt::calyx::direction::get(), unwrap(), and wrap().

◆ rtgSequenceTypeGet()

MlirType rtgSequenceTypeGet ( MlirContext  ctxt)

Creates an RTG sequence type in the context.

Definition at line 35 of file RTG.cpp.

References esiaccel.accelerator::ctxt, circt::calyx::direction::get(), unwrap(), and wrap().

◆ rtgSetTypeGet()

MlirType rtgSetTypeGet ( MlirType  elementType)

Creates an RTG set type in the context.

Definition at line 53 of file RTG.cpp.

References elementType, circt::calyx::direction::get(), unwrap(), and wrap().

◆ rtgTypeIsABag()

bool rtgTypeIsABag ( MlirType  type)

If the type is an RTG bag.

Definition at line 61 of file RTG.cpp.

References unwrap().

◆ rtgTypeIsADict()

bool rtgTypeIsADict ( MlirType  type)

If the type is an RTG dict.

Definition at line 71 of file RTG.cpp.

References unwrap().

◆ rtgTypeIsALabel()

bool rtgTypeIsALabel ( MlirType  type)

If the type is an RTG label.

Definition at line 42 of file RTG.cpp.

References unwrap().

◆ rtgTypeIsASequence()

bool rtgTypeIsASequence ( MlirType  type)

If the type is an RTG sequence.

Definition at line 31 of file RTG.cpp.

References unwrap().

◆ rtgTypeIsASet()

bool rtgTypeIsASet ( MlirType  type)

If the type is an RTG set.

Definition at line 51 of file RTG.cpp.

References unwrap().