[LLVMdev] LiveValues Pass
varonrotem at gmail.com
Sat Jun 6 01:12:12 PDT 2009
I tried to use the LiveValues pass without success.
I did exactly as you wrote me but no luck for me.
I am getting this error :
[rotem at localhost ~]$ opt -load
/home/rotem/Desktop/install/Release/lib/BBPass.so -BBPass <
/home/rotem/Desktop/tmp/BBtry.bc > /dev/null
Error opening '/home/rotem/Desktop/install/Release/lib/BBPass.so':
/home/rotem/Desktop/install/Release/lib/BBPass.so: undefined symbol:
-load request ignored.
opt: Unknown command line argument '-BBPass'. Try: 'opt --help'
I tried also to relocate the LiveValues to the same directory of me pass.
This is the error:
llvm: Compiling BBPass.cpp for Release build (PIC)
llvm: Compiling LiveValues.cpp for Release build (PIC)
LiveValues.cpp: In member function 'llvm::LiveValues::Memo&
LiveValues.cpp:150: error: 'const class llvm::PHINode' has no member named
I really need your help here
On Tue, Jun 2, 2009 at 2:10 PM, Dan Gohman <gohman at apple.com> wrote:
> On Jun 2, 2009, at 5:54 AM, Rotem Varon wrote:
> > This questions are on the LiveValues pass:
> > Do i need to set the "LiveValues" pass in the PassManager as a
> > prerequisite? if so how do i get the results ?
> Yes; it's a standard analysis pass. See
> for information about interactions between passes.
> > How do i get/use the results of LiveValuse pass in my pass?
> > Is there documentation in the LLVM site (beside of the comments on
> > the file)?
> > Can i simply use its public function ?
> There are Doxygen comments which can be read either in the file itself
> or via http://llvm.org/doxygen/
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev