blob: 483d60c3b6146a31c86a2e28a5f45b6ac7095852 [file] [log] [blame]
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01001/*===------- llvm/Config/llvm-config.h - llvm configuration -------*- C -*-===*/
2/* */
Andrew Walbran16937d02019-10-22 13:54:20 +01003/* Part of the LLVM Project, under the Apache License v2.0 with LLVM */
4/* Exceptions. */
5/* See https://llvm.org/LICENSE.txt for license information. */
6/* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01007/* */
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/* Define if LLVM_ENABLE_DUMP is enabled */
18/* #undef LLVM_ENABLE_DUMP */
19
20/* Define if we link Polly to the tools */
21/* #undef LINK_POLLY_INTO_TOOLS */
22
23/* Target triple LLVM will generate code for by default */
24#define LLVM_DEFAULT_TARGET_TRIPLE "x86_64-unknown-linux-gnu"
25
26/* Define if threads enabled */
27#define LLVM_ENABLE_THREADS 1
28
29/* Has gcc/MSVC atomic intrinsics */
30#define LLVM_HAS_ATOMICS 1
31
32/* Host triple LLVM will be executed on */
33#define LLVM_HOST_TRIPLE "x86_64-unknown-linux-gnu"
34
35/* LLVM architecture name for the native architecture, if available */
36#define LLVM_NATIVE_ARCH X86
37
38/* LLVM name for the native AsmParser init function, if available */
39#define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser
40
41/* LLVM name for the native AsmPrinter init function, if available */
42#define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter
43
44/* LLVM name for the native Disassembler init function, if available */
45#define LLVM_NATIVE_DISASSEMBLER LLVMInitializeX86Disassembler
46
47/* LLVM name for the native Target init function, if available */
48#define LLVM_NATIVE_TARGET LLVMInitializeX86Target
49
50/* LLVM name for the native TargetInfo init function, if available */
51#define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo
52
53/* LLVM name for the native target MC init function, if available */
54#define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC
55
56/* Define if this is Unixish platform */
57#define LLVM_ON_UNIX 1
58
Andrew Scull5e1ddfa2018-08-14 10:06:54 +010059/* Define if we have the Intel JIT API runtime support library */
60#define LLVM_USE_INTEL_JITEVENTS 0
61
62/* Define if we have the oprofile JIT-support library */
63#define LLVM_USE_OPROFILE 0
64
Andrew Scullcdfcccc2018-10-05 20:58:37 +010065/* Define if we have the perf JIT-support library */
66#define LLVM_USE_PERF 0
67
Andrew Scull5e1ddfa2018-08-14 10:06:54 +010068/* Major version of the LLVM API */
Andrew Walbran16937d02019-10-22 13:54:20 +010069#define LLVM_VERSION_MAJOR 9
Andrew Scull5e1ddfa2018-08-14 10:06:54 +010070
71/* Minor version of the LLVM API */
72#define LLVM_VERSION_MINOR 0
73
74/* Patch version of the LLVM API */
Andrew Walbran16937d02019-10-22 13:54:20 +010075#define LLVM_VERSION_PATCH 3
Andrew Scull5e1ddfa2018-08-14 10:06:54 +010076
77/* LLVM version string */
Andrew Walbran16937d02019-10-22 13:54:20 +010078#define LLVM_VERSION_STRING "9.0.3svn"
Andrew Scull5e1ddfa2018-08-14 10:06:54 +010079
80/* Whether LLVM records statistics for use with GetStatistics(),
81 * PrintStatistics() or PrintStatisticsJSON()
82 */
83#define LLVM_FORCE_ENABLE_STATS 0
84
85#endif