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 >
