search for: passmanagert

Displaying 20 results from an estimated 83 matches for "passmanagert".

Did you mean: passmanager
2005 Dec 22
1
[LLVMdev] passmanagert and co improvement...
Okay, I've been studying passmanagert and company for quite a while. Here are my conclusions. It's actually not nearly as bad as I thought. I'll outline the problem as I see it. We want to be able to manage the way passes traverse things, in particular a module's worth of functions. As was in your example, we want inli...
2005 Sep 17
0
[LLVMdev] Re: Problems Cross Compiling for x86 and ia64
.../llvm-darcslocal/llvm/lib/CodeGen/RegAllocLinearScan.cpp:214 #4 0x005632e0 in llvm::MachineFunctionPass::runOnFunction (this=0x8b010f0, F=@0x8b05010) at /Users/mike/Documents/hpcl/LLVM/obj-llvm-darcslocal/../llvm-darcslocal/llvm/include/llvm/CodeGen/MachineFunctionPass.h:38 #5 0x007c3390 in llvm::PassManagerTraits<llvm::Function>::runPass (P=0x8b010f0, F=0x8b05010) at /Users/mike/Documents/hpcl/LLVM/obj-llvm-darcslocal/../llvm-darcslocal/llvm/lib/VMCore/PassManagerT.h:706 #6 0x007e1fb0 in llvm::PassManagerT<llvm::Function>::runOnUnit (this=0x8b12cb0, M=0x8b05010) at /Users/mike/Documents/hp...
2005 Sep 16
2
[LLVMdev] Problems Cross Compiling for x86 and ia64
Hi, I'm having some problems cross-compiling from ppc (OS X) to x86 object files and to ia64, at all. I'd appreciate some advice as to whether or not I'm actually supposed to be able to do this, and what's wrong if so. Here's how I configured it: ../llvm-darcslocal/llvm/configure --with-llvmgccdir=$LLVMGCCDIR --prefix=$HOME/Documents/hpcl/LLVM/install The results work fine
2006 Aug 14
2
[LLVMdev] Folding instructions
...unction (this=0x8b0d280, mf=@0x8b2b9d0) at ChordalAlloc_Fernando.cpp:757 #9 0x003e5ce4 in llvm::MachineFunctionPass::runOnFunction (this=0x8b0d280, F=@0x8b02940) at /private/var/automount/u/gs3/fernando/Programs/ppc_llvm/include/llvm/CodeGen/MachineFunctionPass.h:38 #10 0x0086ad88 in llvm::FunctionPassManagerT::runPass (this=0x8b02360, P=0x8b0d280, F=0x8b02940) at PassManagerT.h:795 #11 0x008892ec in llvm::PassManagerT<llvm::FTraits>::runPasses (this=0x8b02378, M=0x8b02940, LastUserOf=@0xbfffeab8) at PassManagerT.h:596 #12 0x0088c9b4 in llvm::PassManagerT<llvm::FTraits>::runOnUnit (this=0x8b0...
2006 Apr 13
1
[LLVMdev] standalone llvm
...nymous namespace)::Emitter::emitBasicBlock(llvm::MachineBasicBlock const&)+0xac)[0x866a9f8] llc((anonymous namespace)::Emitter::runOnMachineFunction(llvm::MachineFunction&)+0x115)[0x866a859] llc(llvm::MachineFunctionPass::runOnFunction(llvm::Function&)+0x29)[0x85f3421] llc(llvm::FunctionPassManagerT::runPass(llvm::FunctionPass*, llvm::Function*)+0x1f)[0x89e39b5] llc(llvm::PassManagerT<llvm::FTraits>::runPasses(llvm::Function*, std::map<llvm::Pass*, std::vector<llvm::Pass*, std::allocator<llvm::Pass*> >, std::less<llvm::Pass*>, std::allocator<std::pair<llvm::Pas...
2006 May 03
2
[LLVMdev] Conflicting passes?
Hi all, Why are these two passes conflicting: UnifyFunctionExitNodes and LowerSwitch? AU.addRequired(LowerSwitchID) works, so does AU.addRequired<unifyFunctionExitNodes>(), but the two together don't... opt: PassManagerT.h:387: void llvm::PassManagerT<Trait>::markPassUsed(const llvm::PassInfo*, llvm::Pass*) [with Trait = llvm::MTraits]: Assertion `getAnalysisOrNullUp(P) && dynamic_cast<ImmutablePass*>(getAnalysisOrNullUp(P)) && "Pass available but not found! " "Perhaps thi...
2006 Nov 30
0
[LLVMdev] Conditional jump or move depends on uninitialised value
...amp; llvm::llvm_ostream::operator<< <llvm::Module>(llvm::Module const&) (Streams.h:41) ==12768== by 0x8D0464: llvm::PrintModulePass::runOnModule(llvm::Module&) (PrintModulePass.h:41) ==12768== by 0xED6EB9: llvm::ModulePassManager::runPass(llvm::ModulePass*, llvm::Module*) (PassManagerT.h:849) ==12768== by 0xEED05F: llvm::PassManagerT<llvm::MTraits>::runPasses(llvm::Module*, std::map<llvm::Pass*, std::vector<llvm::Pass*, std::allocator<llvm::Pass*> >, std::less<llvm::Pass*>, std::allocator<std::pair<llvm::Pass* const, std::vector<llvm::Pass*,...
2004 Jun 24
4
[LLVMdev] -Woverloaded-virtual
...rning: `virtual bool llvm::FunctionPass::run(llvm::Module&)' was hidden ../../../include/llvm/Pass.h:326: warning: by `bool llvm::BasicBlockPass::run(llvm::BasicBlock&)' ../../../include/llvm/Pass.h:275: warning: `virtual void llvm::FunctionPass::addToPassManager(llvm::PassManagerT<llvm::Module>*, llvm::AnalysisUsage&)' was hidden ../../../include/llvm/Pass.h:332: warning: by `virtual void llvm::BasicBlockPass::addToPassManager(llvm::PassManagerT<llvm::BasicBlock>*, llvm::AnalysisUsage&)' The problem is that "run" method is...
2006 Jun 23
2
[LLVMdev] Help with error in pass
...reg1024 | RET llc((anonymous namespace)::PrintStackTrace()+0x18)[0x88cfa30] llc((anonymous namespace)::SignalHandler(int)+0x107)[0x88cfcc1] /lib/tls/libc.so.6[0x239f48] llc(llvm::MachineFunctionPass::runOnFunction(llvm::Function&)+0x28)[0x8400638] llc(llvm::FunctionPassManagerT::runPass(llvm::FunctionPass*, llvm::Function*)+0x1b)[0x8857349] llc(llvm::PassManagerT<llvm::FTraits>::runPasses(llvm::Function*, std::map<llvm::Pass*, std::vector<llvm::Pass*, std::allocator<llvm::Pass*> >, std::less<llvm::Pass*>, std::allocator<std::pair<llvm::Pas...
2006 Sep 16
0
[LLVMdev] failed assertion in PPCJITInfo.cpp when calling native function
...reas/build/llvm-1.8/debugBuild/../llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp:88 #6 0x003ebfcc in llvm::MachineFunctionPass::runOnFunction (this=0x6603f70, F=@0x6601ff0) at /Users/andreas/build/llvm-1.8/debugBuild/../llvm/include/llvm/CodeGen/MachineFunctionPass.h:37 #7 0x0061ab6c in llvm::FunctionPassManagerT::runPass (this=0x0, P=0x6603f70, F=0x6601ff0) at /Users/andreas/build/llvm-1.8/debugBuild/../llvm/lib/VMCore/PassManagerT.h:795 #8 0x006385ac in llvm::PassManagerT<llvm::FTraits>::runPasses (this=0x6602f28, M=0x6601ff0, LastUserOf=@0xbfffee08) at /Users/andreas/build/llvm-1.8/debugBuild/../l...
2006 Jan 10
3
[LLVMdev] passmanager, significant rework idea...
...eas as to where I'd like to take the passmanager in LLVM. I've tried thinking things through, but I'm still a n00b, so some criticism would be more than welcome. =) Starting from line 191 down. If you're wondering why I created a patch, well that's because I found thinking in passmanagert.h the most productive. -- Regards. -------------- next part -------------- A non-text attachment was scrubbed... Name: passmanager_idea.diff Type: text/x-diff Size: 4465 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060109/87b4a550/attachment.diff>
2006 Jun 24
0
[LLVMdev] Help with error in pass
...| RET > > llc((anonymous namespace)::PrintStackTrace()+0x18)[0x88cfa30] > llc((anonymous namespace)::SignalHandler(int)+0x107)[0x88cfcc1] > /lib/tls/libc.so.6[0x239f48] > llc(llvm::MachineFunctionPass::runOnFunction(llvm::Function&)+0x28)[0x8400638] > llc(llvm::FunctionPassManagerT::runPass(llvm::FunctionPass*, > llvm::Function*)+0x1b)[0x8857349] > llc(llvm::PassManagerT<llvm::FTraits>::runPasses(llvm::Function*, > std::map<llvm::Pass*, std::vector<llvm::Pass*, std::allocator<llvm::Pass*> >> , std::less<llvm::Pass*>, std::allocator<st...
2006 May 30
3
[LLVMdev] Adding an object to llc (analysis pass)
...uch a patch would be readily accepted. Ok, if i get my pass flying i'll write s.t. unfortunatly i hit another roadblock: Everthing now compiles fine, but when running llc with invoking my own backend derived from the cbackend i get the following error: llc -f -march my_backend a.out.bc llc: PassManagerT.h:387: void llvm::PassManagerT<Trait>::markPassUsed(const llvm::PassInfo*, llvm::Pass*) [with Trait = llvm::MTraits]: Assertion `getAnalysisOrNullUp(P) && dynamic_cast<ImmutablePass*>(getAnalysisOrNullUp(P)) && "Pass available but not found! " "Perhaps...
2006 May 09
1
[LLVMdev] Memory leaks in LLVM
...raits<char> >&, char const*) (in /usr/lib/libstdc++.so.5.0.7) ==10132== by 0x86F9357: llvm::TimerGroup::removeTimer() (Timer.cpp:302) ==10132== by 0x86F8405: llvm::Timer::~Timer() (Timer.cpp:91) ==10132== by 0x8522B0A: std::pair<llvm::Pass* const, llvm::Timer>::~pair() ( PassManagerT.h:113) ==10132== by 0x8524260: void std::_Destroy<std::pair<llvm::Pass* const, llvm::Timer> >(std::pair<llvm::Pass* const, llvm::Timer>*) (stl_construct.h:133) ==10132== by 0x8521224: std::_Rb_tree<llvm::Pass*, std::pair<llvm::Pass* const, llvm::Timer>, std::_Select...
2006 Sep 09
2
[LLVMdev] Help with pass registration
Dear guys, I have updated my LLVM to the top of CVS, and now I am getting errors like this one below when I write new passes: "llc: PassManagerT.h:387: void llvm::PassManagerT<Trait>::markPassUsed(const llvm::PassInfo*, llvm::Pass*) [with Trait = llvm::FTraits]: Assertion `getAnalysisOrNullUp(P) && dynamic_cast<ImmutablePass*>(getAnalysisOrNullUp(P)) && "Pass available but not found! " "Perhaps thi...
2007 Mar 26
2
[LLVMdev] Problems with one pass using another
...to use HashGVN. And they're built in the same shared object file. But addRequired<HashGVN> fails with this error: # opt -load ../../../build/Release/lib/LLVMGVN.so -hashgvn -availout --debug-pass=Structure <basic.s.bc >basic.out.bc opt: /proj/tbres/shanth/llvm/llvm-1.9/lib/VMCore/PassManagerT.h:387: void llvm::PassManagerT<Trait>::markPassUsed(const llvm::PassInfo*, llvm::Pass*) [withTrait = llvm::MTraits]: Assertion `getAnalysisOrNullUp(P) && dynamic_cast<ImmutablePass*>(getAnalysisOrNullUp(P)) && "Pass available but not found! " "Perhaps...
2006 Jan 10
0
[LLVMdev] passmanager, significant rework idea...
...like > to take the passmanager in LLVM. I've tried thinking things through, > but I'm still a n00b, so some criticism would be more than welcome. =) > > Starting from line 191 down. If you're wondering why I created a > patch, well that's because I found thinking in passmanagert.h the most > productive. Interesting approach. :) For those who aren't aware, Saem has been actively refactoring the pass manager to make it easier to understand and improve. Comments below, with ***'s before the notes: Index: lib/VMCore/PassManagerT.h =============================...
2006 Jun 03
1
[LLVMdev] Help with pass ordering
...I am trying to add the BreakCriticalEdges pass to my application. I tried to add it to the PNE pass (e.g. PHIElimination.cpp - AU.addRequiredID(BreakCriticalEdgesID); ), but I get this error: llc -f -regalloc=simple Base1Sum.bc -o simple.s ----------------------------------------------- llc: PassManagerT.h:387: void llvm::PassManagerT<Trait>::markPassUsed(const llvm::PassInfo*, llvm::Pass*) [with Trait = llvm::MTraits]: Assertion `getAnalysisOrNullUp(P) && dynamic_cast<ImmutablePass*>(getAnalysisOrNullUp(P)) && "Pass available but not found! " "Perhaps thi...
2006 Jun 24
1
[LLVMdev] Help with error in pass
...gt; llc((anonymous namespace)::PrintStackTrace()+0x18)[0x88cfa30] > > llc((anonymous namespace)::SignalHandler(int)+0x107)[0x88cfcc1] > > /lib/tls/libc.so.6[0x239f48] > > llc(llvm::MachineFunctionPass::runOnFunction(llvm::Function&)+0x28)[0x8400638] > > llc(llvm::FunctionPassManagerT::runPass(llvm::FunctionPass*, > > llvm::Function*)+0x1b)[0x8857349] > > llc(llvm::PassManagerT<llvm::FTraits>::runPasses(llvm::Function*, > > std::map<llvm::Pass*, std::vector<llvm::Pass*, std::allocator<llvm::Pass*> > >> , std::less<llvm::Pass*>,...
2006 Aug 18
2
[LLVMdev] Weird behavior of llvm-ld
...so.5 #1 0x0843f19d in llvm::PMDebug::PrintArgumentInformation (P=0x85e3b00) at /.../llvm/lib/VMCore/Pass.cpp:132 #2 0x0843f1fc in llvm::PMDebug::PrintArgumentInformation (P=0x85ca030) at /.../llvm/lib/VMCore/Pass.cpp:134 #3 0x0844e3b8 in llvm::PMDebug::PerformPassStartupStuff (P=0x85ca030) at PassManagerT.h:66 #4 0x08444146 in llvm::PassManagerT<llvm::MTraits>::runOnUnit (this=0x85ca048, M=0x85bf330) at PassManagerT.h:280 #5 0x0843eb26 in llvm::ModulePassManager::runOnModule (this=0x85ca030, M=@0x85bf330) at PassManagerT.h:905 #6 0x0843eebf in llvm::PassManager::run (this=0xbfe36400, M=@0...