forked from OSchip/llvm-project
Remove unused wait/release code.
Cleanup - unused code removal. TODO: consider to remove (replace with flag class methods) also kmp_wait_64 and kmp_release_64 routines. Patch by Andrey Churbanov Differential Revision: http://reviews.llvm.org/D21332 llvm-svn: 272697
This commit is contained in:
parent
916bc2b024
commit
e85ba3f58f
|
@ -193,12 +193,8 @@
|
|||
_You_must_link_with_Microsoft_OpenMP_library DATA
|
||||
%endif
|
||||
|
||||
__kmp_wait_32
|
||||
__kmp_wait_64
|
||||
__kmp_wait_oncore
|
||||
__kmp_release_32
|
||||
__kmp_release_64
|
||||
__kmp_release_oncore
|
||||
|
||||
|
||||
# VT_getthid 1
|
||||
|
|
|
@ -89,12 +89,8 @@ VERSION {
|
|||
__kmp_launch_worker;
|
||||
__kmp_reap_monitor;
|
||||
__kmp_reap_worker;
|
||||
__kmp_release_32;
|
||||
__kmp_release_64;
|
||||
__kmp_release_oncore;
|
||||
__kmp_wait_32;
|
||||
__kmp_wait_64;
|
||||
__kmp_wait_oncore;
|
||||
__kmp_wait_yield_4;
|
||||
|
||||
# ittnotify symbols to be used by debugger
|
||||
|
|
|
@ -3102,24 +3102,12 @@ extern void __kmp_wait_yield_4_ptr( void * spinner, kmp_uint32 checker, kmp_uint
|
|||
class kmp_flag_32;
|
||||
class kmp_flag_64;
|
||||
class kmp_flag_oncore;
|
||||
extern void __kmp_wait_32(kmp_info_t *this_thr, kmp_flag_32 *flag, int final_spin
|
||||
#if USE_ITT_BUILD
|
||||
, void * itt_sync_obj
|
||||
#endif
|
||||
);
|
||||
extern void __kmp_release_32(kmp_flag_32 *flag);
|
||||
extern void __kmp_wait_64(kmp_info_t *this_thr, kmp_flag_64 *flag, int final_spin
|
||||
#if USE_ITT_BUILD
|
||||
, void * itt_sync_obj
|
||||
#endif
|
||||
);
|
||||
extern void __kmp_release_64(kmp_flag_64 *flag);
|
||||
extern void __kmp_wait_oncore(kmp_info_t *this_thr, kmp_flag_oncore *flag, int final_spin
|
||||
#if USE_ITT_BUILD
|
||||
, void * itt_sync_obj
|
||||
#endif
|
||||
);
|
||||
extern void __kmp_release_oncore(kmp_flag_oncore *flag);
|
||||
|
||||
extern void __kmp_infinite_loop( void );
|
||||
|
||||
|
|
|
@ -14,13 +14,6 @@
|
|||
|
||||
#include "kmp_wait_release.h"
|
||||
|
||||
void __kmp_wait_32(kmp_info_t *this_thr, kmp_flag_32 *flag, int final_spin
|
||||
USE_ITT_BUILD_ARG(void * itt_sync_obj) )
|
||||
{
|
||||
__kmp_wait_template(this_thr, flag, final_spin
|
||||
USE_ITT_BUILD_ARG(itt_sync_obj) );
|
||||
}
|
||||
|
||||
void __kmp_wait_64(kmp_info_t *this_thr, kmp_flag_64 *flag, int final_spin
|
||||
USE_ITT_BUILD_ARG(void * itt_sync_obj) )
|
||||
{
|
||||
|
@ -28,23 +21,6 @@ void __kmp_wait_64(kmp_info_t *this_thr, kmp_flag_64 *flag, int final_spin
|
|||
USE_ITT_BUILD_ARG(itt_sync_obj) );
|
||||
}
|
||||
|
||||
void __kmp_wait_oncore(kmp_info_t *this_thr, kmp_flag_oncore *flag, int final_spin
|
||||
USE_ITT_BUILD_ARG(void * itt_sync_obj) )
|
||||
{
|
||||
__kmp_wait_template(this_thr, flag, final_spin
|
||||
USE_ITT_BUILD_ARG(itt_sync_obj) );
|
||||
}
|
||||
|
||||
|
||||
|
||||
void __kmp_release_32(kmp_flag_32 *flag) {
|
||||
__kmp_release_template(flag);
|
||||
}
|
||||
|
||||
void __kmp_release_64(kmp_flag_64 *flag) {
|
||||
__kmp_release_template(flag);
|
||||
}
|
||||
|
||||
void __kmp_release_oncore(kmp_flag_oncore *flag) {
|
||||
__kmp_release_template(flag);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue