search for: getpotentialpassmanagertyp

Displaying 12 results from an estimated 12 matches for "getpotentialpassmanagertyp".

2009 Jan 16
1
[LLVMdev] poolallocation error
...g and recompiled 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...
2008 Nov 19
2
[LLVMdev] poolallocation error
...the the BU 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? /M...
2009 Jan 19
0
[LLVMdev] poolallocation error
...g and recompiled 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...
2009 Jan 21
1
[LLVMdev] poolallocation error
...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 0x...
2008 Oct 24
1
[LLVMdev] Using DSA alias analysis
...x86_64 but when I try to run opt -load=$HOME/src/llvm/projects/poolalloc/Debug/lib/libLLVMDataStructure.so -ds-aa -print-alias-sets -disable-output hello.bc I get opt: PassManager.cpp:1416: 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. So my question is whether I am doing something obviously wrong, or otherwise, what combination of llvm, poolalloc and host OS is known to work?...
2009 Mar 09
1
[LLVMdev] Patch: PassManager should call add() instead of addLowerLevelRequiredPass()
...be A B A C. However, opt gives the following assertion: $ opt -load libPassTest.so foo.bc -f -o /dev/null -c -debug-pass=Structure opt: /u/loc/kevin/llvm/llvm/lib/VMCore/PassManager.cpp:1424: 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. even though all passes are ModulePasses and do not require lower level passes. The attached patch modifies PMDataManager::add() to check if the...
2011 May 18
0
[LLVMdev] 2.9 pass manager asserts "Unable to handle Pass that requires lower level Analysis pass"
...ar Pass2::ID = 0; bool Pass2::runOnModule (Module &M) { M.dump(); return false; } I hit the following assert opt: /home/vadve/aggarwa4/llvm29/llvm-2.9/lib/VMCore/PassManager.cpp:1613: 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. It works fine if I have pass2 require a different modulePass. But fails when the two module passes share the common parent class. Any pointers...
2013 Oct 08
0
[LLVMdev] LLVM Pass usable by all types of Passes
...tionPass ? /// Schedule pass P for execution. Make sure that passes required by /// P are run before P is run. Update analysis info maintained by /// the manager. Remove dead passes. This is a recursive function. void PMTopLevelManager::schedulePass(Pass *P) { .... else if (P->getPotentialPassManagerType () > AnalysisPass->getPotentialPassManagerType()) { */// INFINITE LOOP HERE. maybe because checkAnalysis is set to true for some reasons not very clear based on the comments. * printf("Analysis Pass Name is %s\n", AnalysisPass->getPassName());...
2007 Dec 07
0
[LLVMdev] Assertion in MPPassManager::addLowerLevelRequiredPass
Dear All, I'm triggering the following assertion in MPPassManager::addLowerLevelRequiredPass(): assert ((P->getPotentialPassManagerType() < RequiredPass->getPotentialPassManagerType()) && "Unable to handle Pass that requires lower level Analysis pass"); As it turns out, both P and RequiredPass are both ModulePasses. Should the assertion be changed from < to <=. or is something m...
2012 Oct 23
0
[LLVMdev] Error building llvm on AIX 7.1
...t;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&) const ld: 0711-317 ERROR: Undefined symbol: llvm::Pass::releaseMemory() ld: 0711-317 ERROR: Undefined symbol: llvm::Pass::getAdjustedAnalysisPointer(void const*) ld: 0711-317 ERROR: Undefined symbo...
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
2011 Apr 05
3
[LLVMdev] Building LLVM on Solaris/Sparc
...cts/tools/opt/Debug+Asserts/AnalysisWrappers.o llvm::createLoopIdiomPass() /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::createTypeBasedAliasAnalysisPass() /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::BasicBlockPass::getPotentialPassManagerType() const/n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::createProfileEstimatorPass() /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::BasicBlockPass::doFinalization(llvm::Module&) /n/fs/scratch/tpondich/ParallelAssert/...