mlir_sys

Function mlirLLVMDIDerivedTypeAttrGet

Source
pub unsafe extern "C" fn mlirLLVMDIDerivedTypeAttrGet(
    ctx: MlirContext,
    tag: c_uint,
    name: MlirAttribute,
    baseType: MlirAttribute,
    sizeInBits: u64,
    alignInBits: u32,
    offsetInBits: u64,
    dwarfAddressSpace: i64,
    extraData: MlirAttribute,
) -> MlirAttribute
Expand description

Creates a LLVM DIDerivedType attribute. Note that dwarfAddressSpace is an optional field, where MLIR_CAPI_DWARF_ADDRESS_SPACE_NULL indicates null and non-negative values indicate a value present.