xref: /freebsd/lib/clang/include/llvm/Config/llvm-config.h (revision dff0c46c97f55c403eb7d6e1c29dc45f5ec3d7d5)
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 
30*dff0c46cSDimitry Andric /* Target triple LLVM will generate code for by default */
31*dff0c46cSDimitry Andric /* #undef LLVM_DEFAULT_TARGET_TRIPLE */
32*dff0c46cSDimitry Andric 
3345cc80a7SDimitry Andric /* Installation directory for documentation */
3445cc80a7SDimitry Andric /* #undef LLVM_DOCSDIR */
3545cc80a7SDimitry Andric 
36*dff0c46cSDimitry Andric /* Define if threads enabled */
37*dff0c46cSDimitry Andric #define LLVM_ENABLE_THREADS 0
38*dff0c46cSDimitry 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 
4545cc80a7SDimitry Andric /* Installation directory for include files */
4645cc80a7SDimitry Andric /* #undef LLVM_INCLUDEDIR */
4745cc80a7SDimitry Andric 
4845cc80a7SDimitry Andric /* Installation directory for .info files */
4945cc80a7SDimitry Andric /* #undef LLVM_INFODIR */
5045cc80a7SDimitry Andric 
5145cc80a7SDimitry Andric /* Installation directory for libraries */
5245cc80a7SDimitry Andric /* #undef LLVM_LIBDIR */
5345cc80a7SDimitry Andric 
5445cc80a7SDimitry Andric /* Installation directory for man pages */
5545cc80a7SDimitry Andric /* #undef LLVM_MANDIR */
5645cc80a7SDimitry Andric 
57e580952dSDimitry Andric /* LLVM architecture name for the native architecture, if available */
582754fe60SDimitry Andric #define LLVM_NATIVE_ARCH X86
59e580952dSDimitry Andric 
606122f3e6SDimitry Andric /* LLVM name for the native AsmParser init function, if available */
616122f3e6SDimitry Andric #define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser
626122f3e6SDimitry Andric 
636122f3e6SDimitry Andric /* LLVM name for the native AsmPrinter init function, if available */
646122f3e6SDimitry Andric #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter
656122f3e6SDimitry Andric 
66*dff0c46cSDimitry Andric /* LLVM name for the native Disassembler init function, if available */
67*dff0c46cSDimitry Andric #define LLVM_NATIVE_DISASSEMBLER LLVMInitializeX86Disassembler
68*dff0c46cSDimitry Andric 
692754fe60SDimitry Andric /* LLVM name for the native Target init function, if available */
702754fe60SDimitry Andric #define LLVM_NATIVE_TARGET LLVMInitializeX86Target
712754fe60SDimitry Andric 
722754fe60SDimitry Andric /* LLVM name for the native TargetInfo init function, if available */
732754fe60SDimitry Andric #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo
742754fe60SDimitry Andric 
756122f3e6SDimitry Andric /* LLVM name for the native target MC init function, if available */
766122f3e6SDimitry Andric #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC
7717a519f9SDimitry Andric 
78e580952dSDimitry Andric /* Define if this is Unixish platform */
79e580952dSDimitry Andric #define LLVM_ON_UNIX 1
80e580952dSDimitry Andric 
81e580952dSDimitry Andric /* Define if this is Win32ish platform */
82e580952dSDimitry Andric /* #undef LLVM_ON_WIN32 */
83e580952dSDimitry Andric 
84e580952dSDimitry Andric /* Define to path to circo program if found or 'echo circo' otherwise */
85e580952dSDimitry Andric /* #undef LLVM_PATH_CIRCO */
86e580952dSDimitry Andric 
87e580952dSDimitry Andric /* Define to path to dot program if found or 'echo dot' otherwise */
88e580952dSDimitry Andric /* #undef LLVM_PATH_DOT */
89e580952dSDimitry Andric 
90e580952dSDimitry Andric /* Define to path to dotty program if found or 'echo dotty' otherwise */
91e580952dSDimitry Andric /* #undef LLVM_PATH_DOTTY */
92e580952dSDimitry Andric 
93e580952dSDimitry Andric /* Define to path to fdp program if found or 'echo fdp' otherwise */
94e580952dSDimitry Andric /* #undef LLVM_PATH_FDP */
95e580952dSDimitry Andric 
96e580952dSDimitry Andric /* Define to path to Graphviz program if found or 'echo Graphviz' otherwise */
97e580952dSDimitry Andric /* #undef LLVM_PATH_GRAPHVIZ */
98e580952dSDimitry Andric 
99e580952dSDimitry Andric /* Define to path to gv program if found or 'echo gv' otherwise */
100e580952dSDimitry Andric /* #undef LLVM_PATH_GV */
101e580952dSDimitry Andric 
102e580952dSDimitry Andric /* Define to path to neato program if found or 'echo neato' otherwise */
103e580952dSDimitry Andric /* #undef LLVM_PATH_NEATO */
104e580952dSDimitry Andric 
105e580952dSDimitry Andric /* Define to path to twopi program if found or 'echo twopi' otherwise */
106e580952dSDimitry Andric /* #undef LLVM_PATH_TWOPI */
107e580952dSDimitry Andric 
1086122f3e6SDimitry Andric /* Define to path to xdot.py program if found or 'echo xdot.py' otherwise */
1096122f3e6SDimitry Andric /* #undef LLVM_PATH_XDOT_PY */
1106122f3e6SDimitry Andric 
111e580952dSDimitry Andric /* Installation prefix directory */
11245cc80a7SDimitry Andric /* #undef LLVM_PREFIX */
113e580952dSDimitry Andric 
114*dff0c46cSDimitry Andric /* Major version of the LLVM API */
115*dff0c46cSDimitry Andric #define LLVM_VERSION_MAJOR 3
116*dff0c46cSDimitry Andric 
117*dff0c46cSDimitry Andric /* Minor version of the LLVM API */
118*dff0c46cSDimitry Andric #define LLVM_VERSION_MINOR 1
119*dff0c46cSDimitry Andric 
120e580952dSDimitry Andric #endif
121