1/*===------- llvm/Config/llvm-config.h - llvm configuration -------*- C -*-===*/ 2/* */ 3/* The LLVM Compiler Infrastructure */ 4/* */ 5/* This file is distributed under the University of Illinois Open Source */ 6/* License. See LICENSE.TXT for details. */ 7/* */ 8/*===----------------------------------------------------------------------===*/ 9 10/* This file enumerates variables from the LLVM configuration so that they 11 can be in exported headers and won't override package specific directives. 12 This is a C header that can be included in the llvm-c headers. */ 13 14#ifndef LLVM_CONFIG_H 15#define LLVM_CONFIG_H 16 17/* 18 * When bsd.lib.mk builds shared libraries it builds with -DPIC which 19 * causes problems in the following files which use PIC as a variable name. 20 * undefine PIC here to minimise the diff to upstream LLVM 21 * 22 * include/llvm/MC/MCObjectFileInfo.h 23 * lib/MC/MCObjectFileInfo.cpp 24 * lib/Transforms/Scalar/LICM.cpp 25 * lib/Transforms/Utils/PredicateInfo.cpp 26 */ 27#undef PIC 28 29/* Define if LLVM_ENABLE_DUMP is enabled */ 30/* #undef LLVM_ENABLE_DUMP */ 31 32/* Define if we link Polly to the tools */ 33/* #undef LINK_POLLY_INTO_TOOLS */ 34 35/* Define if threads enabled */ 36#define LLVM_ENABLE_THREADS 1 37 38/* Has gcc/MSVC atomic intrinsics */ 39#define LLVM_HAS_ATOMICS 1 40 41/* Define if this is Unixish platform */ 42#define LLVM_ON_UNIX 1 43 44/* Define if we have the Intel JIT API runtime support library */ 45#define LLVM_USE_INTEL_JITEVENTS 0 46 47/* Define if we have the oprofile JIT-support library */ 48#define LLVM_USE_OPROFILE 0 49 50/* Define if we have the perf JIT-support library */ 51#define LLVM_USE_PERF 0 52 53/* Major version of the LLVM API */ 54#define LLVM_VERSION_MAJOR 8 55 56/* Minor version of the LLVM API */ 57#define LLVM_VERSION_MINOR 0 58 59/* Patch version of the LLVM API */ 60#define LLVM_VERSION_PATCH 1 61 62/* LLVM version string */ 63#define LLVM_VERSION_STRING "8.0.1" 64 65/* Whether LLVM records statistics for use with GetStatistics(), 66 * PrintStatistics() or PrintStatisticsJSON() 67 */ 68#define LLVM_FORCE_ENABLE_STATS 0 69