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/* Installation directory for binary executables */
18#cmakedefine LLVM_BINDIR "${LLVM_BINDIR}"
19
20/* Time at which LLVM was configured */
21#cmakedefine LLVM_CONFIGTIME "${LLVM_CONFIGTIME}"
22
23/* Installation directory for data files */
24#cmakedefine LLVM_DATADIR "${LLVM_DATADIR}"
25
26/* Target triple LLVM will generate code for by default */
27#cmakedefine LLVM_DEFAULT_TARGET_TRIPLE "${LLVM_DEFAULT_TARGET_TRIPLE}"
28
29/* Installation directory for documentation */
30#cmakedefine LLVM_DOCSDIR "${LLVM_DOCSDIR}"
31
32/* Define if LLVM is built with asserts and checks that change the layout of
33   client-visible data structures.  */
34#cmakedefine LLVM_ENABLE_ABI_BREAKING_CHECKS
35
36/* Define if threads enabled */
37#cmakedefine01 LLVM_ENABLE_THREADS
38
39/* Installation directory for config files */
40#cmakedefine LLVM_ETCDIR "${LLVM_ETCDIR}"
41
42/* Has gcc/MSVC atomic intrinsics */
43#cmakedefine01 LLVM_HAS_ATOMICS
44
45/* Host triple LLVM will be executed on */
46#cmakedefine LLVM_HOST_TRIPLE "${LLVM_HOST_TRIPLE}"
47
48/* Installation directory for include files */
49#cmakedefine LLVM_INCLUDEDIR "${LLVM_INCLUDEDIR}"
50
51/* Installation directory for .info files */
52#cmakedefine LLVM_INFODIR "${LLVM_INFODIR}"
53
54/* Installation directory for man pages */
55#cmakedefine LLVM_MANDIR "${LLVM_MANDIR}"
56
57/* LLVM architecture name for the native architecture, if available */
58#cmakedefine LLVM_NATIVE_ARCH ${LLVM_NATIVE_ARCH}
59
60/* LLVM name for the native AsmParser init function, if available */
61#cmakedefine LLVM_NATIVE_ASMPARSER LLVMInitialize${LLVM_NATIVE_ARCH}AsmParser
62
63/* LLVM name for the native AsmPrinter init function, if available */
64#cmakedefine LLVM_NATIVE_ASMPRINTER LLVMInitialize${LLVM_NATIVE_ARCH}AsmPrinter
65
66/* LLVM name for the native Disassembler init function, if available */
67#cmakedefine LLVM_NATIVE_DISASSEMBLER LLVMInitialize${LLVM_NATIVE_ARCH}Disassembler
68
69/* LLVM name for the native Target init function, if available */
70#cmakedefine LLVM_NATIVE_TARGET LLVMInitialize${LLVM_NATIVE_ARCH}Target
71
72/* LLVM name for the native TargetInfo init function, if available */
73#cmakedefine LLVM_NATIVE_TARGETINFO LLVMInitialize${LLVM_NATIVE_ARCH}TargetInfo
74
75/* LLVM name for the native target MC init function, if available */
76#cmakedefine LLVM_NATIVE_TARGETMC LLVMInitialize${LLVM_NATIVE_ARCH}TargetMC
77
78/* Define if this is Unixish platform */
79#cmakedefine LLVM_ON_UNIX ${LLVM_ON_UNIX}
80
81/* Define if this is Win32ish platform */
82#cmakedefine LLVM_ON_WIN32 ${LLVM_ON_WIN32}
83
84/* Installation prefix directory */
85#cmakedefine LLVM_PREFIX "${LLVM_PREFIX}"
86
87/* Define if we have the Intel JIT API runtime support library */
88#cmakedefine LLVM_USE_INTEL_JITEVENTS 1
89
90/* Define if we have the oprofile JIT-support library */
91#cmakedefine LLVM_USE_OPROFILE 1
92
93/* Major version of the LLVM API */
94#define LLVM_VERSION_MAJOR ${LLVM_VERSION_MAJOR}
95
96/* Minor version of the LLVM API */
97#define LLVM_VERSION_MINOR ${LLVM_VERSION_MINOR}
98
99/* Patch version of the LLVM API */
100#define LLVM_VERSION_PATCH ${LLVM_VERSION_PATCH}
101
102/* LLVM version string */
103#define LLVM_VERSION_STRING "${PACKAGE_VERSION}"
104
105/* Define if we link Polly to the tools */
106#cmakedefine LINK_POLLY_INTO_TOOLS
107
108#endif
109