search for: mtrait

Displaying 20 results from an estimated 30 matches for "mtrait".

Did you mean: trait
2006 Apr 13
1
[LLVMdev] standalone llvm
...ion*)+0x17f)[0x89e4d11] llc(llvm::FunctionPassManagerT::runOnFunction(llvm::Function&)+0x25)[0x89e5583] llc(llvm::FunctionPass::runOnModule(llvm::Module&)+0xa7)[0x8989c63] llc(llvm::ModulePassManager::runPass(llvm::ModulePass*, llvm::Module*)+0x1f)[0x89e3b95] llc(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*, std::allocator<llvm::Pass*> > > > >&)+0x13f)[...
2006 Sep 18
2
[LLVMdev] llvm-g++: Internal error
...vm::CallGraphNode*, std::allocator<llvm::CallGraphNode*> > const&)+0x6e)[0x838cefe] gccld(llvm::CallGraphSCCPass::runOnModule(llvm::Module&)+0x84)[0x83c430a] gccld(llvm::ModulePassManager::runPass(llvm::ModulePass*, llvm::Module*)+0x1f)[0 x84761ef] gccld(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*, std ::allocator<llvm::Pass*> > > > >&)+0x12...
2006 May 03
2
[LLVMdev] Conflicting passes?
...fyFunctionExitNodes 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 this is a module pass requiring a function pass?"' failed. opt((anonymous namespace)::PrintStackTrace()+0x18)[0x870...
2006 May 30
3
[LLVMdev] Adding an object to llc (analysis pass)
...verthing 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 this is a module pass requiring a function pass?"' failed. llc((anonymous namespace)::PrintStackTrace()+0x1f)[0...
2006 Sep 14
1
[LLVMdev] use LLVM to convert C++ code to C code
...cator<llvm::CallGraphNode*> > const&)+0x76)[0x8347804]<br> gccld(llvm::CallGraphSCCPass::runOnModule(llvm::Module&)+0x99)[0x8378e29]<br> gccld(llvm::ModulePassManager::runPass(llvm::ModulePass*, llvm::Module*)+0x1b)[0x842a111]<br> gccld(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*, std::allocator<llvm::Pass*> > > > >&)+0x11c)[...
2006 Jun 23
2
[LLVMdev] Help with error in pass
...ion*)+0x16f)[0x885865f] llc(llvm::FunctionPassManagerT::runOnFunction(llvm::Function&)+0x22)[0x8858e84] llc(llvm::FunctionPass::runOnModule(llvm::Module&)+0xa6)[0x8854bd2] llc(llvm::ModulePassManager::runPass(llvm::ModulePass*, llvm::Module*)+0x1b)[0x8857541] llc(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*, std::allocator<llvm::Pass*> > > > >&)+0x11c)[...
2006 Jun 24
0
[LLVMdev] Help with error in pass
...gt; llc(llvm::FunctionPassManagerT::runOnFunction(llvm::Function&)+0x22)[0x8858e84] > llc(llvm::FunctionPass::runOnModule(llvm::Module&)+0xa6)[0x8854bd2] > llc(llvm::ModulePassManager::runPass(llvm::ModulePass*, > llvm::Module*)+0x1b)[0x8857541] > llc(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*, std::allocator<llvm::Pass*> > > > &gt...
2006 Nov 30
0
[LLVMdev] Conditional jump or move depends on uninitialised value
...e 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*, std::allocator<llvm::Pass*> > > > >&) (PassMa...
2007 Mar 26
2
[LLVMdev] Problems with one pass using another
...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 this is a module pass requiring a function pass?"' failed. opt((anonymous namespace)::PrintStackTrace()+0x14)[0x...
2006 Jun 03
1
[LLVMdev] Help with pass ordering
...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 this is a module pass requiring a function pass?"' failed. So, in order to remove the edges, I am first using opt,...
2006 Jun 24
1
[LLVMdev] Help with error in pass
...onPassManagerT::runOnFunction(llvm::Function&)+0x22)[0x8858e84] > > llc(llvm::FunctionPass::runOnModule(llvm::Module&)+0xa6)[0x8854bd2] > > llc(llvm::ModulePassManager::runPass(llvm::ModulePass*, > > llvm::Module*)+0x1b)[0x8857541] > > llc(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*, std::allocator<llvm::Pass*> &gt...
2006 May 31
0
[LLVMdev] Adding an object to llc (analysis pass)
On Wed, 31 May 2006, Silken Tiger wrote: >> that requires a BasicBlockPass, it will fail the same was as when a >> ModulePass requires a FunctionPass. > void MParSchedule::getAnalysisUsage(AnalysisUsage &AU) const { > AU.setPreservesAll(); > } > > MParSchedule requires nothing and changes nothing. So hopefully the above code > represents this fact? Right
2006 Apr 13
0
[LLVMdev] standalone llvm
On Apr 12, 2006, at 10:23 PM, Simon Burton wrote: > > Is it possible to get llvm to generate native machine code > without using gcc and friends ? Do I use lli ? llc. llc --help lists all the options. it compiles llvm bytecode files. > > I'd like to directly create executable code that i can > stick in memory somewhere and jump into (call). > > (I'm looking
2006 Dec 01
1
[LLVMdev] DSGraph::computeCalleeCallerMapping failing
..../../../../../old_obj/Debug/bin/opt(llvm::CallGraphSCCPass::runOnModule(llvm::Module&)+0x9d)[0x86af837] ../../../../../../old_obj/Debug/bin/opt(llvm::ModulePassManager::runPass(llvm::ModulePass*, llvm::Module*)+0x1f)[0x857fe03] ../../../../../../old_obj/Debug/bin/opt(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*, std::allocator<llvm::Pass*> > > > >&)+0x13e)[...
2006 May 30
0
[LLVMdev] Adding an object to llc
On Tue, 2006-05-30 at 14:48 +0200, Silken Tiger wrote: > Hi > > Thanks for all your feedback. I just found the reason for the compile failure > for my analysis pass: I had to add my object to the namespace llvm instead of > anonymous. This took me some time since i was looking for an linking > failure... but as errors go i should have looked at the error message a >
2006 Jun 01
2
[LLVMdev] Adding an object to llc (analysis pass)
...lt;"Instruction not a basic block"<<endl; } } return false; Compiling and linking works fine but llc -f -march my_backend a.out.bc gives this error: 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 this is a module pass requiring a function pass?"' failed. llc((anonymous namespace)::PrintStackTrace()+0x1f)[0...
2006 May 30
2
[LLVMdev] Adding an object to llc
Hi Thanks for all your feedback. I just found the reason for the compile failure for my analysis pass: I had to add my object to the namespace llvm instead of anonymous. This took me some time since i was looking for an linking failure... but as errors go i should have looked at the error message a little closer. So for all those trying to add an analysis path: * add the object name to the
2006 May 31
2
[LLVMdev] Adding an object to llc (analysis pass)
Hi Am Dienstag, 30. Mai 2006 19:21 schrieb Chris Lattner: > On Tue, 30 May 2006, Silken Tiger wrote: > > Everthing now compiles fine, but when running llc with invoking my own > > backend derived from the cbackend i get the following error: > > namespace llvm { > > class MParSchedule : public BasicBlockPass { > > public: > > > >
2006 Apr 13
4
[LLVMdev] standalone llvm
Is it possible to get llvm to generate native machine code without using gcc and friends ? Do I use lli ? I'd like to directly create executable code that i can stick in memory somewhere and jump into (call). (I'm looking to use llvm in a BSD licensed project). Simon. -- Simon Burton, B.Sc. Licensed PO Box 8066 ANU Canberra 2601 Australia Ph. 61 02 6249 6940 http://arrowtheory.com
2006 Apr 26
1
[LLVMdev] LLC fail without gccld optimization on spec2000 int benchmarks
...bug/bin/llc(llvm::FunctionPass::runOnModule(llvm::Module&)+0xa5)[0x867420f] /home/snir/jingyu/resources/llvm/build2/Debug/bin/llc(llvm::ModulePassManager::runPass(llvm::ModulePass*, llvm::Module*)+0x1f)[0x86e1c11] /home/snir/jingyu/resources/llvm/build2/Debug/bin/llc(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*, std::allocator<llvm::Pass*> > > > >&)+0x13e)[...