mlir_sys

Function mlirLLVMStructTypeLiteralGet

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

Creates an LLVM literal (unnamed) struct type. This may assert if the fields have types not compatible with the LLVM dialect. For a graceful failure, use the checked version.