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

OCaml bindings for Alias Analysis in LLVM? #173

Closed
taquangtrung opened this issue Mar 13, 2020 · 1 comment
Closed

OCaml bindings for Alias Analysis in LLVM? #173

taquangtrung opened this issue Mar 13, 2020 · 1 comment

Comments

@taquangtrung
Copy link

Hi,

I'd like to ask whether OCaml bindings of LLVM support querying alias information of variables?

I want to use functions similar to isNoAlias, isMayAlias, isMustAlias, provided in llvm::AAResults

However, I am unable to find such functions in the OCaml bindings of LLVM.
Does anybody know how to do it?

Thank you very much!

@taquangtrung taquangtrung changed the title [OCaml binding] OCaml bindings for Alias Analysis in LLVM? OCaml bindings for Alias Analysis in LLVM? Mar 13, 2020
@jyknight
Copy link
Member

Nope, the C bindings (and by implication the ocaml bindings) don't get into the sorts of inner parts of LLVM such as retrieving analysis pass results. The bindings are intended for more high-level operations like creating IR and writing it or dynamically loading it. That sort of thing.

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

2 participants