mlir_sys

Function mlirLLVMStructTypeIdentifiedGet

Source
pub unsafe extern "C" fn mlirLLVMStructTypeIdentifiedGet(
    ctx: MlirContext,
    name: MlirStringRef,
) -> MlirType
Expand description

Creates an LLVM identified struct type with no body. If a struct type with this name already exists in the context, returns that type. Use mlirLLVMStructTypeIdentifiedNewGet to create a fresh struct type, potentially renaming it. The body should be set separatelty by calling mlirLLVMStructTypeSetBody, if it isn’t set already.