14 mlir::amdgpu::AMDGPUDialect)
24 return isa<amdgpu::TDMBaseType>(
unwrap(type));
28 return wrap(amdgpu::TDMBaseType::getTypeID());
36 return wrap(amdgpu::TDMBaseType::name);
44 return isa<amdgpu::TDMDescriptorType>(
unwrap(type));
48 return wrap(amdgpu::TDMDescriptorType::getTypeID());
52 return wrap(amdgpu::TDMDescriptorType::get(
unwrap(ctx)));
56 return wrap(amdgpu::TDMDescriptorType::name);
64 return isa<amdgpu::TDMGatherBaseType>(
unwrap(type));
68 return wrap(amdgpu::TDMGatherBaseType::getTypeID());
78 return wrap(amdgpu::TDMGatherBaseType::name);
MlirTypeID mlirAMDGPUTDMDescriptorTypeGetTypeID()
MlirStringRef mlirAMDGPUTDMBaseTypeGetName(void)
MlirTypeID mlirAMDGPUTDMBaseTypeGetTypeID()
MlirType mlirAMDGPUTDMDescriptorTypeGet(MlirContext ctx)
MlirTypeID mlirAMDGPUTDMGatherBaseTypeGetTypeID()
bool mlirTypeIsAAMDGPUTDMGatherBaseType(MlirType type)
MlirType mlirAMDGPUTDMGatherBaseTypeGet(MlirContext ctx, MlirType elementType, MlirType indexType)
MlirStringRef mlirAMDGPUTDMGatherBaseTypeGetName(void)
MlirStringRef mlirAMDGPUTDMDescriptorTypeGetName(void)
bool mlirTypeIsAAMDGPUTDMBaseType(MlirType type)
MlirType mlirAMDGPUTDMBaseTypeGet(MlirContext ctx, MlirType elementType)
bool mlirTypeIsAAMDGPUTDMDescriptorType(MlirType type)
#define MLIR_DEFINE_CAPI_DIALECT_REGISTRATION(Name, Namespace, ClassName)
MlirDiagnostic wrap(mlir::Diagnostic &diagnostic)
mlir::Diagnostic & unwrap(MlirDiagnostic diagnostic)
Include the generated interface declarations.
A pointer to a sized fragment of a string, not necessarily null-terminated.