llvm-project/llvm/lib/Transforms
Diego Novillo 748b3ffe3b SamplePGO - Add flag to check sampling coverage.
This adds the flag -mllvm -sample-profile-check-coverage=N to the
SampleProfile pass. N is the percent of input sample records that the
user expects to apply.  If the pass does not use N% (or more) of the
sample records in the input, it emits a warning.

This is useful to detect some forms of stale profiles. If the code has
drifted enough from the original profile, there will be records that do
not match the IR anymore.

This will not detect cases where a sample profile record for line L is
referring to some other instructions that also used to be at line L.

llvm-svn: 251568
2015-10-28 22:30:25 +00:00
..
Hello Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
IPO SamplePGO - Add flag to check sampling coverage. 2015-10-28 22:30:25 +00:00
InstCombine [InstCombine] Teach instcombine not to create extra PHI nodes when folding GEPs 2015-10-26 10:25:05 +00:00
Instrumentation [safestack] Fast access to the unsafe stack pointer on AArch64/Android. 2015-10-26 18:28:25 +00:00
ObjCARC ObjCARC: Remove implicit ilist iterator conversions, NFC 2015-10-19 23:20:14 +00:00
Scalar [JumpThreading] Use dominating conditions to prove implications 2015-10-28 21:27:08 +00:00
Utils [SimplifyCFG] Don't DCE catchret because the successor is unreachable 2015-10-27 22:43:56 +00:00
Vectorize Whitespace. 2015-10-27 19:02:52 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile