1 /* $FreeBSD$ */ 2 /*===------- llvm/Config/llvm-config.h - llvm configuration -------*- C -*-===*/ 3 /* */ 4 /* The LLVM Compiler Infrastructure */ 5 /* */ 6 /* This file is distributed under the University of Illinois Open Source */ 7 /* License. See LICENSE.TXT for details. */ 8 /* */ 9 /*===----------------------------------------------------------------------===*/ 10 11 /* This file enumerates variables from the LLVM configuration so that they 12 can be in exported headers and won't override package specific directives. 13 This is a C header that can be included in the llvm-c headers. */ 14 15 #ifndef LLVM_CONFIG_H 16 #define LLVM_CONFIG_H 17 18 /* Define if we link Polly to the tools */ 19 /* #undef LINK_POLLY_INTO_TOOLS */ 20 21 /* Target triple LLVM will generate code for by default */ 22 /* #undef LLVM_DEFAULT_TARGET_TRIPLE */ 23 24 /* Define if threads enabled */ 25 #define LLVM_ENABLE_THREADS 1 26 27 /* Has gcc/MSVC atomic intrinsics */ 28 #define LLVM_HAS_ATOMICS 1 29 30 /* Host triple LLVM will be executed on */ 31 /* #undef LLVM_HOST_TRIPLE */ 32 33 /* LLVM architecture name for the native architecture, if available */ 34 #define LLVM_NATIVE_ARCH X86 35 36 /* LLVM name for the native AsmParser init function, if available */ 37 #define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser 38 39 /* LLVM name for the native AsmPrinter init function, if available */ 40 #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter 41 42 /* LLVM name for the native Disassembler init function, if available */ 43 #define LLVM_NATIVE_DISASSEMBLER LLVMInitializeX86Disassembler 44 45 /* LLVM name for the native Target init function, if available */ 46 #define LLVM_NATIVE_TARGET LLVMInitializeX86Target 47 48 /* LLVM name for the native TargetInfo init function, if available */ 49 #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo 50 51 /* LLVM name for the native target MC init function, if available */ 52 #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC 53 54 /* Define if this is Unixish platform */ 55 #define LLVM_ON_UNIX 1 56 57 /* Define if this is Win32ish platform */ 58 /* #undef LLVM_ON_WIN32 */ 59 60 /* Installation prefix directory */ 61 #define LLVM_PREFIX "/usr" 62 63 /* Define if we have the Intel JIT API runtime support library */ 64 #define LLVM_USE_INTEL_JITEVENTS 0 65 66 /* Define if we have the oprofile JIT-support library */ 67 #define LLVM_USE_OPROFILE 0 68 69 /* Major version of the LLVM API */ 70 #define LLVM_VERSION_MAJOR 4 71 72 /* Minor version of the LLVM API */ 73 #define LLVM_VERSION_MINOR 0 74 75 /* Patch version of the LLVM API */ 76 #define LLVM_VERSION_PATCH 0 77 78 /* LLVM version string */ 79 #define LLVM_VERSION_STRING "4.0.0" 80 81 #endif 82