summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/Inputs/instr-attribute.pgodata
Commit message (Collapse)AuthorAgeFilesLines
* PGO: rename profile data files from .pgodata to .profdata.Bob Wilson2014-03-061-39/+0
| | | | | | | These tests were added before we had settled on using a .profdata extension for the profile data files. Renaming them now for consistency. llvm-svn: 203166
* PGO: instrumentation based profiling sets function attributes.Manman Ren2014-02-051-0/+39
We collect a maximal function count among all functions in the pgo data file. For functions that are hot, we set its InlineHint attribute. For functions that are cold, we set its Cold attribute. We currently treat functions with >= 30% of the maximal function count as hot and functions with <= 1% of the maximal function count are treated as cold. These two numbers are from preliminary tuning on SPEC. This commit should not affect non-PGO builds and should boost performance on instrumentation based PGO. llvm-svn: 200874
OpenPOWER on IntegriCloud