xref: /freebsd/lib/clang/include/llvm/Config/llvm-config.h (revision 284c197886619e7a51d68f10971d3d975526044a)
1e580952dSDimitry Andric /* $FreeBSD$ */
2e580952dSDimitry Andric /* include/llvm/Config/llvm-config.h.  Generated from llvm-config.h.in by configure.  */
3e580952dSDimitry Andric /*===-- llvm/config/llvm-config.h - llvm configure variable -------*- C -*-===*/
4e580952dSDimitry Andric /*                                                                            */
5e580952dSDimitry Andric /*                     The LLVM Compiler Infrastructure                       */
6e580952dSDimitry Andric /*                                                                            */
7e580952dSDimitry Andric /* This file is distributed under the University of Illinois Open Source      */
8e580952dSDimitry Andric /* License. See LICENSE.TXT for details.                                      */
9e580952dSDimitry Andric /*                                                                            */
10e580952dSDimitry Andric /*===----------------------------------------------------------------------===*/
11e580952dSDimitry Andric 
12e580952dSDimitry Andric /* This file enumerates all of the llvm variables from configure so that
13e580952dSDimitry Andric    they can be in exported headers and won't override package specific
14e580952dSDimitry Andric    directives.  This is a C file so we can include it in the llvm-c headers.  */
15e580952dSDimitry Andric 
16e580952dSDimitry Andric /* To avoid multiple inclusions of these variables when we include the exported
17e580952dSDimitry Andric    headers and config.h, conditionally include these.  */
18e580952dSDimitry Andric /* TODO: This is a bit of a hack.  */
19e580952dSDimitry Andric #ifndef CONFIG_H
20e580952dSDimitry Andric 
2145cc80a7SDimitry Andric /* Installation directory for binary executables */
2245cc80a7SDimitry Andric /* #undef LLVM_BINDIR */
2345cc80a7SDimitry Andric 
2445cc80a7SDimitry Andric /* Time at which LLVM was configured */
2545cc80a7SDimitry Andric /* #undef LLVM_CONFIGTIME */
2645cc80a7SDimitry Andric 
2745cc80a7SDimitry Andric /* Installation directory for data files */
2845cc80a7SDimitry Andric /* #undef LLVM_DATADIR */
2945cc80a7SDimitry Andric 
30dff0c46cSDimitry Andric /* Target triple LLVM will generate code for by default */
31dff0c46cSDimitry Andric /* #undef LLVM_DEFAULT_TARGET_TRIPLE */
32dff0c46cSDimitry Andric 
3345cc80a7SDimitry Andric /* Installation directory for documentation */
3445cc80a7SDimitry Andric /* #undef LLVM_DOCSDIR */
3545cc80a7SDimitry Andric 
36dff0c46cSDimitry Andric /* Define if threads enabled */
37dff0c46cSDimitry Andric #define LLVM_ENABLE_THREADS 0
38dff0c46cSDimitry Andric 
3945cc80a7SDimitry Andric /* Installation directory for config files */
4045cc80a7SDimitry Andric /* #undef LLVM_ETCDIR */
4145cc80a7SDimitry Andric 
426122f3e6SDimitry Andric /* Has gcc/MSVC atomic intrinsics */
43fd75cb79SDimitry Andric #define LLVM_HAS_ATOMICS 0
446122f3e6SDimitry Andric 
457ae0e2c9SDimitry Andric /* Host triple LLVM will be executed on */
46*284c1978SDimitry Andric /* #undef LLVM_HOST_TRIPLE */
477ae0e2c9SDimitry Andric 
4845cc80a7SDimitry Andric /* Installation directory for include files */
4945cc80a7SDimitry Andric /* #undef LLVM_INCLUDEDIR */
5045cc80a7SDimitry Andric 
5145cc80a7SDimitry Andric /* Installation directory for .info files */
5245cc80a7SDimitry Andric /* #undef LLVM_INFODIR */
5345cc80a7SDimitry Andric 
5445cc80a7SDimitry Andric /* Installation directory for libraries */
5545cc80a7SDimitry Andric /* #undef LLVM_LIBDIR */
5645cc80a7SDimitry Andric 
5745cc80a7SDimitry Andric /* Installation directory for man pages */
5845cc80a7SDimitry Andric /* #undef LLVM_MANDIR */
5945cc80a7SDimitry Andric 
60e580952dSDimitry Andric /* LLVM architecture name for the native architecture, if available */
612754fe60SDimitry Andric #define LLVM_NATIVE_ARCH X86
62e580952dSDimitry Andric 
636122f3e6SDimitry Andric /* LLVM name for the native AsmParser init function, if available */
646122f3e6SDimitry Andric #define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser
656122f3e6SDimitry Andric 
666122f3e6SDimitry Andric /* LLVM name for the native AsmPrinter init function, if available */
676122f3e6SDimitry Andric #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter
686122f3e6SDimitry Andric 
69dff0c46cSDimitry Andric /* LLVM name for the native Disassembler init function, if available */
70dff0c46cSDimitry Andric #define LLVM_NATIVE_DISASSEMBLER LLVMInitializeX86Disassembler
71dff0c46cSDimitry Andric 
722754fe60SDimitry Andric /* LLVM name for the native Target init function, if available */
732754fe60SDimitry Andric #define LLVM_NATIVE_TARGET LLVMInitializeX86Target
742754fe60SDimitry Andric 
752754fe60SDimitry Andric /* LLVM name for the native TargetInfo init function, if available */
762754fe60SDimitry Andric #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo
772754fe60SDimitry Andric 
786122f3e6SDimitry Andric /* LLVM name for the native target MC init function, if available */
796122f3e6SDimitry Andric #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC
8017a519f9SDimitry Andric 
81e580952dSDimitry Andric /* Define if this is Unixish platform */
82e580952dSDimitry Andric #define LLVM_ON_UNIX 1
83e580952dSDimitry Andric 
84e580952dSDimitry Andric /* Define if this is Win32ish platform */
85e580952dSDimitry Andric /* #undef LLVM_ON_WIN32 */
86e580952dSDimitry Andric 
87e580952dSDimitry Andric /* Define to path to circo program if found or 'echo circo' otherwise */
88e580952dSDimitry Andric /* #undef LLVM_PATH_CIRCO */
89e580952dSDimitry Andric 
90e580952dSDimitry Andric /* Define to path to dot program if found or 'echo dot' otherwise */
91e580952dSDimitry Andric /* #undef LLVM_PATH_DOT */
92e580952dSDimitry Andric 
93e580952dSDimitry Andric /* Define to path to dotty program if found or 'echo dotty' otherwise */
94e580952dSDimitry Andric /* #undef LLVM_PATH_DOTTY */
95e580952dSDimitry Andric 
96e580952dSDimitry Andric /* Define to path to fdp program if found or 'echo fdp' otherwise */
97e580952dSDimitry Andric /* #undef LLVM_PATH_FDP */
98e580952dSDimitry Andric 
99e580952dSDimitry Andric /* Define to path to Graphviz program if found or 'echo Graphviz' otherwise */
100e580952dSDimitry Andric /* #undef LLVM_PATH_GRAPHVIZ */
101e580952dSDimitry Andric 
102e580952dSDimitry Andric /* Define to path to gv program if found or 'echo gv' otherwise */
103e580952dSDimitry Andric /* #undef LLVM_PATH_GV */
104e580952dSDimitry Andric 
105e580952dSDimitry Andric /* Define to path to neato program if found or 'echo neato' otherwise */
106e580952dSDimitry Andric /* #undef LLVM_PATH_NEATO */
107e580952dSDimitry Andric 
108e580952dSDimitry Andric /* Define to path to twopi program if found or 'echo twopi' otherwise */
109e580952dSDimitry Andric /* #undef LLVM_PATH_TWOPI */
110e580952dSDimitry Andric 
1116122f3e6SDimitry Andric /* Define to path to xdot.py program if found or 'echo xdot.py' otherwise */
1126122f3e6SDimitry Andric /* #undef LLVM_PATH_XDOT_PY */
1136122f3e6SDimitry Andric 
114e580952dSDimitry Andric /* Installation prefix directory */
115139f7f9bSDimitry Andric #define LLVM_PREFIX ""
116139f7f9bSDimitry Andric 
117139f7f9bSDimitry Andric /* Define if we have the Intel JIT API runtime support library */
118139f7f9bSDimitry Andric #define LLVM_USE_INTEL_JITEVENTS 0
119139f7f9bSDimitry Andric 
120139f7f9bSDimitry Andric /* Define if we have the oprofile JIT-support library */
121139f7f9bSDimitry Andric #define LLVM_USE_OPROFILE 0
122e580952dSDimitry Andric 
123dff0c46cSDimitry Andric /* Major version of the LLVM API */
124dff0c46cSDimitry Andric #define LLVM_VERSION_MAJOR 3
125dff0c46cSDimitry Andric 
126dff0c46cSDimitry Andric /* Minor version of the LLVM API */
127139f7f9bSDimitry Andric #define LLVM_VERSION_MINOR 3
128dff0c46cSDimitry Andric 
129e580952dSDimitry Andric #endif
130