llvm2py.ir.support module

argument_attributes(attrs: list, arg_no: int)

Returns the argument attributes.

arguments_attributes(attrs: list)

Returns the attributes of the arguments.

attrs_list_to_dict(attrs_list: list[list[tuple]])
attrs_to_dict(attrs: list[tuple]) dict[str, tuple | tuple[Any] | tuple[Any, Any]]

Transforms attributes from tuple form to dict form. Conversation:

[("nsw",), ("fmf", []), ("vscale_range", 1, 2)]
->
{
    "nsw": (),
    "fmf": [],
    "vscale_range": (1, 2)
}
function_attributes(attrs: list)

Returns the attributes of the function.

ret_attributes(attrs: list)

Returns the attributes of the returned value.