1 /*===------- llvm/Config/llvm-config.h - llvm configuration -------*- C -*-===*/
3 /* The LLVM Compiler Infrastructure */
5 /* This file is distributed under the University of Illinois Open Source */
6 /* License. See LICENSE.TXT for details. */
8 /*===----------------------------------------------------------------------===*/
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. */
17 /* Installation directory for binary executables */
18 #cmakedefine LLVM_BINDIR "${LLVM_BINDIR}"
20 /* Time at which LLVM was configured */
21 #cmakedefine LLVM_CONFIGTIME "${LLVM_CONFIGTIME}"
23 /* Installation directory for data files */
24 #cmakedefine LLVM_DATADIR "${LLVM_DATADIR}"
26 /* Target triple LLVM will generate code for by default */
27 #cmakedefine LLVM_DEFAULT_TARGET_TRIPLE "${LLVM_DEFAULT_TARGET_TRIPLE}"
29 /* Installation directory for documentation */
30 #cmakedefine LLVM_DOCSDIR "${LLVM_DOCSDIR}"
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
36 /* Define if threads enabled */
37 #cmakedefine01 LLVM_ENABLE_THREADS
39 /* Installation directory for config files */
40 #cmakedefine LLVM_ETCDIR "${LLVM_ETCDIR}"
42 /* Has gcc/MSVC atomic intrinsics */
43 #cmakedefine01 LLVM_HAS_ATOMICS
45 /* Host triple LLVM will be executed on */
46 #cmakedefine LLVM_HOST_TRIPLE "${LLVM_HOST_TRIPLE}"
48 /* Installation directory for include files */
49 #cmakedefine LLVM_INCLUDEDIR "${LLVM_INCLUDEDIR}"
51 /* Installation directory for .info files */
52 #cmakedefine LLVM_INFODIR "${LLVM_INFODIR}"
54 /* Installation directory for man pages */
55 #cmakedefine LLVM_MANDIR "${LLVM_MANDIR}"
57 /* LLVM architecture name for the native architecture, if available */
58 #cmakedefine LLVM_NATIVE_ARCH ${LLVM_NATIVE_ARCH}
60 /* LLVM name for the native AsmParser init function, if available */
61 #cmakedefine LLVM_NATIVE_ASMPARSER LLVMInitialize${LLVM_NATIVE_ARCH}AsmParser
63 /* LLVM name for the native AsmPrinter init function, if available */
64 #cmakedefine LLVM_NATIVE_ASMPRINTER LLVMInitialize${LLVM_NATIVE_ARCH}AsmPrinter
66 /* LLVM name for the native Disassembler init function, if available */
67 #cmakedefine LLVM_NATIVE_DISASSEMBLER LLVMInitialize${LLVM_NATIVE_ARCH}Disassembler
69 /* LLVM name for the native Target init function, if available */
70 #cmakedefine LLVM_NATIVE_TARGET LLVMInitialize${LLVM_NATIVE_ARCH}Target
72 /* LLVM name for the native TargetInfo init function, if available */
73 #cmakedefine LLVM_NATIVE_TARGETINFO LLVMInitialize${LLVM_NATIVE_ARCH}TargetInfo
75 /* LLVM name for the native target MC init function, if available */
76 #cmakedefine LLVM_NATIVE_TARGETMC LLVMInitialize${LLVM_NATIVE_ARCH}TargetMC
78 /* Define if this is Unixish platform */
79 #cmakedefine LLVM_ON_UNIX ${LLVM_ON_UNIX}
81 /* Define if this is Win32ish platform */
82 #cmakedefine LLVM_ON_WIN32 ${LLVM_ON_WIN32}
84 /* Installation prefix directory */
85 #cmakedefine LLVM_PREFIX "${LLVM_PREFIX}"
87 /* Define if we have the Intel JIT API runtime support library */
88 #cmakedefine LLVM_USE_INTEL_JITEVENTS 1
90 /* Define if we have the oprofile JIT-support library */
91 #cmakedefine LLVM_USE_OPROFILE 1
93 /* Major version of the LLVM API */
94 #define LLVM_VERSION_MAJOR ${LLVM_VERSION_MAJOR}
96 /* Minor version of the LLVM API */
97 #define LLVM_VERSION_MINOR ${LLVM_VERSION_MINOR}
99 /* Patch version of the LLVM API */
100 #define LLVM_VERSION_PATCH ${LLVM_VERSION_PATCH}
102 /* LLVM version string */
103 #define LLVM_VERSION_STRING "${PACKAGE_VERSION}"
105 /* Define if we link Polly to the tools */
106 #cmakedefine LINK_POLLY_INTO_TOOLS