]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - include/llvm/Config/llvm-config.h.cmake
Vendor import of llvm trunk r290819:
[FreeBSD/FreeBSD.git] / include / llvm / Config / llvm-config.h.cmake
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 /* Define if we link Polly to the tools */
18 #cmakedefine LINK_POLLY_INTO_TOOLS
19
20 /* Target triple LLVM will generate code for by default */
21 #cmakedefine LLVM_DEFAULT_TARGET_TRIPLE "${LLVM_DEFAULT_TARGET_TRIPLE}"
22
23 /* Define if threads enabled */
24 #cmakedefine01 LLVM_ENABLE_THREADS
25
26 /* Has gcc/MSVC atomic intrinsics */
27 #cmakedefine01 LLVM_HAS_ATOMICS
28
29 /* Host triple LLVM will be executed on */
30 #cmakedefine LLVM_HOST_TRIPLE "${LLVM_HOST_TRIPLE}"
31
32 /* LLVM architecture name for the native architecture, if available */
33 #cmakedefine LLVM_NATIVE_ARCH ${LLVM_NATIVE_ARCH}
34
35 /* LLVM name for the native AsmParser init function, if available */
36 #cmakedefine LLVM_NATIVE_ASMPARSER LLVMInitialize${LLVM_NATIVE_ARCH}AsmParser
37
38 /* LLVM name for the native AsmPrinter init function, if available */
39 #cmakedefine LLVM_NATIVE_ASMPRINTER LLVMInitialize${LLVM_NATIVE_ARCH}AsmPrinter
40
41 /* LLVM name for the native Disassembler init function, if available */
42 #cmakedefine LLVM_NATIVE_DISASSEMBLER LLVMInitialize${LLVM_NATIVE_ARCH}Disassembler
43
44 /* LLVM name for the native Target init function, if available */
45 #cmakedefine LLVM_NATIVE_TARGET LLVMInitialize${LLVM_NATIVE_ARCH}Target
46
47 /* LLVM name for the native TargetInfo init function, if available */
48 #cmakedefine LLVM_NATIVE_TARGETINFO LLVMInitialize${LLVM_NATIVE_ARCH}TargetInfo
49
50 /* LLVM name for the native target MC init function, if available */
51 #cmakedefine LLVM_NATIVE_TARGETMC LLVMInitialize${LLVM_NATIVE_ARCH}TargetMC
52
53 /* Define if this is Unixish platform */
54 #cmakedefine LLVM_ON_UNIX ${LLVM_ON_UNIX}
55
56 /* Define if this is Win32ish platform */
57 #cmakedefine LLVM_ON_WIN32 ${LLVM_ON_WIN32}
58
59 /* Installation prefix directory */
60 #cmakedefine LLVM_PREFIX "${LLVM_PREFIX}"
61
62 /* Define if we have the Intel JIT API runtime support library */
63 #cmakedefine01 LLVM_USE_INTEL_JITEVENTS
64
65 /* Define if we have the oprofile JIT-support library */
66 #cmakedefine01 LLVM_USE_OPROFILE
67
68 /* Major version of the LLVM API */
69 #define LLVM_VERSION_MAJOR ${LLVM_VERSION_MAJOR}
70
71 /* Minor version of the LLVM API */
72 #define LLVM_VERSION_MINOR ${LLVM_VERSION_MINOR}
73
74 /* Patch version of the LLVM API */
75 #define LLVM_VERSION_PATCH ${LLVM_VERSION_PATCH}
76
77 /* LLVM version string */
78 #define LLVM_VERSION_STRING "${PACKAGE_VERSION}"
79
80 #endif