

def _print_Function(self, expr):
    name = expr.func.__name__
    e0 = self._print(expr.args[0])
    fn = self.ext_fn.get(name)
    if (not fn):
        fn_type = ll.FunctionType(self.fp_type, [self.fp_type])
        fn = ll.Function(self.module, fn_type, name)
        self.ext_fn[name] = fn
    return self.builder.call(fn, [e0], name)

dataset/ETHPy150Open sympy/sympy/sympy/printing/llvmjitcode.py LLVMJitPrinter._print_Function/original