search for: llvmrunfunctionpassmanag

Displaying 1 result from an estimated 1 matches for "llvmrunfunctionpassmanag".

2020 Jun 16
2
Need help on JIT compilation speed
...CFGSimplificationPass(comp_ctx->pass_mgr); This is how I apply passes to my single IR module (which actually includes 927 functions) if (comp_ctx->optimize) { LLVMInitializeFunctionPassManager(comp_ctx->pass_mgr); for (i = 0; i < comp_ctx->func_ctx_count; i++) LLVMRunFunctionPassManager(comp_ctx->pass_mgr, comp_ctx->func_ctxes[i]->func); } BR, Terry -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200616/f95d4bb4/attachment.html>