llvm/openmp/runtime/src/ompd-specific.h

/*
 * ompd-specific.h -- OpenMP debug support
 */

//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "kmp.h"
#include "omp-tools.h"
#include <stdint.h>

#ifndef __OMPD_SPECIFIC_H__
#define __OMPD_SPECIFIC_H__

#if OMPD_SUPPORT

void ompd_init();

#ifdef __cplusplus
extern "C" {
#endif
extern char *ompd_env_block;
extern ompd_size_t ompd_env_block_size;
extern char *__kmp_tool_verbose_init;
#ifdef __cplusplus
} /* extern "C" */
#endif

extern uint64_t ompd_state;
#define OMPD_ENABLE_BP

#define OMPD_FOREACH_ACCESS(OMPD_ACCESS)

#define OMPD_FOREACH_BITFIELD(OMPD_BITFIELD)

#define OMPD_FOREACH_SIZEOF(OMPD_SIZEOF)

#endif /* OMPD_SUPPORT */
#endif