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