search for: passmanagertype

Displaying 20 results from an estimated 34 matches for "passmanagertype".

2007 Jul 15
2
[LLVMdev] JIT Leaks?
...3368 ............h3.. So all I know is that It's a size 16 leak *grin*. But MallocDebug reports as leaks 2.4M start 2.4M operator new(unsigned long) 2.4M MDmalloc 2.4M main 2.4M llvm::PMDataManager::add(llvm::Pass*, bool) 2.4M llvm::LoopPass::assignPassManager(llvm::PMStack&, llvm::PassManagerType) 2.4M llvm::LLVMTargetMachine::addPassesToEmitMachineCode (llvm::FunctionPassManager&, llvm::MachineCodeEmitter&, bool) 2.4M llvm::JIT::JIT[in-charge](llvm::ModuleProvider*, llvm::TargetMachine&, llvm::TargetJITInfo&) 2.4M llvm::JIT::create(llvm::ModuleProvider*, std::basic_strin...
2007 Jul 15
0
[LLVMdev] JIT Leaks?
...at It's a size 16 leak *grin*. > > But MallocDebug reports as leaks > > 2.4M start > 2.4M operator new(unsigned long) > 2.4M MDmalloc > 2.4M main > 2.4M llvm::PMDataManager::add(llvm::Pass*, bool) > 2.4M llvm::LoopPass::assignPassManager(llvm::PMStack&, > llvm::PassManagerType) > 2.4M llvm::LLVMTargetMachine::addPassesToEmitMachineCode > (llvm::FunctionPassManager&, llvm::MachineCodeEmitter&, bool) > 2.4M llvm::JIT::JIT[in-charge](llvm::ModuleProvider*, > llvm::TargetMachine&, llvm::TargetJITInfo&) > 2.4M llvm::JIT::create(llvm::ModuleProvi...
2009 Oct 28
1
[LLVMdev] vmjc and CallGraphSCCPass
How can I vmjc to run CallGraphSCCPasses? I wrote a test pass that does nothing, and all vmjc says is: vmjc: PassManager.cpp:1604: virtual void llvm::ModulePass::assignPassManager(llvm::PMStack&, llvm::PassManagerType): Assertion `!PMS.empty() && "Unable to find appropriate Pass Manager"' failed. 0 vmjc 0x08a6bfd8 Aborted Running even a built in pass like prune-eh fails as well. From what I can tell, this is because the only PassManager on the PMStack is a FunctionPassManager, and as...
2007 Jul 14
0
[LLVMdev] JIT Leaks?
On 2007-07-14, at 13:56, Anton Korobeynikov wrote: >> You can find out what exactly leaks with the help of valgrind. > > It seems, that Paolo is on Mac OS X. No valgrind there :( All is not lost… http://developer.apple.com/documentation/Performance/Conceptual/ ManagingMemory/Articles/FindingLeaks.html — Gordon
2009 Apr 09
3
[LLVMdev] Pass Manager Restriction?
...n requires another ModulePass results in an assertion being fired. Is this expected behavior (that seems to be undocumented), or a bug? Specifically, the following code will emit the assertion: [VMCore/PassManager.cpp:1597: virtual void llvm::ModulePass::assignPassManager(llvm::PMStack&, llvm::PassManagerType): Assertion `!PMS.empty() && "Unable to find appropriate Pass Manager"' failed] ****** struct ModPass1 : public ModulePass { static char ID; ModPass1() : ModulePass((intptr_t)&ID) {} virtual bool runOnModule(Module &M) { return false; } virtual void getAnalysi...
2009 Feb 27
4
[LLVMdev] -fPIC warning on every compile on Cygwin
On Fri, Feb 27, 2009 at 4:32 PM, Jay Foad <jay.foad at gmail.com> wrote: > >> Could you please rig Makefile.rules or something to print out the value > >> of $(LLVM_ON_WIN32) ? The only way I can think of this happening is if > >> that's erroneously false. > > This works for me: > > Index: Makefile.rules >
2009 Sep 09
2
[LLVMdev] [PATCH] & Question: Preserving ProfileInfo for backend.
...of the X86 target machine to load the profile information but receive the following runtime error when the pass manager attempts to add the ProfileLoader pass: llc: <path to llvm>/llvm/lib/VMCore/PassManager.cpp:1597: virtual void llvm::ModulePass::assignPassManager(llvm::PMStack&, llvm::PassManagerType): Assertion `!PMS.empty() && "Unable to find appropriate Pass Manager"' failed. I'm not very familiar with the inner workings of the pass manager framework. Is there a simple fix that can allow existing profile information to be loaded by backend passes? I realize that...
2009 Aug 02
2
[LLVMdev] code-altering Passes for llc
...ror routine. So I tried to create a ModulePass to insert some basic block e. g. in the beginning of the program, to use it for the jne-instruction. Unfortunately, llc then produces the error llc: PassManager.cpp:1597: virtual void llvm::ModulePass::assignPassManager(llvm::PMStack&, llvm::PassManagerType): Assertion `!PMS.empty() && "Unable to find appropriate Pass Manager"' failed. Adding a MachineFunctionPass the same way works fine. I've read here on the mailing list that some Pass dependencies cause this error, but I have no dependencies specified. How do I get t...
2018 Mar 23
1
stack dump at -early-cse-memssa twice
...stem_platform.dylib 0x0000000000000001 _sigtramp + > 1869599969 > 5 opt 0x000000010d537ec0 > llvm::PMDataManager::add(llvm::Pass*, bool) + 438 > 6 opt 0x000000010d53a044 > llvm::FunctionPass::assignPassManager(llvm::PMStack&, > llvm::PassManagerType) + 344 > 7 opt 0x000000010d536919 > llvm::PMTopLevelManager::schedulePass(llvm::Pass*) + 1243 > 8 opt 0x000000010c949058 main + 6509 > 9 libdyld.dylib 0x00007fff906f3235 start + 1 > 10 libdyld.dylib 0x0000000000000007...
2009 Feb 27
0
[LLVMdev] -fPIC warning on every compile on Cygwin
...print(std::basic_ostr eam<char, std::char_traits<char> >&, llvm::Module const*) const' /usr/gcc-4.2.2/lib/gcc/i686-pc-cygwin/4.2.2/../../../../include/c++/4.2.2/bits/l ocale_facets.tcc:2571: undefined reference to `llvm::FunctionPass::assignPassMan ager(llvm::PMStack&, llvm::PassManagerType)' /usr/gcc-4.2.2/lib/gcc/i686-pc-cygwin/4.2.2/../../../../include/c++/4.2.2/bits/l ocale_facets.tcc:2570: undefined reference to `llvm::Pass::dumpPassStructure(uns igned int)' /usr/gcc-4.2.2/lib/gcc/i686-pc-cygwin/4.2.2/../../../../include/c++/4.2.2/bits/l ocale_facets.tcc:2576: undefined r...
2007 Jul 14
4
[LLVMdev] JIT Leaks?
Holger. > You can find out what exactly leaks with the help of valgrind. It seems, that Paolo is on Mac OS X. No valgrind there :( -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University.
2009 Jan 16
1
[LLVMdev] poolallocation error
...iled everything from scratch : $ opt -load /home/pprabhu/llvm/llvm-install-x86-64/lib/libpoolalloc.so -ds-aa < o.bc opt: /home/pprabhu/llvm/llvm/lib/VMCore/PassManager.cpp:1418: virtual void llvm::MPPassManager::addLowerLevelRequiredPass(llvm::Pass*, llvm::Pass*): Assertion `(P->getPotentialPassManagerType() < RequiredPass->getPotentialPassManagerType()) && "Unable to handle Pass that requires lower level Analysis pass"' failed. 0 opt 0x0000000000a3fcd0 1 opt 0x0000000000a40024 2 libc.so.6 0x00007f9fc318a100 3 libc.so.6 0x00007f9fc318a095 gsignal + 53 4...
2018 Nov 16
2
Help with a pass
Hi all, I was able to create a pass following [1]. Now goal is amend the pass and try to dump the call graph. I think I have properly amended the source extending my pass from CallGraphSCCPass but unfortunately every time I run it, it crashes. I tried with llvm-6 and llvm-7. I notice that if I change EP_EarlyAsPossible to anything else it does not crash but I don't see the expected string
2009 Mar 02
0
[LLVMdev] Fw: -fPIC warning on every compile on Cygwin
..._ostr eam<char, std::char_traits<char> >&, llvm::Module const*) const' /usr/gcc-4.2.2/lib/gcc/i686-pc-cygwin/4.2.2/../../../../include/c++/4.2.2/bits/l ocale_facets.tcc:2571: undefined reference to `llvm::FunctionPass::assignPassMan ager(llvm::PMStack&, llvm::PassManagerType)' /usr/gcc-4.2.2/lib/gcc/i686-pc-cygwin/4.2.2/../../../../include/c++/4.2.2/bits/l ocale_facets.tcc:2570: undefined reference to `llvm::Pass::dumpPassStructure(uns igned int)' /usr/gcc-4.2.2/lib/gcc/i686-pc-cygwin/4.2.2/../../../../include/c++/4.2.2/bits/l ocale_facets.t...
2009 Mar 03
0
[LLVMdev] -fPIC warning on every compile on Cygwin
...lt;char> >&, llvm::Module const*) const' > /usr/gcc-4.2.2/lib/gcc/i686-pc-cygwin/4.2.2/../../../../include/c++/4.2.2/bits/l > ocale_facets.tcc:2571: undefined reference to > `llvm::FunctionPass::assignPassMan > ager(llvm::PMStack&, llvm::PassManagerType)' > /usr/gcc-4.2.2/lib/gcc/i686-pc-cygwin/4.2.2/../../../../include/c++/4.2.2/bits/l > ocale_facets.tcc:2570: undefined reference to > `llvm::Pass::dumpPassStructure(uns > igned int)' > /usr/gcc-4.2.2/lib/gcc/i686-pc-cygwin/4.2.2/../../...
2009 Apr 10
0
[LLVMdev] Pass Manager Restriction?
...results in an assertion being fired. Is this > expected behavior (that seems to be undocumented), or a bug? > > Specifically, the following code will emit the assertion: > [VMCore/PassManager.cpp:1597: virtual void > llvm::ModulePass::assignPassManager(llvm::PMStack&, > llvm::PassManagerType): Assertion `!PMS.empty() && "Unable to find > appropriate Pass Manager"' failed] > > ****** > struct ModPass1 : public ModulePass { > static char ID; > ModPass1() : ModulePass((intptr_t)&ID) {} > virtual bool runOnModule(Module &M) { return fal...
2008 Nov 19
2
[LLVMdev] poolallocation error
...U pass as required. I.e. when AU.addRequired<CompleteBUDataStructures>(); is called. $ opt -f -load ~/Projects/llvmstuff/opt/poolalloc/lib/ libpoolalloc.dylib -raiseallocs -poolalloc-passing-all-pools - pointercompress llist-noopt.bc -o llist-dp.bc Assertion failed: ((P->getPotentialPassManagerType() < RequiredPass- >getPotentialPassManagerType()) && "Unable to handle Pass that requires lower level Analysis pass"), function addLowerLevelRequiredPass, file ~/Projects/llvmstuff/llvm/lib/VMCore/ PassManager.cpp, line 1418. Any ideas what is going wrong here? /Ma...
2009 Jan 19
0
[LLVMdev] poolallocation error
...iled everything from scratch : $ opt -load /home/pprabhu/llvm/llvm-install-x86-64/lib/libpoolalloc.so -ds-aa < o.bc opt: /home/pprabhu/llvm/llvm/lib/VMCore/PassManager.cpp:1418: virtual void llvm::MPPassManager::addLowerLevelRequiredPass(llvm::Pass*, llvm::Pass*): Assertion `(P->getPotentialPassManagerType() < RequiredPass->getPotentialPassManagerType()) && "Unable to handle Pass that requires lower level Analysis pass"' failed. 0 opt 0x0000000000a3fcd0 1 opt 0x0000000000a40024 2 libc.so.6 0x00007f9fc318a100 3 libc.so.6 0x00007f9fc318a095 gsignal + 53 4...
2008 Dec 18
0
[LLVMdev] Troubles with clang and llvm libraries and simple Xcode project
...on*, llvm::Constant* const*, unsigned int) llvm::ConstantFoldInstruction(llvm::Instruction*, llvm::TargetData const*) llvm::ConstantFoldLoadThroughGEPConstantExpr(llvm::Constant*, llvm::ConstantExpr*) llvm::CallGraphLinkVar llvm::CallGraphSCCPass::assignPassManager(llvm::PMStack&, llvm::PassManagerType) vtable for llvm::CallGraphSCCPass ... and so on, then: ... /usr/local/lib/libclangCodeGen.a(ModuleBuilder.o) reference to undefined clang::ASTConsumer::InitializeTU(clang::TranslationUnit&) /usr/local/lib/libclangCodeGen.a(ModuleBuilder.o) reference to undefined clang::ASTConsumer::~ASTCon...
2009 Jan 21
1
[LLVMdev] poolallocation error
...t; > $ opt -load /home/pprabhu/llvm/llvm-install-x86-64/lib/libpoolalloc.so > -ds-aa < o.bc > > opt: /home/pprabhu/llvm/llvm/lib/VMCore/PassManager.cpp:1418: virtual > void llvm::MPPassManager::addLowerLevelRequiredPass(llvm::Pass*, > llvm::Pass*): Assertion `(P->getPotentialPassManagerType() < > RequiredPass->getPotentialPassManagerType()) && "Unable to handle Pass > that requires lower level Analysis pass"' failed. > 0 opt 0x0000000000a3fcd0 > 1 opt 0x0000000000a40024 > 2 libc.so.6 0x00007f9fc318a100 > 3 libc.so.6 0x0...