9#ifndef CIRCT_C_DIALECT_LLHD_H
10#define CIRCT_C_DIALECT_LLHD_H
50 MlirStringRef timeUnit,
MLIR_CAPI_EXPORTED uint64_t llhdTimeAttrGetSeconds(MlirAttribute)
Get the seconds component of a time attribute.
MLIR_CAPI_EXPORTED MlirStringRef llhdTimeAttrGetTimeUnit(MlirAttribute)
Get the time unit of a time attribute.
MLIR_CAPI_EXPORTED MlirType llhdTimeTypeGet(MlirContext ctx)
Create a time type.
MLIR_CAPI_EXPORTED uint64_t llhdTimeAttrGetDelta(MlirAttribute)
Get the delta component of a time attribute.
MLIR_CAPI_EXPORTED MlirType llhdRefTypeGetNestedType(MlirType)
Get the inner type of a reference.
MLIR_CAPI_EXPORTED MlirType llhdRefTypeGet(MlirType element)
Create a reference type.
MLIR_CAPI_EXPORTED uint64_t llhdTimeAttrGetEpsilon(MlirAttribute)
Get the epsilon component of a time attribute.
MLIR_CAPI_EXPORTED bool llhdTypeIsATimeType(MlirType)
Check if a type is a time type.
MLIR_CAPI_EXPORTED bool llhdTypeIsARefType(MlirType)
Check if a type is a reference type.
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(LLHD, llhd)
MLIR_CAPI_EXPORTED bool llhdAttrIsATimeAttr(MlirAttribute)
Check if an attribute is a time attribute.
MLIR_CAPI_EXPORTED MlirAttribute llhdTimeAttrGet(MlirContext ctx, MlirStringRef timeUnit, uint64_t seconds, uint64_t delta, uint64_t epsilon)
Create a time attribute.