Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use your andersen analysis? #5

Open
ghost opened this issue Sep 24, 2018 · 1 comment
Open

How to use your andersen analysis? #5

ghost opened this issue Sep 24, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 24, 2018

Hi

I am studying some compiler topics now.

I am interesting in your andersen algo implementation in LLVM.

I don't know how to use your code.

After git clone and make, I get libAndersen.so.

I wonder how to use it ?

Can use it like a loadable module?
opt -S -load libAndersen.so -??? test.ll -o test.ander.ll

Thanks

@grievejia
Copy link
Owner

Thanks for your interests in this library.
The analysis pass provided in this library conforms to the general LLVM Alias Analysis Infrastructure. To use it you need a client pass, which can be one of LLVM's built-in client, or a custom pass that programatically queries the AndersenAA pass through standard LLVM pass dependency mechanism.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant