search for: pmstack

Displaying 20 results from an estimated 33 matches for "pmstack".

Did you mean: mstack
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...
2007 Jul 15
2
[LLVMdev] JIT Leaks?
...00 0x00000000 0x01103368 ............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::Mod...
2007 Jul 15
0
[LLVMdev] JIT Leaks?
...> 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 ll...
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?
...tionPass that in turn 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;...
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.
...reRegAlloc function 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 back...
2009 Aug 02
2
[LLVMdev] code-altering Passes for llc
...that contains the error 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 dependencie...
2018 Mar 23
1
stack dump at -early-cse-memssa twice
...gtramp + 26 > 4 libsystem_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.dy...
2009 Feb 27
0
[LLVMdev] -fPIC warning on every compile on Cygwin
...nce to `llvm::Pass::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_...
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
...fc31832df __assert_fail + 239 6 opt 0x00000000009caeac llvm::MPPassManager::addLowerLevelRequiredPass(llvm::Pass*, llvm::Pass*) + 252 7 opt 0x00000000009cbe53 llvm::PMDataManager::add(llvm::Pass*, bool) + 899 8 opt 0x00000000009cc296 llvm::ModulePass::assignPassManager(llvm::PMStack&, llvm::PassManagerType) + 132 9 opt 0x00000000009d5ff9 llvm::PassManagerImpl::addTopLevelPass(llvm::Pass*) + 227 10 opt 0x00000000009cad7e llvm::PMTopLevelManager::schedulePass(llvm::Pass*) + 500 11 opt 0x00000000009d6118 llvm::PassManagerImpl::add(llvm::Pass*) + 36 12 o...
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
2012 Oct 23
0
[LLVMdev] Error building llvm on AIX 7.1
...st*) const ld: 0711-317 ERROR: Undefined symbol: llvm::FunctionPass::createPrinterPass(llvm::raw_ostream&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const ld: 0711-317 ERROR: Undefined symbol: llvm::FunctionPass::assignPassManager(llvm::PMStack&, llvm::PassManagerType) ld: 0711-317 ERROR: Undefined symbol: llvm::Pass::preparePassManager(llvm::PMStack&) ld: 0711-317 ERROR: Undefined symbol: llvm::FunctionPass::getPotentialPassManagerType() const ld: 0711-317 ERROR: Undefined symbol: llvm::Pass::getAnalysisUsage(llvm::AnalysisUsage&...
2011 Apr 05
3
[LLVMdev] Building LLVM on Solaris/Sparc
...>, std::allocator<char> > const&) const/n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::createBasicAliasAnalysisPass() /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::BasicBlockPass::assignPassManager(llvm::PMStack&, llvm::PassManagerType) /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::cl::opt<bool, false, llvm::cl::parser<bool> >::setInitialValue(bool const&)/n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::Funct...
2009 Mar 02
0
[LLVMdev] Fw: -fPIC warning on every compile on Cygwin
...ss::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...
2009 Mar 03
0
[LLVMdev] -fPIC warning on every compile on Cygwin
...r, 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...
2009 Apr 10
0
[LLVMdev] Pass Manager Restriction?
...s > 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 runOnM...
2012 Oct 23
2
[LLVMdev] Error building llvm on AIX 7.1
Hi All, I am trying to build llvm on AIX. I installed all the required packages including gcc, g++, etc ./configure also went fine. but i tried to run gmake, i got the following error: llvm[1]: Compiling MemoryBuffer.cpp for Release+Asserts build llvm[1]: Compiling MemoryObject.cpp for Release+Asserts build llvm[1]: Compiling Mutex.cpp for Release+Asserts build llvm[1]: Compiling Path.cpp for
2008 Nov 19
2
[LLVMdev] poolallocation error
Hi, I am trying to use the poolallocator. More specific, I am trying to play around with the pointer compression pass. Though, I get assertion failures for the pass dependencies. This is when it in PointerCompress::getAnalysisUsage tries to register the the BU pass as required. I.e. when AU.addRequired<CompleteBUDataStructures>(); is called. $ opt -f -load