Skip to main content

mlirIntegerAttrGetFromWords

Function mlirIntegerAttrGetFromWords 

Source
pub unsafe extern "C" fn mlirIntegerAttrGetFromWords(
    type_: MlirType,
    numWords: c_uint,
    words: *const u64,
) -> MlirAttribute
Expand description

Creates an integer attribute of the given type from an array of 64-bit words. This is useful for creating integer attributes with values with widths larger than 64 bits. Words are in little-endian order (least significant word first). The number of words must match the bit width of the type: numWords = ceil(bitWidth / 64).