Displaying 3 results from an estimated 3 matches for "llvmaddcfgsimplificationpass".
2020 Jun 16
2
Need help on JIT compilation speed
...rPass(comp_ctx->pass_mgr);
LLVMAddInstructionCombiningPass(comp_ctx->pass_mgr);
LLVMAddJumpThreadingPass(comp_ctx->pass_mgr);
LLVMAddConstantPropagationPass(comp_ctx->pass_mgr);
LLVMAddReassociatePass(comp_ctx->pass_mgr);
LLVMAddGVNPass(comp_ctx->pass_mgr);
LLVMAddCFGSimplificationPass(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++)
LLVMRunFunctionPassMa...
2012 Sep 27
0
[LLVMdev] Possible bug or misunderstanding of feature LLVMConstIntOfString
...sManagerRef rPassMgr = LLVMCreatePassManager();
LLVMAddTargetData(LLVMGetExecutionEngineTargetData(engExe), rPassMgr);
LLVMAddConstantPropagationPass(rPassMgr);
LLVMAddInstructionCombiningPass(rPassMgr);
LLVMAddPromoteMemoryToRegisterPass(rPassMgr);
LLVMAddGVNPass(rPassMgr);
LLVMAddCFGSimplificationPass(rPassMgr);
LLVMRunPassManager(rPassMgr, modCEx);
printf("\n[llvmPrintf# %s] Dumping OPTIMIZED LLVM generated Code\n",
moduleName);
LLVMDumpModule(modCEx);
// printf Executing:
printf("\n[llvmPrintf# %s] Executing generated Code\n", moduleName);
LLVMRun...
2009 Nov 05
2
[LLVMdev] Strange error for libLLVMCore.a
...ss'
c:\Work\llvm//fac.c:71: undefined reference to
`LLVMAddInstructionCombiningPass'
c:\Work\llvm//fac.c:72: undefined reference to
`LLVMAddPromoteMemoryToRegisterPass'
c:\Work\llvm//fac.c:74: undefined reference to `LLVMAddGVNPass'
c:\Work\llvm//fac.c:75: undefined reference to
`LLVMAddCFGSimplificationPass'
c:\Work\llvm//fac.c:76: undefined reference to `LLVMRunPassManager'
c:\Work\llvm//fac.c:77: undefined reference to `LLVMDumpModule'
c:\Work\llvm//fac.c:79: undefined reference to `LLVMInt32Type'
c:\Work\llvm//fac.c:79: undefined reference to `LLVMCreateGenericValueOfInt'
c:\Wor...