🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51758

rtl : references to code_label expressions

#51758
From: Michael Golden
Date: Mon, 12 Apr 1993 16:18
18 lines
1447 bytes
I have the pleasant task of hacking on gcc to get it to perform some
optimizations for a processor our research group is building.  I need
to ask a question about the internals of gcc:

Is there a way to find out which insns reference a code_label if the
only information you have is a pointer to the code_label itself (and
a pointer to the function that it lives in).  I am kind of hoping that
such a function exists already in gcc, and I will not have to write it myself.

I know already that the LABEL_NUSES field has the number of references to
the label.

Is there a better place to ask this question, or have I come to the right forum?

Thanks in advance for your help.  I will post my solution when I get one.

Michael Golden
mgolden@eecs.umich.edu
Technical Details
Message-ID: <1993Apr12.161823.2799@zip.eecs.umich.edu>
Path: arc1-ca.pugleaf.net!gmd.de!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!caen!umeecs!dip.eecs.umich.edu!mgolden

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,3451d98c195bef54,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-04-12 09:47:07 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!caen!umeecs!dip.eecs.umich.edu!mgolden
From: mgolden@dip.eecs.umich.edu (Michael Golden)
Subject: rtl : references to code_label expressions
Message-ID: <1993Apr12.161823.2799@zip.eecs.umich.edu>
Sender: news@zip.eecs.umich.edu (Mr. News)
Organization: University of Michigan EECS Dept., Ann Arbor, MI
Distribution: usa
Date: Mon, 12 Apr 1993 16:18:23 GMT
Lines: 19