summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/profile/InstrProfilingMerge.c
Commit message (Collapse)AuthorAgeFilesLines
* Reland "[CMake] Support installation of InstrProfData.inc"Petr Hosek2019-11-221-1/+1
| | | | | | | | | | | This header fragment is useful on its own for any consumer that wants to use custom instruction profile runtime with the LLVM instrumentation. The concrete use case is in Fuchsia's kernel where we want to use instruction profile instrumentation, but we cannot use the compiler-rt runtime because it's not designed for use in the kernel environment. This change allows installing this header as part of compiler-rt. Differential Revision: https://reviews.llvm.org/D64532
* Revert "[CMake] Support installation of InstrProfData.inc"Petr Hosek2019-11-221-1/+1
| | | | | This reverts commit f11bc1776fd2815b60e0b1ed97be00b517348162 since it's failing to build on some bots.
* [CMake] Support installation of InstrProfData.incPetr Hosek2019-11-221-1/+1
| | | | | | | | | | | This header fragment is useful on its own for any consumer that wants to use custom instruction profile runtime with the LLVM instrumentation. The concrete use case is in Fuchsia's kernel where we want to use instruction profile instrumentation, but we cannot use the compiler-rt runtime because it's not designed for use in the kernel environment. This change allows installing this header as part of compiler-rt. Differential Revision: https://reviews.llvm.org/D64532
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* [profile] Fix value profile runtime merging issuesRong Xu2018-04-021-2/+3
| | | | | | | | | | | | | | | | This patch fixes the following issues: (1) The strong definition of the merge hook function was not working which breaks the online value profile merging. This patch removes the weak attribute of VPMergeHook and assigns the value dynamically. (2) Truncate the proifle file so that we don't have garbage data at the end of the file. (3) Add new __llvm_profile_instrument_target_value() interface to do the value profile update in batch. This is needed as the original incremental by 1 in __llvm_profile_instrument_target() is too slow for online merge. Differential Revision: https://reviews.llvm.org/D44847 llvm-svn: 328987
* [profile] in-process merging support part-3Xinliang David Li2016-06-081-0/+19
| | | | | | Differential Revision: http://reviews.llvm.org/D21056 llvm-svn: 272227
* [profile] Remove another unneeded field in raw profile readerXinliang David Li2016-05-061-2/+1
| | | | | | | DataValueSize is now removed. The change is consolidated with previous raw version bump. llvm-svn: 268704
* Fix test failure on darwin-i386Xinliang David Li2016-03-091-1/+2
| | | | llvm-svn: 263065
* [PGO] Add API to check compatibility of profile data in bufferXinliang David Li2016-03-041-0/+42
| | | | | | This is needed by client which uses in-process merge API. llvm-svn: 262736
* Fix api visibilityXinliang David Li2016-03-041-0/+1
| | | | llvm-svn: 262734
* [PGO] Add API for profile merge from bufferXinliang David Li2016-03-031-0/+70
Differential Revision: http://reviews.llvm.org/D17831 llvm-svn: 262644
OpenPOWER on IntegriCloud