search for: komurav1

Displaying 3 results from an estimated 3 matches for "komurav1".

Did you mean: kimura1
2009 Oct 05
0
[LLVMdev] [Fwd: Re: problem with multiple LLVM passes]
...reservesAll(), and the second pass is a transform pass that preserves nothing. Is this correct? > > 4) Does opt print any error messages when loading the dynamic > library/libraries implementing your two passes? > > opt prints the following error message: > > opt: /home/sadve/komurav1/llvm/include/llvm/PassAnalysisSupport.h:53: > llvm::AnalysisUsage& llvm::AnalysisUsage::addRequiredID(const > llvm::PassInfo*): Assertion `ID && "Pass class not registered!"' failed. > > Any insight on what might be going wrong? So, my purpose in asking the abo...
2009 Sep 04
2
[LLVMdev] Error in Hello World Pass
Hi, I am trying to compile the Hello World pass (described at http://llvm.org/docs/WritingAnLLVMPass.html#basiccode) in an LLVM Project and I get an error, 'no match for ‘operator<<’ at line llvm::cerr << "*Hello: *" << F.getName() << "\n"; But when I looked up in the LLVM API Documentation, I think "<<" operator is not overloaded
2009 Sep 10
3
[LLVMdev] Finding call points to a function
Hi, I am writing an LLVM Pass and I would like to know how would I do the following: 1. I have a function foo, and I need to get all the call points calling this function in each Function of the Module. The only way I can think of is to iterate over the BasicBlocks of each Function, look for all the Call Instructions and check if the called function is foo. I was wondering if there is any other