LLVM OpenMP 22.0.0git
kmp_error.h
Go to the documentation of this file.
1/*
2 * kmp_error.h -- PTS functions for error checking at runtime.
3 */
4
5//===----------------------------------------------------------------------===//
6//
7// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
8// See https://llvm.org/LICENSE.txt for license information.
9// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef KMP_ERROR_H
14#define KMP_ERROR_H
15
16#include "kmp_i18n.h"
17
18/* ------------------------------------------------------------------------ */
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23void __kmp_error_construct(kmp_i18n_id_t id, enum cons_type ct,
24 ident_t const *ident);
25void __kmp_error_construct2(kmp_i18n_id_t id, enum cons_type ct,
26 ident_t const *ident, struct cons_data const *cons);
27
29void __kmp_free_cons_stack(void *ptr);
30
31void __kmp_push_parallel(int gtid, ident_t const *ident);
32void __kmp_push_workshare(int gtid, enum cons_type ct, ident_t const *ident);
33#if KMP_USE_DYNAMIC_LOCK
34void __kmp_push_sync(int gtid, enum cons_type ct, ident_t const *ident,
36#else
37void __kmp_push_sync(int gtid, enum cons_type ct, ident_t const *ident,
39#endif
40
41void __kmp_check_workshare(int gtid, enum cons_type ct, ident_t const *ident);
42#if KMP_USE_DYNAMIC_LOCK
43void __kmp_check_sync(int gtid, enum cons_type ct, ident_t const *ident,
45#else
46void __kmp_check_sync(int gtid, enum cons_type ct, ident_t const *ident,
48#endif
49
50void __kmp_pop_parallel(int gtid, ident_t const *ident);
51enum cons_type __kmp_pop_workshare(int gtid, enum cons_type ct,
52 ident_t const *ident);
53void __kmp_pop_sync(int gtid, enum cons_type ct, ident_t const *ident);
54void __kmp_check_barrier(int gtid, enum cons_type ct, ident_t const *ident);
55
56#ifdef __cplusplus
57} // extern "C"
58#endif
59
60#endif // KMP_ERROR_H
__itt_string_handle * name
Definition ittnotify.h:3305
cons_type
Definition kmp.h:1691
KMP_ARCH_X86 KMP_ARCH_X86 KMP_ARCH_X86 KMP_ARCH_X86 KMP_ARCH_X86 KMP_ARCH_X86 KMP_ARCH_X86 KMP_ARCH_X86 KMP_ARCH_X86<<, 2i, 1, KMP_ARCH_X86) ATOMIC_CMPXCHG(fixed2, shr, kmp_int16, 16, > KMP_ARCH_X86 KMP_ARCH_X86 kmp_uint32
void __kmp_push_parallel(int gtid, ident_t const *ident)
void __kmp_check_workshare(int gtid, enum cons_type ct, ident_t const *ident)
void __kmp_check_sync(int gtid, enum cons_type ct, ident_t const *ident, kmp_user_lock_p name)
void __kmp_push_workshare(int gtid, enum cons_type ct, ident_t const *ident)
enum cons_type __kmp_pop_workshare(int gtid, enum cons_type ct, ident_t const *ident)
void __kmp_error_construct(kmp_i18n_id_t id, enum cons_type ct, ident_t const *ident)
void __kmp_pop_sync(int gtid, enum cons_type ct, ident_t const *ident)
void __kmp_error_construct2(kmp_i18n_id_t id, enum cons_type ct, ident_t const *ident, struct cons_data const *cons)
void __kmp_check_barrier(int gtid, enum cons_type ct, ident_t const *ident)
struct cons_header * __kmp_allocate_cons_stack(int gtid)
void __kmp_pop_parallel(int gtid, ident_t const *ident)
void __kmp_free_cons_stack(void *ptr)
void __kmp_push_sync(int gtid, enum cons_type ct, ident_t const *ident, kmp_user_lock_p name)
union kmp_user_lock * kmp_user_lock_p
Definition kmp_lock.h:623
The ident structure that describes a source location.
Definition kmp.h:227