remove dependency on CMake and python

This commit is contained in:
Peter Tissen 2014-10-26 17:19:48 +01:00
parent 7258ddc318
commit 1af2f5b214
105 changed files with 14604 additions and 9 deletions

View file

@ -0,0 +1,30 @@
/*===- llvm/Config/AsmParsers.def - LLVM Assembly Parsers -------*- C++ -*-===*\
|* *|
|* The LLVM Compiler Infrastructure *|
|* *|
|* This file is distributed under the University of Illinois Open Source *|
|* License. See LICENSE.TXT for details. *|
|* *|
|*===----------------------------------------------------------------------===*|
|* *|
|* This file enumerates all of the assembly-language parsers *|
|* supported by this build of LLVM. Clients of this file should define *|
|* the LLVM_ASM_PARSER macro to be a function-like macro with a *|
|* single parameter (the name of the target whose assembly can be *|
|* generated); including this file will then enumerate all of the *|
|* targets with assembly parsers. *|
|* *|
|* The set of targets supported by LLVM is generated at configuration *|
|* time, at which point this header is generated. Do not modify this *|
|* header directly. *|
|* *|
\*===----------------------------------------------------------------------===*/
#ifndef LLVM_ASM_PARSER
# error Please define the macro LLVM_ASM_PARSER(TargetName)
#endif
LLVM_ASM_PARSER(X86)
#undef LLVM_ASM_PARSER

View file

@ -0,0 +1,30 @@
/*===- llvm/Config/AsmPrinters.def - LLVM Assembly Printers -----*- C++ -*-===*\
|* *|
|* The LLVM Compiler Infrastructure *|
|* *|
|* This file is distributed under the University of Illinois Open Source *|
|* License. See LICENSE.TXT for details. *|
|* *|
|*===----------------------------------------------------------------------===*|
|* *|
|* This file enumerates all of the assembly-language printers *|
|* supported by this build of LLVM. Clients of this file should define *|
|* the LLVM_ASM_PRINTER macro to be a function-like macro with a *|
|* single parameter (the name of the target whose assembly can be *|
|* generated); including this file will then enumerate all of the *|
|* targets with assembly printers. *|
|* *|
|* The set of targets supported by LLVM is generated at configuration *|
|* time, at which point this header is generated. Do not modify this *|
|* header directly. *|
|* *|
\*===----------------------------------------------------------------------===*/
#ifndef LLVM_ASM_PRINTER
# error Please define the macro LLVM_ASM_PRINTER(TargetName)
#endif
LLVM_ASM_PRINTER(X86)
#undef LLVM_ASM_PRINTER

View file

@ -0,0 +1,30 @@
/*===- llvm/Config/Disassemblers.def - LLVM Assembly Parsers ----*- C++ -*-===*\
|* *|
|* The LLVM Compiler Infrastructure *|
|* *|
|* This file is distributed under the University of Illinois Open Source *|
|* License. See LICENSE.TXT for details. *|
|* *|
|*===----------------------------------------------------------------------===*|
|* *|
|* This file enumerates all of the assembly-language parsers *|
|* supported by this build of LLVM. Clients of this file should define *|
|* the LLVM_DISASSEMBLER macro to be a function-like macro with a *|
|* single parameter (the name of the target whose assembly can be *|
|* generated); including this file will then enumerate all of the *|
|* targets with assembly parsers. *|
|* *|
|* The set of targets supported by LLVM is generated at configuration *|
|* time, at which point this header is generated. Do not modify this *|
|* header directly. *|
|* *|
\*===----------------------------------------------------------------------===*/
#ifndef LLVM_DISASSEMBLER
# error Please define the macro LLVM_DISASSEMBLER(TargetName)
#endif
LLVM_DISASSEMBLER(X86)
#undef LLVM_DISASSEMBLER

View file

@ -0,0 +1,29 @@
/*===- llvm/Config/Targets.def - LLVM Target Architectures ------*- C++ -*-===*\
|* *|
|* The LLVM Compiler Infrastructure *|
|* *|
|* This file is distributed under the University of Illinois Open Source *|
|* License. See LICENSE.TXT for details. *|
|* *|
|*===----------------------------------------------------------------------===*|
|* *|
|* This file enumerates all of the target architectures supported by *|
|* this build of LLVM. Clients of this file should define the *|
|* LLVM_TARGET macro to be a function-like macro with a single *|
|* parameter (the name of the target); including this file will then *|
|* enumerate all of the targets. *|
|* *|
|* The set of targets supported by LLVM is generated at configuration *|
|* time, at which point this header is generated. Do not modify this *|
|* header directly. *|
|* *|
\*===----------------------------------------------------------------------===*/
#ifndef LLVM_TARGET
# error Please define the macro LLVM_TARGET(TargetName)
#endif
LLVM_TARGET(X86)
#undef LLVM_TARGET

View file

@ -0,0 +1,548 @@
/* include/llvm/Config/config.h.cmake corresponding to config.h.in. */
#ifndef CONFIG_H
#define CONFIG_H
/* Exported configuration */
#include "llvm/Config/llvm-config.h"
/* Patch version of the LLVM API */
/* #undef LLVM_VERSION_PATCH */
/* Bug report URL. */
#define BUG_REPORT_URL "http://llvm.org/bugs/"
/* Define if you want backtraces on crash */
#define ENABLE_BACKTRACES
/* Define to enable crash overrides */
#define ENABLE_CRASH_OVERRIDES
/* Define if position independent code is enabled */
#define ENABLE_PIC
/* Define if timestamp information (e.g., __DATE__) is allowed */
#define ENABLE_TIMESTAMPS 1
/* Define to 1 if you have the `arc4random' function. */
/* #undef HAVE_DECL_ARC4RANDOM */
/* Define to 1 if you have the `backtrace' function. */
/* #undef HAVE_BACKTRACE */
/* Define to 1 if you have the `bcopy' function. */
#undef HAVE_BCOPY
/* Define to 1 if you have the `ceilf' function. */
#define HAVE_CEILF 1
/* Define to 1 if you have the `closedir' function. */
/* #undef HAVE_CLOSEDIR */
/* Define to 1 if you have the <cxxabi.h> header file. */
/* #undef HAVE_CXXABI_H */
/* Define to 1 if you have the <CrashReporterClient.h> header file. */
#undef HAVE_CRASHREPORTERCLIENT_H
/* can use __crashreporter_info__ */
#undef HAVE_CRASHREPORTER_INFO
/* Define to 1 if you have the declaration of `strerror_s', and to 0 if you
don't. */
#define HAVE_DECL_STRERROR_S 1
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_DIRENT_H */
/* Define if you have the GNU dld library. */
#undef HAVE_DLD
/* Define to 1 if you have the `dlerror' function. */
/* #undef HAVE_DLERROR */
/* Define to 1 if you have the <dlfcn.h> header file. */
/* #undef HAVE_DLFCN_H */
/* Define if dlopen() is available on this platform. */
/* #undef HAVE_DLOPEN */
/* Define if you have the _dyld_func_lookup function. */
#undef HAVE_DYLD
/* Define to 1 if you have the <errno.h> header file. */
#define HAVE_ERRNO_H 1
/* Define to 1 if you have the <execinfo.h> header file. */
/* #undef HAVE_EXECINFO_H */
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define to 1 if you have the <fenv.h> header file. */
#define HAVE_FENV_H 1
/* Define if libffi is available on this platform. */
/* #undef HAVE_FFI_CALL */
/* Define to 1 if you have the <ffi/ffi.h> header file. */
/* #undef HAVE_FFI_FFI_H */
/* Define to 1 if you have the <ffi.h> header file. */
/* #undef HAVE_FFI_H */
/* Set to 1 if the finite function is found in <ieeefp.h> */
/* #undef HAVE_FINITE_IN_IEEEFP_H */
/* Define to 1 if you have the `floorf' function. */
#define HAVE_FLOORF 1
/* Define to 1 if you have the `log' function. */
#define HAVE_LOG 1
/* Define to 1 if you have the `log2' function. */
#define HAVE_LOG2 1
/* Define to 1 if you have the `log10' function. */
#define HAVE_LOG10 1
/* Define to 1 if you have the `exp' function. */
#define HAVE_EXP 1
/* Define to 1 if you have the `exp2' function. */
#define HAVE_EXP2 1
/* Define to 1 if you have the `exp10' function. */
/* #undef HAVE_EXP10 */
/* Define to 1 if you have the `fmodf' function. */
#define HAVE_FMODF 1
/* Define to 1 if you have the `futimes' function. */
/* #undef HAVE_FUTIMES */
/* Define to 1 if you have the `futimens' function */
/* #undef HAVE_FUTIMENS */
/* Define to 1 if you have the `getcwd' function. */
/* #undef HAVE_GETCWD */
/* Define to 1 if you have the `getpagesize' function. */
/* #undef HAVE_GETPAGESIZE */
/* Define to 1 if you have the `getrlimit' function. */
/* #undef HAVE_GETRLIMIT */
/* Define to 1 if you have the `getrusage' function. */
/* #undef HAVE_GETRUSAGE */
/* Define to 1 if you have the `gettimeofday' function. */
/* #undef HAVE_GETTIMEOFDAY */
/* Define to 1 if the system has the type `int64_t'. */
#define HAVE_INT64_T 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the `isatty' function. */
/* #undef HAVE_ISATTY */
/* Set to 1 if the isinf function is found in <cmath> */
/* #undef HAVE_ISINF_IN_CMATH */
/* Set to 1 if the isinf function is found in <math.h> */
#define HAVE_ISINF_IN_MATH_H 1
/* Set to 1 if the isnan function is found in <cmath> */
/* #undef HAVE_ISNAN_IN_CMATH */
/* Set to 1 if the isnan function is found in <math.h> */
#define HAVE_ISNAN_IN_MATH_H 1
/* Define if you have the libdl library or equivalent. */
/* #undef HAVE_LIBDL */
/* Define to 1 if you have the `imagehlp' library (-limagehlp). */
/* #undef HAVE_LIBIMAGEHLP */
/* Define to 1 if you have the `m' library (-lm). */
#undef HAVE_LIBM
/* Define to 1 if you have the `psapi' library (-lpsapi). */
/* #undef HAVE_LIBPSAPI */
/* Define to 1 if you have the `pthread' library (-lpthread). */
/* #undef HAVE_LIBPTHREAD */
/* Define to 1 if you have the `shell32' library (-lshell32). */
/* #undef HAVE_LIBSHELL32 */
/* Define to 1 if you have the 'z' library (-lz). */
/* #undef HAVE_LIBZ */
/* Define to 1 if you have the 'edit' library (-ledit). */
/* #undef HAVE_LIBEDIT */
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define if you can use -rdynamic. */
#define HAVE_LINK_EXPORT_DYNAMIC 1
/* Define if you can use -Wl,-R. to pass -R. to the linker, in order to add
the current directory to the dynamic linker search path. */
#undef HAVE_LINK_R
/* Define to 1 if you have the `longjmp' function. */
/* #undef HAVE_LONGJMP */
/* Define to 1 if you have the <mach/mach.h> header file. */
/* #undef HAVE_MACH_MACH_H */
/* Define to 1 if you have the <mach-o/dyld.h> header file. */
/* #undef HAVE_MACH_O_DYLD_H */
/* Define if mallinfo() is available on this platform. */
/* #undef HAVE_MALLINFO */
/* Define to 1 if you have the <malloc.h> header file. */
#define HAVE_MALLOC_H 1
/* Define to 1 if you have the <malloc/malloc.h> header file. */
/* #undef HAVE_MALLOC_MALLOC_H */
/* Define to 1 if you have the `malloc_zone_statistics' function. */
/* #undef HAVE_MALLOC_ZONE_STATISTICS */
/* Define to 1 if you have the `mkdtemp' function. */
/* #undef HAVE_MKDTEMP */
/* Define to 1 if you have the `mkstemp' function. */
/* #undef HAVE_MKSTEMP */
/* Define to 1 if you have the `mktemp' function. */
/* #undef HAVE_MKTEMP */
/* Define to 1 if you have a working `mmap' system call. */
#undef HAVE_MMAP
/* Define if mmap() uses MAP_ANONYMOUS to map anonymous pages, or undefine if
it uses MAP_ANON */
#undef HAVE_MMAP_ANONYMOUS
/* Define if mmap() can map files into memory */
#undef HAVE_MMAP_FILE
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
/* #undef HAVE_NDIR_H */
/* Define to 1 if you have the `nearbyintf' function. */
#define HAVE_NEARBYINTF 1
/* Define to 1 if you have the `opendir' function. */
/* #undef HAVE_OPENDIR */
/* Define to 1 if you have the `posix_spawn' function. */
/* #undef HAVE_POSIX_SPAWN */
/* Define to 1 if you have the `powf' function. */
/* #undef HAVE_POWF */
/* Define to 1 if you have the `pread' function. */
/* #undef HAVE_PREAD */
/* Define if libtool can extract symbol lists from object files. */
#undef HAVE_PRELOADED_SYMBOLS
/* Define to have the %a format string */
#undef HAVE_PRINTF_A
/* Have pthread_getspecific */
/* #undef HAVE_PTHREAD_GETSPECIFIC */
/* Define to 1 if you have the <pthread.h> header file. */
/* #undef HAVE_PTHREAD_H */
/* Have pthread_mutex_lock */
/* #undef HAVE_PTHREAD_MUTEX_LOCK */
/* Have pthread_rwlock_init */
/* #undef HAVE_PTHREAD_RWLOCK_INIT */
/* Define to 1 if srand48/lrand48/drand48 exist in <stdlib.h> */
/* #undef HAVE_RAND48 */
/* Define to 1 if you have the `readdir' function. */
/* #undef HAVE_READDIR */
/* Define to 1 if you have the `realpath' function. */
/* #undef HAVE_REALPATH */
/* Define to 1 if you have the `rintf' function. */
#undef HAVE_RINTF
/* Define to 1 if you have the `round' function. */
/* #undef HAVE_ROUND */
/* Define to 1 if you have the `roundf' function. */
#undef HAVE_ROUNDF
/* Define to 1 if you have the `sbrk' function. */
/* #undef HAVE_SBRK */
/* Define to 1 if you have the `setenv' function. */
/* #undef HAVE_SETENV */
/* Define to 1 if you have the `setjmp' function. */
/* #undef HAVE_SETJMP */
/* Define to 1 if you have the `setrlimit' function. */
/* #undef HAVE_SETRLIMIT */
/* Define if you have the shl_load function. */
#undef HAVE_SHL_LOAD
/* Define to 1 if you have the `siglongjmp' function. */
/* #undef HAVE_SIGLONGJMP */
/* Define to 1 if you have the <signal.h> header file. */
#define HAVE_SIGNAL_H 1
/* Define to 1 if you have the `sigsetjmp' function. */
/* #undef HAVE_SIGSETJMP */
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Set to 1 if the std::isinf function is found in <cmath> */
#undef HAVE_STD_ISINF_IN_CMATH
/* Set to 1 if the std::isnan function is found in <cmath> */
#undef HAVE_STD_ISNAN_IN_CMATH
/* Define to 1 if you have the `strdup' function. */
/* #undef HAVE_STRDUP */
/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1
/* Define to 1 if you have the `strerror_r' function. */
/* #undef HAVE_STRERROR_R */
/* Define to 1 if you have the `strtof' function. */
/* #undef HAVE_STRTOF */
/* Define to 1 if you have the `strtoll' function. */
#define HAVE_STRTOLL 1
/* Define to 1 if you have the `strtoq' function. */
/* #undef HAVE_STRTOQ */
/* Define to 1 if you have the `sysconf' function. */
#undef HAVE_SYSCONF
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_DIR_H */
/* Define to 1 if you have the <sys/ioctl.h> header file. */
/* #undef HAVE_SYS_IOCTL_H */
/* Define to 1 if you have the <sys/mman.h> header file. */
/* #undef HAVE_SYS_MMAN_H */
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_NDIR_H */
/* Define to 1 if you have the <sys/param.h> header file. */
/* #undef HAVE_SYS_PARAM_H */
/* Define to 1 if you have the <sys/resource.h> header file. */
/* #undef HAVE_SYS_RESOURCE_H */
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/time.h> header file. */
/* #undef HAVE_SYS_TIME_H */
/* Define to 1 if you have the <sys/types.h> header file. */
/* #undef HAVE_SYS_TYPES_H */
/* Define to 1 if you have the <sys/uio.h> header file. */
/* #undef HAVE_SYS_UIO_H */
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
/* #undef HAVE_SYS_WAIT_H */
/* Define if the setupterm() function is supported this platform. */
/* #undef HAVE_TERMINFO */
/* Define to 1 if you have the <termios.h> header file. */
/* #undef HAVE_TERMIOS_H */
/* Define to 1 if the system has the type `uint64_t'. */
#define HAVE_UINT64_T 1
/* Define to 1 if you have the <unistd.h> header file. */
/* #undef HAVE_UNISTD_H */
/* Define to 1 if you have the <utime.h> header file. */
/* #undef HAVE_UTIME_H */
/* Define to 1 if the system has the type `u_int64_t'. */
/* #undef HAVE_U_INT64_T */
/* Define to 1 if you have the <valgrind/valgrind.h> header file. */
/* #undef HAVE_VALGRIND_VALGRIND_H */
/* Define to 1 if you have the `writev' function. */
/* #undef HAVE_WRITEV */
/* Define to 1 if you have the <zlib.h> header file. */
/* #undef HAVE_ZLIB_H */
/* Have host's _alloca */
/* #undef HAVE__ALLOCA */
/* Have host's __alloca */
/* #undef HAVE___ALLOCA */
/* Have host's __ashldi3 */
/* #undef HAVE___ASHLDI3 */
/* Have host's __ashrdi3 */
/* #undef HAVE___ASHRDI3 */
/* Have host's __chkstk */
#define HAVE___CHKSTK 1
/* Have host's __cmpdi2 */
/* #undef HAVE___CMPDI2 */
/* Have host's __divdi3 */
/* #undef HAVE___DIVDI3 */
/* Define to 1 if you have the `__dso_handle' function. */
#undef HAVE___DSO_HANDLE
/* Have host's __fixdfdi */
/* #undef HAVE___FIXDFDI */
/* Have host's __fixsfdi */
/* #undef HAVE___FIXSFDI */
/* Have host's __floatdidf */
/* #undef HAVE___FLOATDIDF */
/* Have host's __lshrdi3 */
/* #undef HAVE___LSHRDI3 */
/* Have host's __main */
/* #undef HAVE___MAIN */
/* Have host's __moddi3 */
/* #undef HAVE___MODDI3 */
/* Have host's __udivdi3 */
/* #undef HAVE___UDIVDI3 */
/* Have host's __umoddi3 */
/* #undef HAVE___UMODDI3 */
/* Have host's ___chkstk */
/* #undef HAVE____CHKSTK */
/* Linker version detected at compile time. */
#undef HOST_LINK_VERSION
/* Define if we link Polly to the tools */
/* #undef LINK_POLLY_INTO_TOOLS */
/* Define if zlib compression is available */
#define LLVM_ENABLE_ZLIB 0
/* Define if the OS needs help to load dependent libraries for dlopen(). */
/* #undef LTDL_DLOPEN_DEPLIBS */
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#undef LTDL_OBJDIR
/* Define to the extension used for shared libraries, say, ".so". */
#define LTDL_SHLIB_EXT ".dll"
/* Define to the system default library search path. */
/* #undef LTDL_SYSSEARCHPATH */
/* Define if /dev/zero should be used when mapping RWX memory, or undefine if
its not necessary */
#undef NEED_DEV_ZERO_FOR_MMAP
/* Define if dlsym() requires a leading underscore in symbol names. */
#undef NEED_USCORE
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "http://llvm.org/bugs/"
/* Define to the full name of this package. */
#define PACKAGE_NAME "LLVM"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "LLVM 3.5.0svn"
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#define PACKAGE_VERSION "3.5.0svn"
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
#undef STAT_MACROS_BROKEN
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
#undef TM_IN_SYS_TIME
/* Type of 1st arg on ELM Callback */
#define WIN32_ELMCB_PCSTR PCSTR
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
/* Define to `int' if <sys/types.h> does not define. */
#undef pid_t
/* Define to `unsigned int' if <sys/types.h> does not define. */
#undef size_t
/* Define to a function replacing strtoll */
/* #undef strtoll */
/* Define to a function implementing strtoull */
/* #undef strtoull */
/* Define to a function implementing stricmp */
#define stricmp _stricmp
/* Define to a function implementing strdup */
#define strdup _strdup
/* Define to 1 if you have the `_chsize_s' function. */
#define HAVE__CHSIZE_S 1
/* Maximum path length */
#define MAXPATHLEN 160
#endif

View file

@ -0,0 +1,98 @@
/*===------- llvm/Config/llvm-config.h - llvm configuration -------*- C -*-===*/
/* */
/* The LLVM Compiler Infrastructure */
/* */
/* This file is distributed under the University of Illinois Open Source */
/* License. See LICENSE.TXT for details. */
/* */
/*===----------------------------------------------------------------------===*/
/* This file enumerates variables from the LLVM configuration so that they
can be in exported headers and won't override package specific directives.
This is a C header that can be included in the llvm-c headers. */
#ifndef LLVM_CONFIG_H
#define LLVM_CONFIG_H
/* Installation directory for binary executables */
/* #undef LLVM_BINDIR */
/* Time at which LLVM was configured */
/* #undef LLVM_CONFIGTIME */
/* Installation directory for data files */
/* #undef LLVM_DATADIR */
/* Target triple LLVM will generate code for by default */
#define LLVM_DEFAULT_TARGET_TRIPLE "x86_64-pc-win32"
/* Installation directory for documentation */
/* #undef LLVM_DOCSDIR */
/* Define if threads enabled */
#define LLVM_ENABLE_THREADS 1
/* Installation directory for config files */
/* #undef LLVM_ETCDIR */
/* Has gcc/MSVC atomic intrinsics */
#define LLVM_HAS_ATOMICS 1
/* Host triple LLVM will be executed on */
#define LLVM_HOST_TRIPLE "x86_64-pc-win32"
/* Installation directory for include files */
/* #undef LLVM_INCLUDEDIR */
/* Installation directory for .info files */
/* #undef LLVM_INFODIR */
/* Installation directory for man pages */
/* #undef LLVM_MANDIR */
/* LLVM architecture name for the native architecture, if available */
#define LLVM_NATIVE_ARCH X86
/* LLVM name for the native AsmParser init function, if available */
#define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser
/* LLVM name for the native AsmPrinter init function, if available */
#define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter
/* LLVM name for the native Disassembler init function, if available */
#define LLVM_NATIVE_DISASSEMBLER LLVMInitializeX86Disassembler
/* LLVM name for the native Target init function, if available */
#define LLVM_NATIVE_TARGET LLVMInitializeX86Target
/* LLVM name for the native TargetInfo init function, if available */
#define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo
/* LLVM name for the native target MC init function, if available */
#define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC
/* Define if this is Unixish platform */
/* #undef LLVM_ON_UNIX */
/* Define if this is Win32ish platform */
#define LLVM_ON_WIN32 1
/* Installation prefix directory */
#define LLVM_PREFIX "C:/Program Files/LLVM"
/* Define if we have the Intel JIT API runtime support library */
/* #undef LLVM_USE_INTEL_JITEVENTS */
/* Define if we have the oprofile JIT-support library */
/* #undef LLVM_USE_OPROFILE */
/* Major version of the LLVM API */
#define LLVM_VERSION_MAJOR 3
/* Minor version of the LLVM API */
#define LLVM_VERSION_MINOR 5
/* Define if we link Polly to the tools */
/* #undef LINK_POLLY_INTO_TOOLS */
#endif

View file

@ -0,0 +1,194 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build" ToolsVersion="12.0">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGUID>{0B9F2D3D-23BA-4B2F-9D24-1F2742BE6FAA}</ProjectGUID>
<Keyword>Win32Proj</Keyword>
<Platform>x64</Platform>
<ProjectName>intrinsics_gen</ProjectName>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Utility</ConfigurationType>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Utility</ConfigurationType>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" /> </ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.20506.1</_ProjectFileVersion>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Midl>
<AdditionalIncludeDirectories>$(ProjDir)..\..\..\..\llvm_build\include\llvm\IR;$(ProjDir)..\..\..\..\llvm\include\llvm\IR;$(ProjDir)..\..\..\..\llvm_build\include;$(ProjDir)..\..\..\..\llvm\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<OutputDirectory>$(IntDir)</OutputDirectory>
<HeaderFileName>%(Filename).h</HeaderFileName>
<TypeLibraryName>%(Filename).tlb</TypeLibraryName>
<InterfaceIdentifierFileName>%(Filename)_i.c</InterfaceIdentifierFileName>
<ProxyFileName>%(Filename)_p.c</ProxyFileName>
</Midl>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Midl>
<AdditionalIncludeDirectories>$(ProjDir)..\..\..\..\llvm_build\include\llvm\IR;$(ProjDir)..\..\..\..\llvm\include\llvm\IR;$(ProjDir)..\..\..\..\llvm_build\include;$(ProjDir)..\..\..\..\llvm\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<OutputDirectory>$(IntDir)</OutputDirectory>
<HeaderFileName>%(Filename).h</HeaderFileName>
<TypeLibraryName>%(Filename).tlb</TypeLibraryName>
<InterfaceIdentifierFileName>%(Filename)_i.c</InterfaceIdentifierFileName>
<ProxyFileName>%(Filename)_p.c</ProxyFileName>
</Midl>
</ItemDefinitionGroup>
<ItemGroup>
<CustomBuild Include="$(ProjDir)..\..\..\..\llvm\include\llvm\IR\CMakeLists.txt">
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Building Custom Rule $(ProjDir)../../../../llvm/include/llvm/IR/CMakeLists.txt</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">setlocal
REM OMMITTED CMAKE COMMAND
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjDir)../../../../llvm/include/llvm/IR/CMakeLists.txt;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\CMakeLists.txt;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\CMakeLists.txt;%(AdditionalInputs)</AdditionalInputs>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjDir)..\..\..\..\llvm_build\include\llvm\IR\CMakeFiles\generate.stamp</Outputs>
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkObjects>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Building Custom Rule $(ProjDir)../../../../llvm/include/llvm/IR/CMakeLists.txt</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">setlocal
REM OMMITTED CMAKE COMMAND
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjDir)../../../../llvm/include/llvm/IR/CMakeLists.txt;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\CMakeLists.txt;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\CMakeLists.txt;%(AdditionalInputs)</AdditionalInputs>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjDir)..\..\..\..\llvm_build\include\llvm\IR\CMakeFiles\generate.stamp</Outputs>
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkObjects>
</CustomBuild>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="..\..\..\CMakeFiles\43444065875149dfe37439390dbe0cfd\Intrinsics.gen.tmp.rule">
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Building Intrinsics.gen...</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">setlocal
..\..\..\Debug\bin\llvm-tblgen.exe -gen-intrinsic -I $(ProjDir)../../../../llvm/include/llvm/IR -I $(ProjDir)../../../../llvm/lib/Target -I $(ProjDir)../../../../llvm/include $(ProjDir)../../../../llvm/include/llvm/IR/Intrinsics.td -o $(ProjDir)../../../../llvm_build/include/llvm/IR/Intrinsics.gen.tmp
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjDir)../../../../llvm_build/CMakeFiles/43444065875149dfe37439390dbe0cfd/Intrinsics.gen.tmp.rule;$(ProjDir)..\..\..\..\llvm_build\Debug\bin\llvm-tblgen.exe;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\Intrinsics.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsAArch64.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsARM.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsHexagon.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsMips.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsNVVM.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsPowerPC.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsR600.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsX86.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsXCore.td;$(ProjDir)..\..\..\..\llvm\include\llvm\CodeGen\ValueTypes.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\Intrinsics.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsAArch64.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsARM.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsHexagon.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsMips.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsNVVM.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsPowerPC.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsR600.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsX86.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsXCore.td;$(ProjDir)..\..\..\..\llvm\include\llvm\Option\OptParser.td;$(ProjDir)..\..\..\..\llvm\include\llvm\Target\Target.td;$(ProjDir)..\..\..\..\llvm\include\llvm\Target\TargetCallingConv.td;$(ProjDir)..\..\..\..\llvm\include\llvm\Target\TargetItinerary.td;$(ProjDir)..\..\..\..\llvm\include\llvm\Target\TargetSchedule.td;$(ProjDir)..\..\..\..\llvm\include\llvm\Target\TargetSelectionDAG.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\Intrinsics.td;%(AdditionalInputs)</AdditionalInputs>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjDir)..\..\..\..\llvm_build\include\llvm\IR\Intrinsics.gen.tmp</Outputs>
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkObjects>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Building Intrinsics.gen...</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">setlocal
..\..\..\Release\bin\llvm-tblgen.exe -gen-intrinsic -I $(ProjDir)../../../../llvm/include/llvm/IR -I $(ProjDir)../../../../llvm/lib/Target -I $(ProjDir)../../../../llvm/include $(ProjDir)../../../../llvm/include/llvm/IR/Intrinsics.td -o $(ProjDir)../../../../llvm_build/include/llvm/IR/Intrinsics.gen.tmp
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjDir)../../../../llvm_build/CMakeFiles/43444065875149dfe37439390dbe0cfd/Intrinsics.gen.tmp.rule;$(ProjDir)..\..\..\..\llvm_build\Release\bin\llvm-tblgen.exe;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\Intrinsics.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsAArch64.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsARM.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsHexagon.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsMips.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsNVVM.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsPowerPC.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsR600.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsX86.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsXCore.td;$(ProjDir)..\..\..\..\llvm\include\llvm\CodeGen\ValueTypes.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\Intrinsics.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsAArch64.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsARM.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsHexagon.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsMips.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsNVVM.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsPowerPC.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsR600.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsX86.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\IntrinsicsXCore.td;$(ProjDir)..\..\..\..\llvm\include\llvm\Option\OptParser.td;$(ProjDir)..\..\..\..\llvm\include\llvm\Target\Target.td;$(ProjDir)..\..\..\..\llvm\include\llvm\Target\TargetCallingConv.td;$(ProjDir)..\..\..\..\llvm\include\llvm\Target\TargetItinerary.td;$(ProjDir)..\..\..\..\llvm\include\llvm\Target\TargetSchedule.td;$(ProjDir)..\..\..\..\llvm\include\llvm\Target\TargetSelectionDAG.td;$(ProjDir)..\..\..\..\llvm\include\llvm\IR\Intrinsics.td;%(AdditionalInputs)</AdditionalInputs>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjDir)..\..\..\..\llvm_build\include\llvm\IR\Intrinsics.gen.tmp</Outputs>
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkObjects>
</CustomBuild>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="..\..\..\CMakeFiles\43444065875149dfe37439390dbe0cfd\Intrinsics.gen.rule">
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Updating Intrinsics.gen...</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">setlocal
copy /y $(ProjDir)..\..\..\..\llvm_build\include\llvm\IR\Intrinsics.gen.tmp $(ProjDir)..\..\..\..\llvm_build\include\llvm\IR\Intrinsics.gen
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjDir)../../../../llvm_build/CMakeFiles/43444065875149dfe37439390dbe0cfd/Intrinsics.gen.rule;$(ProjDir)..\..\..\..\llvm_build\include\llvm\IR\Intrinsics.gen.tmp;%(AdditionalInputs)</AdditionalInputs>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjDir)..\..\..\..\llvm_build\include\llvm\IR\Intrinsics.gen</Outputs>
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkObjects>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Updating Intrinsics.gen...</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">setlocal
copy /y $(ProjDir)..\..\..\..\llvm_build\include\llvm\IR\Intrinsics.gen.tmp $(ProjDir)..\..\..\..\llvm_build\include\llvm\IR\Intrinsics.gen
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjDir)../../../../llvm_build/CMakeFiles/43444065875149dfe37439390dbe0cfd/Intrinsics.gen.rule;$(ProjDir)..\..\..\..\llvm_build\include\llvm\IR\Intrinsics.gen.tmp;%(AdditionalInputs)</AdditionalInputs>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjDir)..\..\..\..\llvm_build\include\llvm\IR\Intrinsics.gen</Outputs>
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkObjects>
</CustomBuild>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="..\..\..\CMakeFiles\b72362b694f6c40fe24baa03116420e5\intrinsics_gen.rule">
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">setlocal
:cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjDir)../../../../llvm_build/CMakeFiles/b72362b694f6c40fe24baa03116420e5/intrinsics_gen.rule;$(ProjDir)..\..\..\..\llvm_build\include\llvm\IR\Intrinsics.gen;%(AdditionalInputs)</AdditionalInputs>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjDir)..\..\..\..\llvm_build\include\llvm\IR\CMakeFiles\intrinsics_gen</Outputs>
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkObjects>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">setlocal
:cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjDir)../../../../llvm_build/CMakeFiles/b72362b694f6c40fe24baa03116420e5/intrinsics_gen.rule;$(ProjDir)..\..\..\..\llvm_build\include\llvm\IR\Intrinsics.gen;%(AdditionalInputs)</AdditionalInputs>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjDir)..\..\..\..\llvm_build\include\llvm\IR\CMakeFiles\intrinsics_gen</Outputs>
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkObjects>
</CustomBuild>
</ItemGroup>
<ItemGroup>
<None Include="CMakeFiles\intrinsics_gen" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(ProjDir)../../../../llvm_build/ZERO_CHECK.vcxproj">
<Project>F657D95D-4514-49A3-A0BE-D73580846B47</Project>
</ProjectReference>
<ProjectReference Include="$(ProjDir)../../../../llvm_build/utils/TableGen/llvm-tblgen.vcxproj">
<Project>530CB1CA-0D5D-4D1C-AE8A-F6E2438DB511</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" />
</ImportGroup>
</Project>

View file

@ -0,0 +1,22 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
<ItemGroup>
<CustomBuild Include="$(ProjDir)..\..\..\..\llvm\include\llvm\IR\CMakeLists.txt" />
<CustomBuild Include="..\..\..\CMakeFiles\43444065875149dfe37439390dbe0cfd\Intrinsics.gen.tmp.rule">
<Filter>CMake Rules</Filter>
</CustomBuild>
<CustomBuild Include="..\..\..\CMakeFiles\43444065875149dfe37439390dbe0cfd\Intrinsics.gen.rule">
<Filter>CMake Rules</Filter>
</CustomBuild>
<CustomBuild Include="..\..\..\CMakeFiles\b72362b694f6c40fe24baa03116420e5\intrinsics_gen.rule">
<Filter>CMake Rules</Filter>
</CustomBuild>
</ItemGroup>
<ItemGroup>
<None Include="CMakeFiles\intrinsics_gen" />
</ItemGroup>
<ItemGroup>
<Filter Include="CMake Rules">
<UniqueIdentifier>{D67C7D72-C25D-412B-A18E-3E0785D9470F}</UniqueIdentifier>
</Filter>
</ItemGroup>
</Project>

View file

@ -0,0 +1,129 @@
/*===-- include/Support/DataTypes.h - Define fixed size types -----*- C -*-===*\
|* *|
|* The LLVM Compiler Infrastructure *|
|* *|
|* This file is distributed under the University of Illinois Open Source *|
|* License. See LICENSE.TXT for details. *|
|* *|
|*===----------------------------------------------------------------------===*|
|* *|
|* This file contains definitions to figure out the size of _HOST_ data types.*|
|* This file is important because different host OS's define different macros,*|
|* which makes portability tough. This file exports the following *|
|* definitions: *|
|* *|
|* [u]int(32|64)_t : typedefs for signed and unsigned 32/64 bit system types*|
|* [U]INT(8|16|32|64)_(MIN|MAX) : Constants for the min and max values. *|
|* *|
|* No library is required when using these functions. *|
|* *|
|*===----------------------------------------------------------------------===*/
/* Please leave this file C-compatible. */
/* Please keep this file in sync with DataTypes.h.in */
#ifndef SUPPORT_DATATYPES_H
#define SUPPORT_DATATYPES_H
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UINT64_T 1
/* #undef HAVE_U_INT64_T */
#ifdef __cplusplus
#include <cmath>
#else
#include <math.h>
#endif
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
#error "Compiler must provide an implementation of stdint.h"
#endif
#ifndef _MSC_VER
/* Note that this header's correct operation depends on __STDC_LIMIT_MACROS
being defined. We would define it here, but in order to prevent Bad Things
happening when system headers or C++ STL headers include stdint.h before we
define it here, we define it on the g++ command line (in Makefile.rules). */
#if !defined(__STDC_LIMIT_MACROS)
# error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
#endif
#if !defined(__STDC_CONSTANT_MACROS)
# error "Must #define __STDC_CONSTANT_MACROS before " \
"#including Support/DataTypes.h"
#endif
/* Note that <inttypes.h> includes <stdint.h>, if this is a C99 system. */
#include <sys/types.h>
#ifdef _AIX
#include "llvm/Support/AIXDataTypesFix.h"
#endif
/* Handle incorrect definition of uint64_t as u_int64_t */
#ifndef HAVE_UINT64_T
#ifdef HAVE_U_INT64_T
typedef u_int64_t uint64_t;
#else
# error "Don't have a definition for uint64_t on this platform"
#endif
#endif
#else /* _MSC_VER */
#include <stdlib.h>
#include <stddef.h>
#include <sys/types.h>
#ifdef __cplusplus
#include <cmath>
#else
#include <math.h>
#endif
#if defined(_WIN64)
typedef signed __int64 ssize_t;
#else
typedef signed int ssize_t;
#endif /* _WIN64 */
#ifndef HAVE_INTTYPES_H
#define PRId64 "I64d"
#define PRIi64 "I64i"
#define PRIo64 "I64o"
#define PRIu64 "I64u"
#define PRIx64 "I64x"
#define PRIX64 "I64X"
#endif /* HAVE_INTTYPES_H */
#endif /* _MSC_VER */
/* Set defaults for constants which we cannot find. */
#if !defined(INT64_MAX)
# define INT64_MAX 9223372036854775807LL
#endif
#if !defined(INT64_MIN)
# define INT64_MIN ((-INT64_MAX)-1)
#endif
#if !defined(UINT64_MAX)
# define UINT64_MAX 0xffffffffffffffffULL
#endif
#if __GNUC__ > 3
#define END_WITH_NULL __attribute__((sentinel))
#else
#define END_WITH_NULL
#endif
#ifndef HUGE_VALF
#define HUGE_VALF (float)HUGE_VAL
#endif
#endif /* SUPPORT_DATATYPES_H */

View file

@ -0,0 +1,5 @@
// This is copied into the build area for a $src != $build compilation.
module LLVM_Support_DataTypes {
header "Support/DataTypes.h"
export *
}