search for: functionpassmanagerimpl

Displaying 20 results from an estimated 98 matches for "functionpassmanagerimpl".

2011 Oct 25
1
[LLVMdev] Using a FunctionPass inside a CallGraphSCCPass
...to this page, where Devang Patel suggests implementing the addLowerLevelRequiredPasses in CGPassManager in a manner similar to MPPassManager. http://old.nabble.com/DominatorTree-Information-required-in-CallGraphPass-td 21968640.html I tried this but to get analysis passes on the fly I need to use FunctionPassManagerImpl in CallGraphSCCPass.cpp which I cannot because it is not part of any header file. I tried using FunctionPassManager but it does not implement getOnTheFlyPass() required by getAnalysis(). I also tried putting CGPassManager in PassManager.cpp (and therefore in libLLVMCore.a ?) but the build failed d...
2009 Jul 09
2
[LLVMdev] Unnamed pass in on the fly pass manager
I have written a module pass. When I use the debug pass structure option, the name of my module pass is printed but then I get "Unnamed pass" when the FunctionPassManagerImpl *FPP calls dumpPassStructure (in PassManager.cpp). Is this the expected behavior, or should I be concerned that there is an error in my approach? Thanks, Scott
2009 Jun 28
3
[LLVMdev] Error when running llc to compile .bc to .s
...e*, llvm::MachineModuleInfo*, llvm::raw_ostream&, llvm::AsmPrinter*, llvm::TargetAsmInfo const*) + 166 10 llc 0x0000000000b9b513 11 llc 0x0000000001142c73 llvm::FPPassManager::doInitialization(llvm::Module&) + 65 12 llc 0x0000000001142d96 llvm::FunctionPassManagerImpl::doInitialization(llvm::Module&) + 58 13 llc 0x0000000001142e01 llvm::FunctionPassManager::doInitialization() + 41 14 llc 0x000000000084b43d main + 2481 15 libc.so.6 0x00007fa91cc261c4 __libc_start_main + 244 16 llc 0x0000000000849849 Stack dump:...
2010 Aug 27
0
[LLVMdev] What does this error mean: psuedo instructions should be removed before code emission?
...nctionPass::runOnFunction (this=0x3231900, F=@0x4530c60) at /tmp/llvm-svn/llvm/lib/CodeGen/MachineFunctionPass.cpp:33 #7 0x0000000802e76e77 in llvm::FPPassManager::runOnFunction (this=0x235e540, F=@0x4530c60) at /tmp/llvm-svn/llvm/lib/VMCore/PassManager.cpp:1443 #8 0x0000000802e76b3f in llvm::FunctionPassManagerImpl::run (this=0x1e1a300, F=@0x4530c60) at /tmp/llvm-svn/llvm/lib/VMCore/PassManager.cpp:1394 #9 0x0000000802e767ef in llvm::FunctionPassManager::run (this=0x4b566c0, F=@0x4530c60) at /tmp/llvm-svn/llvm/lib/VMCore/PassManager.cpp:1324 #10 0x0000000802f50500 in llvm::JIT::jitTheFunction (this=0x327...
2010 Mar 19
2
[LLVMdev] Use of blockadress() crashes llc in some cases
...red(llvm::BasicBlock*, llvm::Pass*) + 186 8 llc 0x0000000000a8780f 9 llc 0x0000000000a8830b 10 llc 0x0000000000a89cd6 11 llc 0x0000000000bfdf16 llvm::FPPassManager::runOnFunction(llvm::Function&) + 534 12 llc 0x0000000000bfe0f1 llvm::FunctionPassManagerImpl::run(llvm::Function&) + 129 13 llc 0x0000000000bfe31e llvm::FunctionPassManager::run(llvm::Function&) + 110 14 llc 0x000000000052d334 main + 3556 15 libc.so.6 0x00007feccc311a3d __libc_start_main + 253 16 llc 0x000000000052b039 Stack dump: 0. P...
2012 Aug 06
2
[LLVMdev] Code-emission problem
...eFunction(llvm::MachineFunction&) + 577 9 lli 0x0000000102fb953e llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 110 10 lli 0x0000000103481d9d llvm::FPPassManager::runOnFunction(llvm::Function&) + 445 11 lli 0x00000001034815d1 llvm::FunctionPassManagerImpl::run(llvm::Function&) + 129 12 lli 0x0000000103481542 llvm::FunctionPassManager::run(llvm::Function&) + 162 13 lli 0x0000000102ebb2cf llvm::JIT::jitTheFunction(llvm::Function*, llvm::MutexGuard const&) + 63 14 lli 0x0000000102ebb17a llvm::JIT::r...
2009 Jul 10
0
[LLVMdev] Unnamed pass in on the fly pass manager
...approach is wrong. Thanks, Scott On Thu, Jul 9, 2009 at 1:27 PM, Scott Ricketts<sricketts at maxentric.com> wrote: > I have written a module pass. When I use the debug pass structure > option, the name of my module pass is printed but then I get "Unnamed > pass" when the FunctionPassManagerImpl *FPP calls dumpPassStructure > (in PassManager.cpp). Is this the expected behavior, or should I be > concerned that there is an error in my approach? > > Thanks, > Scott >
2010 Aug 27
3
[LLVMdev] What does this error mean: psuedo instructions should be removed before code emission?
On Aug 27, 2010, at 11:00 AMPDT, Eric Christopher wrote: >>> >>> For some reason I am getting this error even when I only have an >>> empty 'main' function. So I couldn't create .ll file reproducing >>> it and I have to debug myself. >>> >>> The function causing the problem is stub created in >>> JIT::runFunction:
2009 Jul 10
1
[LLVMdev] Unnamed pass in on the fly pass manager
...s, > Scott > > On Thu, Jul 9, 2009 at 1:27 PM, Scott Ricketts<sricketts at maxentric.com> wrote: >> I have written a module pass. When I use the debug pass structure >> option, the name of my module pass is printed but then I get "Unnamed >> pass" when the FunctionPassManagerImpl *FPP calls dumpPassStructure >> (in PassManager.cpp). Is this the expected behavior, or should I be >> concerned that there is an error in my approach? >> >> Thanks, >> Scott >> >
2010 Aug 27
2
[LLVMdev] What does this error mean: psuedo instructions should be removed before code emission?
...> (this=0x3231900, F=@0x4530c60) at > /tmp/llvm-svn/llvm/lib/CodeGen/MachineFunctionPass.cpp:33 > #7 0x0000000802e76e77 in llvm::FPPassManager::runOnFunction > (this=0x235e540, F=@0x4530c60) at > /tmp/llvm-svn/llvm/lib/VMCore/PassManager.cpp:1443 > #8 0x0000000802e76b3f in llvm::FunctionPassManagerImpl::run > (this=0x1e1a300, F=@0x4530c60) at > /tmp/llvm-svn/llvm/lib/VMCore/PassManager.cpp:1394 > #9 0x0000000802e767ef in llvm::FunctionPassManager::run > (this=0x4b566c0, F=@0x4530c60) at > /tmp/llvm-svn/llvm/lib/VMCore/PassManager.cpp:1324 > #10 0x0000000802f50500 in llvm::JIT::...
2011 Apr 19
2
[LLVMdev] Crash in llvm::JITDwarfEmitter::EmitDwarfTable on 2.8 and 2.9 release but not on trunk?
...ous namespace)::Emitter<llvm::JITCodeEmitter>::runOnMachineFunction () at stl_tree.h:1050 #3 0x0000000100b1381d in llvm::MachineFunctionPass::runOnFunction () at stl_tree.h:1050 #4 0x0000000100ee15f0 in llvm::FPPassManager::runOnFunction () at stl_tree.h:1050 #5 0x0000000100ee178c in llvm::FunctionPassManagerImpl::run () at stl_tree.h:1050 #6 0x0000000100ee1a79 in llvm::FunctionPassManager::run () at stl_tree.h:1050 #7 0x000000010084a29a in llvm::JIT::jitTheFunction () at context.h:491 #8 0x000000010084a821 in llvm::JIT::getPointerToFunction () at context.h:491 #9 0x00000001007924cc in XL::OCompiledUnit...
2016 Dec 27
1
Running grep with LLI
...4f2 7 libLLVM-3.4.so 0x00007f125105f3a2 8 libLLVM-3.4.so 0x00007f125087b6ec llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 124 9 libLLVM-3.4.so 0x00007f1250a46d9a llvm::FPPassManager::runOnFunction(llvm::Function&) + 362 10 libLLVM-3.4.so 0x00007f1250a464fe llvm::legacy::FunctionPassManagerImpl::run(llvm::Function&) + 238 11 libLLVM-3.4.so 0x00007f1250a4639d llvm::legacy::FunctionPassManager::run(llvm::Function&) + 93 12 libLLVM-3.4.so 0x00007f1250bca1dd llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*, llvm::MutexGuard const&) + 45 13 libLLVM-3.4.so 0x00007f1250bca435 l...
2007 Jul 15
2
[LLVMdev] JIT Leaks?
...ssManager(llvm::PMStack&, llvm::PassManagerType) 2.4M llvm::ExecutionEngine::create(llvm::ModuleProvider*, bool, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*) 2.4M _start 2.4M 0x1 2.4M llvm::PMTopLevelManager::schedulePass(llvm::Pass*) 2.4M llvm::FunctionPassManagerImpl::addTopLevelPass(llvm::Pass*) I hope this is usefull, I'm pretty new to OS X. Cheers, Paolo Invernizzi On 14/lug/07, at 22:29, Gordon Henriksen wrote: > On 2007-07-14, at 13:56, Anton Korobeynikov wrote: > >>> You can find out what exactly leaks with the help of valgrind. &gt...
2007 Apr 06
3
[LLVMdev] llc assertion failure
...fever/work/install/bin/llc(llvm::SelectionDAGISel::runOnFunction(llvm::Function&)+0x5d2)[0x865449e] /home/lefever/work/install/bin/llc[0x851d559] /home/lefever/work/install/bin/llc(llvm::FPPassManager::runOnFunction(llvm::Function&)+0x13a)[0x8844a7c] /home/lefever/work/install/bin/llc(llvm::FunctionPassManagerImpl::run(llvm::Function&)+0x6e)[0x8844d00] /home/lefever/work/install/bin/llc(llvm::FunctionPassManager::run(llvm::Function&)+0x88)[0x8844dc0] /home/lefever/work/install/bin/llc(main+0xbe0)[0x83b9cb6] /lib/libc.so.6(__libc_start_main+0xdc)[0x4caa24e4] /home/lefever/work/install/bin/llc(__gxx_pe...
2008 Sep 25
3
[LLVMdev] Kaleidoscope doesn't work properly
...rToGlobal () #6 0x083280e4 in (anonymous namespace)::JITEmitter::finishFunction () #7 0x0805f8d0 in (anonymous namespace)::Emitter::runOnMachineFunction () #8 0x081deee8 in llvm::MachineFunctionPass::runOnFunction () #9 0x08561cd7 in llvm::FPPassManager::runOnFunction () #10 0x08562185 in llvm::FunctionPassManagerImpl::run () #11 0x08562337 in llvm::FunctionPassManager::run () #12 0x0831f9ec in llvm::JIT::runJITOnFunction () #13 0x08321847 in llvm::JIT::getPointerToFunction () #14 0x0804f680 in MainLoop () at toy.cpp:508 #15 0x0804ff12 in main () at toy.cpp:590
2017 Sep 18
2
Clang/LLVM 5.0 optnone attribute with -O0
...ee that using -O0 adds the optnone attribute to all functions, making it impossible to use any existing LLVM passes in our code generator. We also tried using - "clang -Xclang -load -Xclang <module>.so -mllvm <custom options>" , but this caused a segfault at llvm::legacy::FunctionPassManagerImpl::doInitialization(llvm::Module&). What is the right way to get around this issue? Dipto
2013 Oct 06
1
[LLVMdev] Resolving a function symbol using JIT.
...00000688f83 8 lli 0x0000000000688700 9 lli 0x0000000000b5789e llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 110 10 lli 0x0000000001168e7b llvm::FPPassManager::runOnFunction(llvm::Function&) + 427 11 lli 0x0000000001168777 llvm::FunctionPassManagerImpl::run(llvm::Function&) + 119 12 lli 0x00000000011686e7 llvm::FunctionPassManager::run(llvm::Function&) + 167 13 lli 0x0000000000ac478f llvm::JIT::jitTheFunction(llvm::Function*, llvm::MutexGuard const&) + 63 14 lli 0x0000000000ac467e llvm::JIT::runJITO...
2010 Jun 01
2
[LLVMdev] Assertion when loading bitcode
...0x00237c4c llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 416 9 lli 0x0035ce3c llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 52 10 lli 0x005d979c llvm::FPPassManager::runOnFunction(llvm::Function&) + 512 11 lli 0x005d9934 llvm::FunctionPassManagerImpl::run(llvm::Function&) + 100 12 lli 0x005d9b9c llvm::FunctionPassManager::run(llvm::Function&) + 108 13 lli 0x00306e7c llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*, llvm::MutexGuard const&) + 44 14 lli 0x00307a40 llvm::JIT::getPointerToFunction(llvm::Function*) +...
2007 Sep 19
0
[LLVMdev] 2.1 Pre-Release Available (testers needed)
...4 #7 0x0853d4b8 in llvm::MachineFunctionPass::runOnFunction (this=0x29005ec0, F=@0x29007420) at MachineFunctionPass.h:41 #8 0x08b48a5d in llvm::FPPassManager::runOnFunction (this=0x29037060, F=@0x29007420) at /home/emil/ll/llvm-2.1/lib/VMCore/PassManager.cpp:1168 #9 0x08b48cc4 in llvm::FunctionPassManagerImpl::run (this=0x2902a040, F=@0x29007420) at /home/emil/ll/llvm-2.1/lib/VMCore/PassManager.cpp:1126 #10 0x08b48e48 in llvm::FunctionPassManager::run (this=0xbfbfebcc, F=@0x29007420) at /home/emil/ll/llvm-2.1/lib/VMCore/PassManager.cpp:1071 #11 0x0851b0da in main (argc=3, argv=0xbfbfec84)...
2011 Jan 15
2
[LLVMdev] LLVM GC
...pe const*, std::allocator<llvm::Type const*> > const&, bool) + 533 5 libLLVM-2.8.so 0x0000003cc3242d58 6 libLLVM-2.8.so 0x0000003cc318f09e 7 libLLVM-2.8.so 0x0000003cc3330628 llvm::FPPassManager::runOnFunction(llvm::Function&) + 424 8 libLLVM-2.8.so 0x0000003cc33307cb llvm::FunctionPassManagerImpl::run(llvm::Function&) + 91 9 libLLVM-2.8.so 0x0000003cc33309bd llvm::FunctionPassManager::run(llvm::Function&) + 173 10 libLLVM-2.8.so 0x0000003cc33e8647 llvm::JIT::jitTheFunction(llvm::Function*, llvm::MutexGuard const&) + 39 11 libLLVM-2.8.so 0x0000003cc33e8a2f llvm::JIT::runJITOn...