[LLVMdev] Profiling in LLVM Patch Flowup 3

Andreas Neustifter e0325716 at student.tuwien.ac.at
Fri Jul 3 10:22:44 PDT 2009


Hi,

this is the third in a series of patches to cleanup and improve the
LLVM Profiling Infrastructure. It depends on the previous patches from
http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-July/023569.html
http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-July/023602.html

This patch cleans up the ProfilingInfo by:
*) supplying a MissingValue marker for communicating to clients that a
certain piece of profiling information is not available
*) change the data type that profile info is stored in from unsigned to
double (needed for future changes)
*) add caching of synthesised values (e.g. when block information is
calculated from edge information)
*) support in the ProfileInfoLoaderPass for loading also block and
function profiles (up until now only edge profiles were loaded)
*) adding support for a (0,entry) edge to all profile related code

The next part is to implement a static profile estimator to support the
final goal of having optimal edge profiling.

To all the US-Folks: have a nice holiday weekend. To the rest of the
world: have a nice weekend too!

Andi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-r74779.zero-entry-edge.double.cleanup.patch
Type: text/x-patch
Size: 17901 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090703/d46e6b44/attachment.bin>


More information about the llvm-dev mailing list