summaryrefslogtreecommitdiff
path: root/lib/profile/InstrProfData.inc
AgeCommit message (Collapse)Author
2017-11-14[profile] Update InstrProfData.inc to sync with llvmVedant Kumar
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@318230 91177308-0d34-0410-b5e6-96231b3b80d8
2017-09-18[profile] Update InstrProfData.incVedant Kumar
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@313599 91177308-0d34-0410-b5e6-96231b3b80d8
2017-04-15[profile] Sync up InstrProfData.inc (NFC)Vedant Kumar
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@300383 91177308-0d34-0410-b5e6-96231b3b80d8
2017-04-13[Profile] PE binary coverage bug fixXinliang David Li
PR/32584 Differential Revision: https://reviews.llvm.org/D32023 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@300278 91177308-0d34-0410-b5e6-96231b3b80d8
2017-04-11Revert 299954 : test failure needs to be fixedXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@299960 91177308-0d34-0410-b5e6-96231b3b80d8
2017-04-11[Profile] PE binary coverage bug fixXinliang David Li
PR/32584 Differential Revision: https://reviews.llvm.org/D31939 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@299954 91177308-0d34-0410-b5e6-96231b3b80d8
2017-03-15[PGO] Value profile support for value rangesRong Xu
This patch adds profile run time support to profile a range of values. This interface will be used in profiling the size of memory intrinsic calls. Differential Revision: http://reviews.llvm.org/D28964 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@297895 91177308-0d34-0410-b5e6-96231b3b80d8
2016-07-22[Profile] cleanup: do not reference name directly of vars shared between rt ↵Xinliang David Li
and llvm git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@276385 91177308-0d34-0410-b5e6-96231b3b80d8
2016-07-21[Profile] deprecate __llvm_profile_override_default_filename (part2)Xinliang David Li
This eliminates unncessary calls and init functions. Differential Revision: http://reviews.llvm.org/D22614 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@276355 91177308-0d34-0410-b5e6-96231b3b80d8
2016-07-20Sync up with llvm copy /NFCXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@276198 91177308-0d34-0410-b5e6-96231b3b80d8
2016-06-08[profile] Hide some external symbols in InstrProfData.incVedant Kumar
Differential Revision: http://reviews.llvm.org/D21116 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@272167 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-22bug fix: trim section specifier name lengthXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@270350 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-21[profile] Static counter allocation for value profiling (part-2)Xinliang David Li
Differential Revision: http://reviews.llvm.org/D20460 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@270337 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-19Reapply^3 "[ProfileData] (compiler-rt) Use Error in InstrProf and Coverage, NFC"Vedant Kumar
Sync up with "(llvm) Use Error in InstrProf and Coverage". git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@270022 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-16Revert "Reapply^2 "[ProfileData] (compiler-rt) Use Error in InstrProf and ↵Vedant Kumar
Coverage, NFC"" This reverts commit r269696. The llvm commit does not pass the MSVC bot. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@269702 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-16Reapply^2 "[ProfileData] (compiler-rt) Use Error in InstrProf and Coverage, NFC"Vedant Kumar
Sync up with "(llvm) Use Error in InstrProf and Coverage". Differential Revision: http://reviews.llvm.org/D19903 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@269696 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-16[profile] minor code restructuring /NFCXinliang David Li
This is one of the enabler patch to allow value profiler to allocate counter statically. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@269689 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-14[profile] Eliminate dynamic memory allocation for vp writingXinliang David Li
This is part-3 of the effort to eliminate dependency on libc allocator in instr profiler runtime. With this change, the profile dumper is completely free of malloc/calloc. Value profile instr API implementation is the only remaining piece with calloc dependency. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@269576 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-14Revert "Reapply "[ProfileData] (compiler-rt) Use Error in InstrProf and ↵Chandler Carruth
Coverage, NFC"" This reverts commit r269493 as the corresponding LLVM commit was reverted due to lots of warnings. See the review thread for the original LLVM commit (r269491) for details. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@269550 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-13Reapply "[ProfileData] (compiler-rt) Use Error in InstrProf and Coverage, NFC"Vedant Kumar
Sync up with "(llvm) Use Error in InstrProf and Coverage". Differential Revision: http://reviews.llvm.org/D19903 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@269493 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-13Revert "(HEAD -> master, origin/master, origin/HEAD) [ProfileData] ↵Vedant Kumar
(compiler-rt) Use Error in InstrProf and Coverage, NFC" This reverts commit r269464. It fails two llvm-profdata tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@269469 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-13[ProfileData] (compiler-rt) Use Error in InstrProf and Coverage, NFCVedant Kumar
Sync up with "(llvm) Use Error in InstrProf and Coverage". git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@269464 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-12[profile] Code refactoringXinliang David Li
Move runtime specific code from the common header file to runtime source. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@269357 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-11[profile] profile writing cleanupXinliang David Li
Do not precompute value counts for all sites. This eliminates one more use of dynamic allocation in profiler writer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@269254 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-11cleanup: Enforce caller to set total size to avoid redundant size computeXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@269237 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-06[profile] Remove another unneeded field in raw profile readerXinliang David Li
DataValueSize is now removed. The change is consolidated with previous raw version bump. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@268704 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-05Sync up with master fileXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@268603 91177308-0d34-0410-b5e6-96231b3b80d8
2016-04-06sync up with master copyXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@265609 91177308-0d34-0410-b5e6-96231b3b80d8
2016-03-28[PGO] More comments how function pointers for indirect calls are mappedAdam Nemet
to function names Summary: Hopefully this will make it easier for the next person to figure all this out... Reviewers: bogner, davidxl Subscribers: davidxl, cfe-commits Differential Revision: http://reviews.llvm.org/D18489 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@264680 91177308-0d34-0410-b5e6-96231b3b80d8
2016-03-28[PGO] Update r264612 to use C-style commentAdam Nemet
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@264615 91177308-0d34-0410-b5e6-96231b3b80d8
2016-03-28[PGO] Comment how function pointers for indirect calls are mapped to ↵Adam Nemet
function names Summary: Hopefully this will make it easier for the next person to figure all this out... Reviewers: bogner, davidxl Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D18490 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@264612 91177308-0d34-0410-b5e6-96231b3b80d8
2016-02-26Sync up with masterXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@261947 91177308-0d34-0410-b5e6-96231b3b80d8
2016-02-08[PGO] Update InstrProfData.inc to sync with llvmRong Xu
Sync InstrProfData.inc with the one in llvm. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@260148 91177308-0d34-0410-b5e6-96231b3b80d8
2016-02-08[PGO] Enable compression in pgo instrumentationXinliang David Li
This reduces sizes of instrumented object files, final binaries, process images, and raw profile data. The format of the indexed profile data remain the same. Differential Revision: http://reviews.llvm.org/D16388 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@260118 91177308-0d34-0410-b5e6-96231b3b80d8
2016-02-03Sync up with master fileXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@259627 91177308-0d34-0410-b5e6-96231b3b80d8
2016-01-27Sync up with master fileXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@258890 91177308-0d34-0410-b5e6-96231b3b80d8
2016-01-25sync up InstrProfData.h -- typo fixXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@258717 91177308-0d34-0410-b5e6-96231b3b80d8
2016-01-14sync up with master fileXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257746 91177308-0d34-0410-b5e6-96231b3b80d8
2016-01-08[PGO] Introducing version mask macro/NFC (sync)Xinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257225 91177308-0d34-0410-b5e6-96231b3b80d8
2016-01-08Sync up InstrProfData.incXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257195 91177308-0d34-0410-b5e6-96231b3b80d8
2016-01-08Sync up InstrProfData.incXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257124 91177308-0d34-0410-b5e6-96231b3b80d8
2016-01-07Sync up InstrProfData.inc fileXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257109 91177308-0d34-0410-b5e6-96231b3b80d8
2016-01-04[PGO] Sync up template file with masterXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@256722 91177308-0d34-0410-b5e6-96231b3b80d8
2016-01-03[PGO] Sync up template file with masterXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@256711 91177308-0d34-0410-b5e6-96231b3b80d8
2015-12-10Sync up with masterXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@255293 91177308-0d34-0410-b5e6-96231b3b80d8
2015-12-02Sync up with master fileXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@254552 91177308-0d34-0410-b5e6-96231b3b80d8
2015-11-29sync up with master fileXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@254245 91177308-0d34-0410-b5e6-96231b3b80d8
2015-11-28Sync up template file with masterXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@254236 91177308-0d34-0410-b5e6-96231b3b80d8
2015-11-26Sync up with master InstrProfData.incXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@254113 91177308-0d34-0410-b5e6-96231b3b80d8
2015-11-24sync up InstrProfData.inc with masterXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@253943 91177308-0d34-0410-b5e6-96231b3b80d8