#include "mlir-c/IR.h"
Go to the source code of this file.
◆ llhdAttrIsATimeAttr()
| MLIR_CAPI_EXPORTED bool llhdAttrIsATimeAttr |
( |
MlirAttribute | attr | ) |
|
Check if an attribute is a time attribute.
Definition at line 55 of file LLHD.cpp.
References unwrap().
◆ llhdRefTypeGet()
| MLIR_CAPI_EXPORTED MlirType llhdRefTypeGet |
( |
MlirType | element | ) |
|
◆ llhdRefTypeGetNestedType()
| MLIR_CAPI_EXPORTED MlirType llhdRefTypeGetNestedType |
( |
MlirType | type | ) |
|
◆ llhdTimeAttrGet()
| MLIR_CAPI_EXPORTED MlirAttribute llhdTimeAttrGet |
( |
MlirContext | ctx, |
|
|
MlirStringRef | timeUnit, |
|
|
uint64_t | seconds, |
|
|
uint64_t | delta ) |
◆ llhdTimeAttrGetDelta()
| MLIR_CAPI_EXPORTED uint64_t llhdTimeAttrGetDelta |
( |
MlirAttribute | attr | ) |
|
Get the delta component of a time attribute.
Definition at line 76 of file LLHD.cpp.
References unwrap().
◆ llhdTimeAttrGetSeconds()
| MLIR_CAPI_EXPORTED uint64_t llhdTimeAttrGetSeconds |
( |
MlirAttribute | attr | ) |
|
Get the seconds component of a time attribute.
Definition at line 71 of file LLHD.cpp.
References unwrap().
◆ llhdTimeAttrGetTimeUnit()
| MLIR_CAPI_EXPORTED MlirStringRef llhdTimeAttrGetTimeUnit |
( |
MlirAttribute | attr | ) |
|
◆ llhdTimeTypeGet()
| MLIR_CAPI_EXPORTED MlirType llhdTimeTypeGet |
( |
MlirContext | ctx | ) |
|
◆ llhdTypeIsARefType()
| MLIR_CAPI_EXPORTED bool llhdTypeIsARefType |
( |
MlirType | type | ) |
|
Check if a type is a reference type.
Definition at line 33 of file LLHD.cpp.
References unwrap().
◆ llhdTypeIsATimeType()
| MLIR_CAPI_EXPORTED bool llhdTypeIsATimeType |
( |
MlirType | type | ) |
|
◆ MLIR_DECLARE_CAPI_DIALECT_REGISTRATION()
| MLIR_DECLARE_CAPI_DIALECT_REGISTRATION |
( |
LLHD | , |
|
|
llhd | ) |