public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Pierrick Philippe <pierrick.philippe@irisa.fr>
To: gcc-help@gcc.gnu.org
Subject: Question about points-to analysis
Date: Wed, 15 Feb 2023 15:37:47 +0100	[thread overview]
Message-ID: <7ecbc969-ffa4-9c9a-8a67-7c5e97b6b97a@irisa.fr> (raw)

[-- Attachment #1: Type: text/plain, Size: 539 bytes --]

Hello

I am trying to implement a pass which use alias analysis results.
My pass is inserted right after the 'ssa' pass.

First thing I am doing is calling compute_may_alias(), then I use the 
SSA_NAME_PTR_INFO macro when needed, but I cannot find a way to use the 
pt-solution correctly here.
How can you obtain the information about aliasing (e.g. what variable it 
alias) from that structure?

And as a more general question, is there any docs describing the alias 
analysis in more details than the internals?

Best regards,

Pierrick

                 reply	other threads:[~2023-02-15 14:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7ecbc969-ffa4-9c9a-8a67-7c5e97b6b97a@irisa.fr \
    --to=pierrick.philippe@irisa.fr \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).