summaryrefslogtreecommitdiffstats
path: root/clang/test/Profile/cxx-class.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [profiling] PR31992: Don't skip interesting non-base constructorsVedant Kumar2017-02-241-1/+35
| | | | | | | | | Fix the fact that we don't assign profile counters to constructors in classes with virtual bases, or constructors with variadic parameters. Differential Revision: https://reviews.llvm.org/D30131 llvm-svn: 296062
* [profile] Use cc1 in these tests instead of the driver.Sean Silva2016-04-231-2/+2
| | | | | | | I ran into this when seeing what tests would break if we make a driver-level decision about whether FEPGO or IRPGO is the default. llvm-svn: 267262
* [PGO] make profile prefix even shorter and more readableXinliang David Li2015-12-151-4/+4
| | | | llvm-svn: 255587
* [PGO] Shorten profile symbol prefixesXinliang David Li2015-12-141-4/+4
| | | | | | | | | | (test case update) Profile symbols have long prefixes which waste space and creating pressure for linker. This patch shortens the prefixes to minimal length without losing verbosity. Differential Revision: http://reviews.llvm.org/D15503 llvm-svn: 255576
* IR: Make metadata typeless in assembly, clang sideDuncan P. N. Exon Smith2014-12-151-4/+4
| | | | | | Match LLVM changes from r224257. llvm-svn: 224259
* test: Use llvm-profdata merge in Profile testsJustin Bogner2014-04-171-1/+2
| | | | | | | | | | | In preparation for using a binary format for instrumentation based profiling, explicitly treat the test inputs as text and transform them before running. This will allow us to leave the checked in files in human readable format once the instrumentation format is binary. No functional change. llvm-svn: 206509
* PGO: Change runtime prefix from pgo to profileDuncan P. N. Exon Smith2014-03-201-4/+4
| | | | | | | | | | | These functions are in the profile runtime. PGO comes later. Unfortunately, there's only room for 16 characters in a Darwin section, so use __llvm_prf_ instead of __llvm_profile_ for section names. <rdar://problem/15943240> llvm-svn: 204390
* PGO: Statically generate data structuresDuncan P. N. Exon Smith2014-03-171-4/+4
| | | | | | | | | | | | | | | | | | | In instrumentation-based profiling, we need a set of data structures to represent the counters. Previously, these were built up during static initialization. Now, they're shoved into a specially-named section so that they show up as an array. As a consequence of the reorganizing symbols, instrumentation data structures for linkonce functions are now correctly coalesced. This is the first step in a larger project to minimize runtime overhead and dependencies in instrumentation-based profilng. The larger picture includes removing all initialization overhead and making the dependency on libc optional. <rdar://problem/15943240> llvm-svn: 204080
* test: Regenerate profile data for PGO testsJustin Bogner2014-03-111-1/+1
| | | | | | | | Some of this data had gotten out of date, so we weren't quite testing what we thought we were. This also moves the outdated data test to its own file to simplify regenerating the test data. llvm-svn: 203546
* test: Give instrumentation based profiling tests their own directoryJustin Bogner2014-03-111-0/+77
These tests are logically related, but they're spread about several different CodeGen directories. Consolidate them in one place to make them easier to manage. llvm-svn: 203541
OpenPOWER on IntegriCloud