LLVM OpenMP 20.0.0git
|
Go to the source code of this file.
Macros | |
#define | MIN_STACK 100 |
#define | get_src(ident) ((ident) == NULL ? NULL : (ident)->psource) |
#define | PUSH_MSG(ct, ident) "\tpushing on stack: %s (%s)\n", cons_text_c[(ct)], get_src((ident)) |
#define | POP_MSG(p) |
Variables | |
static char const * | cons_text_c [] |
static int const | cons_text_c_num = sizeof(cons_text_c) / sizeof(char const *) |
Definition at line 41 of file kmp_error.cpp.
#define MIN_STACK 100 |
Definition at line 20 of file kmp_error.cpp.
#define POP_MSG | ( | p | ) |
Definition at line 45 of file kmp_error.cpp.
Definition at line 43 of file kmp_error.cpp.
struct cons_header * __kmp_allocate_cons_stack | ( | int | gtid | ) |
Definition at line 133 of file kmp_error.cpp.
References __kmp_allocate, __kmp_check_null_func(), ct_none, KE_TRACE, MIN_STACK, and p.
Referenced by __kmp_launch_thread(), and __kmp_register_root().
Definition at line 434 of file kmp_error.cpp.
References __kmp_check_null_func(), __kmp_error_construct2(), __kmp_get_gtid, __kmp_threads, KE_TRACE, and p.
Referenced by __kmpc_barrier(), __kmpc_barrier_master(), and __kmpc_barrier_master_nowait().
Definition at line 53 of file kmp_error.cpp.
Referenced by __kmp_allocate_cons_stack(), __kmp_check_barrier(), __kmp_expand_cons_stack(), __kmp_pop_sync(), and __kmp_pop_workshare().
void __kmp_check_sync | ( | int | gtid, |
enum cons_type | ct, | ||
ident_t const * | ident, | ||
kmp_user_lock_p | lck | ||
) |
Definition at line 252 of file kmp_error.cpp.
References __kmp_error_construct(), __kmp_error_construct2(), __kmp_expand_cons_stack(), __kmp_get_gtid, __kmp_get_user_lock_owner(), __kmp_push_sync(), __kmp_threads, ct_critical, ct_masked, ct_master, ct_ordered_in_parallel, ct_ordered_in_pdo, ct_reduce, IS_CONS_TYPE_ORDERED, KE_TRACE, KMP_ASSERT, KMP_IDENT_KMPC, lck, and p.
Referenced by __kmp_push_sync(), __kmpc_masked(), and __kmpc_master().
Definition at line 212 of file kmp_error.cpp.
References __kmp_error_construct2(), __kmp_expand_cons_stack(), __kmp_get_gtid, __kmp_threads, KE_TRACE, KMP_DEBUG_ASSERT, and p.
Referenced by __kmp_enter_single(), and __kmp_push_workshare().
Definition at line 112 of file kmp_error.cpp.
References __kmp_fatal(), __kmp_msg_format(), __kmp_msg_null, __kmp_pragma(), and KMP_INTERNAL_FREE.
Referenced by __kmp_check_sync(), __kmp_dispatch_init_algorithm(), __kmp_dist_for_static_init(), __kmp_dist_get_bounds(), __kmp_for_static_init(), __kmp_pop_parallel(), __kmp_pop_sync(), __kmp_pop_workshare(), __kmp_team_static_init(), and kmp_canonicalize_one_loop_XX().
void __kmp_error_construct2 | ( | kmp_i18n_id_t | id, |
enum cons_type | ct, | ||
ident_t const * | ident, | ||
struct cons_data const * | cons | ||
) |
Definition at line 121 of file kmp_error.cpp.
References __kmp_fatal(), __kmp_msg_format(), __kmp_msg_null, __kmp_pragma(), cons_data::ident, KMP_INTERNAL_FREE, and cons_data::type.
Referenced by __kmp_check_barrier(), __kmp_check_sync(), __kmp_check_workshare(), __kmp_dispatch_deo(), __kmp_dispatch_dxo(), __kmp_pop_parallel(), __kmp_pop_sync(), and __kmp_pop_workshare().
|
static |
Definition at line 56 of file kmp_error.cpp.
References __kmp_allocate, __kmp_check_null_func(), __kmp_get_gtid, d, i, KE_TRACE, and p.
Referenced by __kmp_check_sync(), __kmp_check_workshare(), and __kmp_push_parallel().
Definition at line 153 of file kmp_error.cpp.
References __kmp_free, and p.
Referenced by __kmp_reap_thread().
Definition at line 363 of file kmp_error.cpp.
References __kmp_error_construct(), __kmp_error_construct2(), __kmp_get_gtid, __kmp_threads, ct_none, ct_parallel, KE_DUMP, KE_TRACE, p, and POP_MSG.
Referenced by __kmp_run_after_invoked_task(), and __kmpc_end_serialized_parallel().
Definition at line 411 of file kmp_error.cpp.
References __kmp_check_null_func(), __kmp_error_construct(), __kmp_error_construct2(), __kmp_get_gtid, __kmp_threads, ct_none, KE_DUMP, KE_TRACE, p, and POP_MSG.
Referenced by __kmp_dispatch_dxo(), __kmp_dispatch_dxo_error(), __kmp_end_critical_section_reduce_block(), __kmp_parallel_dxo(), __kmpc_barrier_master_nowait(), __kmpc_end_critical(), __kmpc_end_masked(), __kmpc_end_master(), __kmpc_end_reduce(), __kmpc_end_reduce_nowait(), __kmpc_reduce(), and __kmpc_reduce_nowait().
Definition at line 383 of file kmp_error.cpp.
References __kmp_check_null_func(), __kmp_error_construct(), __kmp_error_construct2(), __kmp_get_gtid, __kmp_threads, ct_none, ct_pdo, ct_pdo_ordered, KE_DUMP, KE_TRACE, p, and POP_MSG.
Referenced by __kmp_dispatch_next(), __kmp_exit_single(), and __kmpc_for_static_fini().
Definition at line 81 of file kmp_error.cpp.
References __kmp_msg_format(), __kmp_str_buf_free(), __kmp_str_buf_init, __kmp_str_buf_print(), __kmp_str_split(), cons_text_c, cons_text_c_num, func(), KMP_DEBUG_ASSERT, ident::psource, kmp_msg::str, kmp_str_buf::str, and tail.
Referenced by __kmp_error_construct(), and __kmp_error_construct2().
Definition at line 193 of file kmp_error.cpp.
References __kmp_expand_cons_stack(), __kmp_get_gtid, __kmp_threads, ct_parallel, KE_DUMP, KE_TRACE, KMP_DEBUG_ASSERT, p, and PUSH_MSG.
Referenced by __kmp_run_before_invoked_task(), and __kmp_serialized_parallel().
void __kmp_push_sync | ( | int | gtid, |
enum cons_type | ct, | ||
ident_t const * | ident, | ||
kmp_user_lock_p | lck | ||
) |
Definition at line 338 of file kmp_error.cpp.
References __kmp_check_sync(), __kmp_get_gtid, __kmp_threads, KE_DUMP, KE_TRACE, KMP_ASSERT, lck, p, and PUSH_MSG.
Referenced by __kmp_check_sync(), __kmp_dispatch_deo(), __kmp_dispatch_deo_error(), __kmp_enter_critical_section_reduce_block(), __kmp_parallel_deo(), __kmpc_critical(), __kmpc_masked(), __kmpc_master(), __kmpc_reduce(), and __kmpc_reduce_nowait().
Definition at line 233 of file kmp_error.cpp.
References __kmp_check_workshare(), __kmp_get_gtid, __kmp_threads, KE_DUMP, KE_TRACE, p, and PUSH_MSG.
Referenced by __kmp_dist_for_static_init(), __kmp_enter_single(), __kmp_for_static_init(), and __kmpc_for_collapsed_init().
|
static |
Definition at line 22 of file kmp_error.cpp.
Referenced by __kmp_pragma().
|
static |
Definition at line 49 of file kmp_error.cpp.
Referenced by __kmp_pragma().