(func, args, kwargs, block, func_ir, loc=unknown_loc, prefix=None, name=None)
return make_assign(Expr.call(func_var, args, kwargs, loc), block.scope, func_ir, loc, prefix, name)
Creates variable and call expression with given functions object, intrinsic or function variable.
    Returns assignment statement of created variable to call expression
Creates variable and call expression with given functions object, intrinsic or function variable.
    Returns assignment statement of created variable to call expression
Creates variable and call expression with given functions object intrinsic or function variable . Returns assignment statement of created variable to call expression
def make_call(func, args, kwargs, block, func_ir, loc=unknown_loc, prefix=None, name=None):
    """
    Creates variable and call expression with given functions object, intrinsic or function variable.
    Returns assignment statement of created variable to call expression
    """
    assert isinstance(func, (FunctionType, _Intrinsic, Var))
    func_var = func

    if isinstance(func, (FunctionType, _Intrinsic)):
        func_var = import_function(func, block, func_ir).target

    return make_assign(Expr.call(func_var, args, kwargs, loc), block.scope, func_ir, loc, prefix, name)
def make_call ( func , args , kwargs , block , func_ir , loc = unknown_loc , prefix = None , name = None ) : assert isinstance ( func , ( FunctionType , _Intrinsic , Var ) ) func_var = func if isinstance ( func , ( FunctionType , _Intrinsic ) ) : func_var = import_function ( func , block , func_ir ) . target return make_assign ( Expr . call ( func_var , args , kwargs , loc ) , block . scope , func_ir , loc , prefix , name )