[LLVMdev] Profiling with lli

Evan Cheng evan.cheng at apple.com
Sun Nov 2 11:15:48 PST 2008


On Oct 31, 2008, at 1:13 AM, Pertti Kellomäki wrote:

> 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. :-)

Evan

>
> -- 
> Pertti
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev





More information about the llvm-dev mailing list