

def _llvm_jit_code(args, expr, signature, callback_type):
    'Create a native code function from a Sympy expression'
    if (callback_type is None):
        jit = LLVMJitCode(signature)
    else:
        jit = LLVMJitCodeCallback(signature)
    jit._create_args(args)
    jit._create_function_base()
    jit._create_param_dict(args)
    strmod = jit._create_function(expr)
    if False:
        print('LLVM IR')
        print(strmod)
    fptr = jit._compile_function(strmod)
    return fptr

dataset/ETHPy150Open sympy/sympy/sympy/printing/llvmjitcode.py _llvm_jit_code/original