jit_block_set_meta

Function jit_block_set_meta 

Source
pub unsafe extern "C" fn jit_block_set_meta(
    block: jit_block_t,
    type_: c_int,
    data: *mut c_void,
    free_data: jit_meta_free_func,
) -> c_int
Expand description

Tag a block with some metadata. Returns zero if out of memory. If the type already has some metadata associated with it, then the previous value will be freed. Metadata may be used to store dependency graphs, branch prediction information, or any other information that is useful to optimizers or code generators.

Metadata type values of 10000 or greater are reserved for internal use.