search for: llvmaddconstantpropagationpass

Displaying 5 results from an estimated 5 matches for "llvmaddconstantpropagationpass".

2020 Jul 28
2
Removing IPConstantPropagation.cpp
Should ConstantProp.cpp also be removed? It doesn't look like it's been worked on in over 10 years, and aside from check-llvm lit tests, the only use is in llvm/unittests/ExecutionEngine/MCJIT/MCJITAPITest.cpp via LLVMAddConstantPropagationPass. (it hasn't been ported to the new pass manager which is why I'm asking) On Mon, Jul 27, 2020 at 6:01 PM Chris Lattner via llvm-dev < llvm-dev at lists.llvm.org> wrote: > I’m ok removing it. The only utility I can see is as a simple > interprocedural pass for teaching people....
2020 Jun 16
2
Need help on JIT compilation speed
...any advice. This is how I organized the optimization pass: LLVMAddBasicAliasAnalysisPass(comp_ctx->pass_mgr); LLVMAddPromoteMemoryToRegisterPass(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) {...
2012 Sep 27
0
[LLVMdev] Possible bug or misunderstanding of feature LLVMConstIntOfString
..., 4, &pErr); if (pErr) { printf("[Creating JIT Compiler] Error: %s\n", pErr); LLVMDisposeMessage(pErr); exit(0); } LLVMPassManagerRef 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\...
2020 Jul 27
5
Removing IPConstantPropagation.cpp
Hi, As far as I know, the ipconstprop pass has not been actively used in years and ipsccp has been used instead. This has the potential for confusion and sometimes leads people to spend time finding & reporting bugs as well as updating it to work with the latest API changes. If there are people actively using it, I would love to hear. If no-ones using it, I’d propose to remove the dead
2009 Nov 05
2
[LLVMdev] Strange error for libLLVMCore.a
...sposeMessage' c:\Work\llvm//fac.c:68: undefined reference to `LLVMCreatePassManager' c:\Work\llvm//fac.c:69: undefined reference to `LLVMGetExecutionEngineTargetData' c:\Work\llvm//fac.c:69: undefined reference to `LLVMAddTargetData' c:\Work\llvm//fac.c:70: undefined reference to `LLVMAddConstantPropagationPass' 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 `LL...