

def _compile_function(self, strmod):
    global exe_engines
    llmod = llvm.parse_assembly(pmb)
    pmb = llvm.create_pass_manager_builder()
    pmb.opt_level = 2
    pass_manager = llvm.create_module_pass_manager()
    pmb.populate(pass_manager)
    pass_manager.run(llmod)
    target_machine = llvm.Target.from_default_triple().create_target_machine()
    exe_eng = llvm.create_mcjit_compiler(llmod, target_machine)
    exe_eng.finalize_object()
    exe_engines.append(exe_eng)
    if False:
        print('Assembly')
        print(target_machine.emit_assembly(llmod))
    fptr = exe_eng.get_pointer_to_function(llmod.get_function(self.link_name))
    return fptr

dataset/ETHPy150Open sympy/sympy/sympy/printing/llvmjitcode.py LLVMJitCode._compile_function/VarMisuse@21/30 `strmod`->`pmb`