search for: llvmrunpassmanager

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

2013 Sep 22
1
[LLVMdev] DebugIR pass fails with an assert
...007fffef4cbbfc in llvm::PassManagerImpl::run (this=0x67c970, M=...) at /home/kolkhovskiy/3rdparty/llvm/lib/IR/PassManager.cpp:1703 #20 0x00007fffef4cbe0f in llvm::PassManager::run (this=0x67e0c0, M=...) at /home/kolkhovskiy/3rdparty/llvm/lib/IR/PassManager.cpp:1738 #21 0x00007fffef3d73b8 in LLVMRunPassManager (PM=0x67e0c0, M=0x626360) at /home/kolkhovskiy/3rdparty/llvm/lib/IR/Core.cpp:2535 <more frames follow, but belong to my own software> What does "Literal structs never have names" mean? Do i have a problem somewhere in the IR? -- Regards, Konstantin -------------- next part --...
2014 Aug 18
2
[LLVMdev] [RFC] Removing static initializers for command line options
> On Aug 18, 2014, at 4:25 PM, Filip Pizlo <fpizlo at apple.com> wrote: > > > >> On Aug 18, 2014, at 3:21 PM, Chris Bieneman <beanz at apple.com> wrote: >> >> >>>> On Aug 18, 2014, at 3:09 PM, Rafael Espíndola <rafael.espindola at gmail.com> wrote: >>>> >>>> Some passes take options directly in the
2012 Sep 27
0
[LLVMdev] Possible bug or misunderstanding of feature LLVMConstIntOfString
...); 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); LLVMRunFunctionAsMain(engExe, vFnMain, 0,...
2009 Nov 05
2
[LLVMdev] Strange error for libLLVMCore.a
...ngPass' 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:\Work\llvm//fac.c:80: undefined reference to `LLVMRunFunction' c:\Work\l...
2014 Aug 19
3
[LLVMdev] [RFC] Removing static initializers for command line options
...that feels like it shouldn't be an "option" at all but maybe an attribute instead. >> >> How do you construct you PassManager? > > LLVMCreatePassManager() and then we add target data, add a target machine analysis pass, and then we construct our pipeline and call LLVMRunPassManager(). > > -Filip > >> >> -Chris >> >>> >>>> >>>> I do agree that we should ultimately drop the cl namespace if we’re going in this direction. >>>> >>>> -Chris >>>> >>>>> >>>...