CIRCT 20.0.0git
|
#include "circt-c/Dialect/RTGTest.h"
#include "circt/Dialect/RTGTest/IR/RTGTestAttributes.h"
#include "circt/Dialect/RTGTest/IR/RTGTestDialect.h"
#include "circt/Dialect/RTGTest/IR/RTGTestTypes.h"
#include "mlir/CAPI/Registration.h"
Go to the source code of this file.
Functions | |
bool | rtgtestTypeIsACPU (MlirType type) |
If the type is an RTGTest CPUType. | |
MlirType | rtgtestCPUTypeGet (MlirContext ctxt) |
Creates an RTGTest CPU type in the context. | |
bool | rtgtestAttrIsACPU (MlirAttribute attr) |
If the type is an RTGTest CPUAttr. | |
MlirAttribute | rtgtestCPUAttrGet (MlirContext ctxt, unsigned id) |
Creates an RTGTest CPU attribute in the context. | |
unsigned | rtgtestCPUAttrGetId (MlirAttribute attr) |
Returns the core ID represented by the CPU attribute. | |
bool rtgtestAttrIsACPU | ( | MlirAttribute | attr | ) |
MlirAttribute rtgtestCPUAttrGet | ( | MlirContext | ctxt, |
unsigned | id | ||
) |
Creates an RTGTest CPU attribute in the context.
Definition at line 43 of file RTGTest.cpp.
unsigned rtgtestCPUAttrGetId | ( | MlirAttribute | attr | ) |
Returns the core ID represented by the CPU attribute.
Definition at line 47 of file RTGTest.cpp.
References unwrap().
MlirType rtgtestCPUTypeGet | ( | MlirContext | ctxt | ) |
Creates an RTGTest CPU type in the context.
Definition at line 31 of file RTGTest.cpp.
bool rtgtestTypeIsACPU | ( | MlirType | type | ) |