[LLVMdev] Profiling in LLVM Patch Followup 9

Andreas Neustifter e0325716 at student.tuwien.ac.at
Wed Jul 8 03:59:31 PDT 2009


Hi,

this is the ninth (and last, for now) 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
http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-July/023642.html
http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-July/023643.html
http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-July/023649.html
http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-July/023683.html
http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-July/023713.html
http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-July/023715.html

This patch introduces the ProfileVerifier, a pass that calculates for each block if the sum of the incoming weights is equal to the weight of the block and equal to the sum of the outgoing weights. It is not strictly necessary for profiling but it makes development of profiling related passes easier, thus its published also.

Andi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-r74993.profileverifier.patch
Type: text/x-patch
Size: 9060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090708/f719980e/attachment.bin>


More information about the llvm-dev mailing list