CIRCT
20.0.0git
|
#include "mlir-c/IR.h"
Go to the source code of this file.
Functions | |
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION (LLHD, llhd) | |
MLIR_CAPI_EXPORTED bool | llhdTypeIsATimeType (MlirType) |
Check if a type is a time type. More... | |
MLIR_CAPI_EXPORTED bool | llhdTypeIsASignalType (MlirType) |
Check if a type is a signal type. More... | |
MLIR_CAPI_EXPORTED bool | llhdTypeIsAPointerType (MlirType) |
Check if a type is a pointer type. More... | |
MLIR_CAPI_EXPORTED MlirType | llhdTimeTypeGet (MlirContext ctx) |
Create a time type. More... | |
MLIR_CAPI_EXPORTED MlirType | llhdSignalTypeGet (MlirType element) |
Create a signal type. More... | |
MLIR_CAPI_EXPORTED MlirType | llhdPointerTypeGet (MlirType element) |
Create a pointer type. More... | |
MLIR_CAPI_EXPORTED MlirType | llhdSignalTypeGetElementType (MlirType) |
Get the inner type of a signal. More... | |
MLIR_CAPI_EXPORTED MlirType | llhdPointerTypeGetElementType (MlirType) |
Get the inner type of a pointer. More... | |
MLIR_CAPI_EXPORTED bool | llhdAttrIsATimeAttr (MlirAttribute) |
Check if an attribute is a time attribute. More... | |
MLIR_CAPI_EXPORTED MlirAttribute | llhdTimeAttrGet (MlirContext ctx, MlirStringRef timeUnit, uint64_t seconds, uint64_t delta, uint64_t epsilon) |
Create a time attribute. More... | |
MLIR_CAPI_EXPORTED MlirStringRef | llhdTimeAttrGetTimeUnit (MlirAttribute) |
Get the time unit of a time attribute. More... | |
MLIR_CAPI_EXPORTED uint64_t | llhdTimeAttrGetSeconds (MlirAttribute) |
Get the seconds component of a time attribute. More... | |
MLIR_CAPI_EXPORTED uint64_t | llhdTimeAttrGetDelta (MlirAttribute) |
Get the delta component of a time attribute. More... | |
MLIR_CAPI_EXPORTED uint64_t | llhdTimeAttrGetEpsilon (MlirAttribute) |
Get the epsilon component of a time attribute. More... | |
MLIR_CAPI_EXPORTED bool llhdAttrIsATimeAttr | ( | MlirAttribute | attr | ) |
MLIR_CAPI_EXPORTED MlirType llhdPointerTypeGet | ( | MlirType | element | ) |
Create a pointer type.
Definition at line 43 of file LLHD.cpp.
References circt::calyx::direction::get(), unwrap(), and wrap().
MLIR_CAPI_EXPORTED MlirType llhdPointerTypeGetElementType | ( | MlirType | type | ) |
MLIR_CAPI_EXPORTED MlirType llhdSignalTypeGet | ( | MlirType | element | ) |
Create a signal type.
MLIR_CAPI_EXPORTED MlirType llhdSignalTypeGetElementType | ( | MlirType | ) |
Get the inner type of a signal.
MLIR_CAPI_EXPORTED MlirAttribute llhdTimeAttrGet | ( | MlirContext | ctx, |
MlirStringRef | timeUnit, | ||
uint64_t | seconds, | ||
uint64_t | delta, | ||
uint64_t | epsilon | ||
) |
Create a time attribute.
Definition at line 62 of file LLHD.cpp.
References circt::calyx::direction::get(), unwrap(), and wrap().
MLIR_CAPI_EXPORTED uint64_t llhdTimeAttrGetDelta | ( | MlirAttribute | attr | ) |
MLIR_CAPI_EXPORTED uint64_t llhdTimeAttrGetEpsilon | ( | MlirAttribute | attr | ) |
MLIR_CAPI_EXPORTED uint64_t llhdTimeAttrGetSeconds | ( | MlirAttribute | attr | ) |
MLIR_CAPI_EXPORTED MlirStringRef llhdTimeAttrGetTimeUnit | ( | MlirAttribute | attr | ) |
MLIR_CAPI_EXPORTED MlirType llhdTimeTypeGet | ( | MlirContext | ctx | ) |
Create a time type.
Definition at line 38 of file LLHD.cpp.
References circt::calyx::direction::get(), unwrap(), and wrap().
MLIR_CAPI_EXPORTED bool llhdTypeIsAPointerType | ( | MlirType | type | ) |
MLIR_CAPI_EXPORTED bool llhdTypeIsASignalType | ( | MlirType | ) |
Check if a type is a signal type.
MLIR_CAPI_EXPORTED bool llhdTypeIsATimeType | ( | MlirType | type | ) |
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION | ( | LLHD | , |
llhd | |||
) |