CIRCT 20.0.0git
Loading...
Searching...
No Matches
Functions
RTGTest.cpp File Reference
#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"
Include dependency graph for RTGTest.cpp:

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.
 

Function Documentation

◆ rtgtestAttrIsACPU()

bool rtgtestAttrIsACPU ( MlirAttribute  attr)

If the type is an RTGTest CPUAttr.

Definition at line 39 of file RTGTest.cpp.

References unwrap().

◆ rtgtestCPUAttrGet()

MlirAttribute rtgtestCPUAttrGet ( MlirContext  ctxt,
unsigned  id 
)

Creates an RTGTest CPU attribute in the context.

Definition at line 43 of file RTGTest.cpp.

References unwrap(), and wrap().

◆ rtgtestCPUAttrGetId()

unsigned rtgtestCPUAttrGetId ( MlirAttribute  attr)

Returns the core ID represented by the CPU attribute.

Definition at line 47 of file RTGTest.cpp.

References unwrap().

◆ rtgtestCPUTypeGet()

MlirType rtgtestCPUTypeGet ( MlirContext  ctxt)

Creates an RTGTest CPU type in the context.

Definition at line 31 of file RTGTest.cpp.

References unwrap(), and wrap().

◆ rtgtestTypeIsACPU()

bool rtgtestTypeIsACPU ( MlirType  type)

If the type is an RTGTest CPUType.

Definition at line 29 of file RTGTest.cpp.

References unwrap().