Re: Extract function properties

soma pal via Gcc <[email protected]>
Newsgroups gmane.comp.gcc.devel
Message-ID <CAAsrpJPX3yHm9sCO0wv9Jk2DbnAJjey7ZvNL_-Djpjsj4m6ryA@mail.gmail.com>
Hi ,

I am Phd student of UNiversity of Kansas .  Does GCC provide any pass or
functionality to extract function properties or program properties? I would
like to extract features from a program and use them as input to an ML
model for my research work.


I would really appreciate you help.


Thanks
Soma




On Wed, Apr 8, 2026 at 11:47 AM soma pal <[email protected]> wrote:

> Hi ,
>
> I am a research scholar working with GCC, and I am interested in
> extracting properties of individual functions in a program, especially the
> hot functions identified through profiling. I would like to obtain features
> such as function_name, bb_count, loop_count, branch_count, call_count,
> load_count, store_count, and instruction_count to use as input for an ML
> model.
>
> Could you please suggest a way to extract this information?
>
> Thanks for your help .
>
>
> Thanks
> Soma
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.