def _llvm_jit_code(args, expr, signature, callback_type):
 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

def _llvm_jit_code ( args , expr , signature , callback_type ) : 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
create a native code function from a sympy expression .