Profiling with lli

We are working on a backend for an ILP architecture, and
at some point we would like to do some sort of region
scheduling. To support region formation, we need to collect
profiling information.

I took a look at the bitcode interpreter, and it is fairly
trivial to make it collect profiling data Our target
is an ASIP for embedded applications, so it would typically
be simulated during software development anyway.

Would anyone else be interested in a profiling capability
for lli?

We are working on a backend for an ILP architecture, and
at some point we would like to do some sort of region
scheduling. To support region formation, we need to collect
profiling information.

You can probably start by creating single-entry-single-exit regions. I understand you want profile info to do a better job. But doing SESE allow you to be unblocked.

I took a look at the bitcode interpreter, and it is fairly
trivial to make it collect profiling data Our target
is an ASIP for embedded applications, so it would typically
be simulated during software development anyway.

Would anyone else be interested in a profiling capability
for lli?

I am sure someone will make use of it. :slight_smile:

Evan