[LLVMdev] Static Profiling Algorithms in LLVM

Andrew Lenharth andrewl at lenharth.org
Tue Nov 2 05:46:09 PDT 2010


On Tue, Nov 2, 2010 at 12:28 AM, kapil anand <kapilanand2 at gmail.com> wrote:
> Hi all,
>
> Does LLVM infrastructure contain implementation of any static profiling
> algorithm apart from "Spill-Weight" calculation present in Live Intervals
> class? The future work page does suggest implementation of some "static
> profiling" algorithms to make an educated guesses about the relative
> execution frequencies of various parts of the code.

If you look at old releases, there was a profiling library and
transforms, including infrastructure to do any of the profiling with
random sampling.  Those were unmaintained and removed not that long
ago.  What you could profile was somewhat limited.

Andrew


> Thanks
>
> --Kapil
>
> _______________________________________________
> 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