diff options
| author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2015-10-16 16:52:58 +0000 |
|---|---|---|
| committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2015-10-16 16:52:58 +0000 |
| commit | 0e6d457797b45035cd4f5be2ddf33683752201b3 (patch) | |
| tree | 83fd3e964f582c4090a027d0c152e7ea762d52da /llvm/lib/IR/MetadataTracking.cpp | |
| parent | eda01c31757db23748a0efa1629442de5cd53282 (diff) | |
| download | bcm5719-llvm-0e6d457797b45035cd4f5be2ddf33683752201b3.tar.gz bcm5719-llvm-0e6d457797b45035cd4f5be2ddf33683752201b3.zip | |
[OMPT] Add OMPT events for API locking
This fix implements the following OMPT events for the API locking routines:
* ompt_event_acquired_lock
* ompt_event_acquired_nest_lock_first
* ompt_event_acquired_nest_lock_next
* ompt_event_init_lock
* ompt_event_init_nest_lock
* ompt_event_destroy_lock
* ompt_event_destroy_nest_lock
For the acquired events the depths of the locks ist required, so a return value
was added similiar to the return values we already have for the release lock
routines.
Patch by Tim Cramer
Differential Revision: http://reviews.llvm.org/D13689
llvm-svn: 250526
Diffstat (limited to 'llvm/lib/IR/MetadataTracking.cpp')
0 files changed, 0 insertions, 0 deletions

