mlir_sys

Function mlirLLVMStructTypeIdentifiedNewGet

Source
pub unsafe extern "C" fn mlirLLVMStructTypeIdentifiedNewGet(
    ctx: MlirContext,
    name: MlirStringRef,
    nFieldTypes: isize,
    fieldTypes: *const MlirType,
    isPacked: bool,
) -> MlirType
Expand description

Creates an LLVM identified struct type with no body and a name starting with the given prefix. If a struct with the exact name as the given prefix already exists, appends an unspecified suffix to the name so that the name is unique in context.