llvm-general 3.4.2.1 → 3.4.2.2
raw patch · 2 files changed
+335/−5 lines, 2 filesdep ~llvm-generaldep ~llvm-general-pure
Dependency ranges changed: llvm-general, llvm-general-pure
Files
- llvm-general.cabal +12/−5
- src/LLVM/General/Internal/FFI/LibFunc.h +323/−0
llvm-general.cabal view
@@ -1,5 +1,5 @@ name: llvm-general-version: 3.4.2.1+version: 3.4.2.2 license: BSD3 license-file: LICENSE author: Benjamin S.Scarlet <fgthb0@greynode.net>@@ -16,7 +16,7 @@ handles almost all of the stateful complexities of using the LLVM API to build IR; and it supports moving IR not only from Haskell into LLVM C++ objects, but the other direction - from LLVM C++ into Haskell. .- For haddock, see <http://bscarlet.github.io/llvm-general/3.4.2.1/doc/html/llvm-general/index.html>.+ For haddock, see <http://bscarlet.github.io/llvm-general/3.4.2.2/doc/html/llvm-general/index.html>. extra-source-files: src/LLVM/General/Internal/FFI/Analysis.h src/LLVM/General/Internal/FFI/Constant.h@@ -24,6 +24,7 @@ src/LLVM/General/Internal/FFI/GlobalValue.h src/LLVM/General/Internal/FFI/InlineAssembly.h src/LLVM/General/Internal/FFI/Instruction.h+ src/LLVM/General/Internal/FFI/LibFunc.h src/LLVM/General/Internal/FFI/Module.h src/LLVM/General/Internal/FFI/SMDiagnostic.h src/LLVM/General/Internal/FFI/Target.h@@ -34,6 +35,12 @@ type: git location: git://github.com/bscarlet/llvm-general.git +source-repository this+ type: git+ location: git://github.com/bscarlet/llvm-general.git+ branch: llvm-3.4+ tag: v3.4.2.2+ flag shared-llvm description: link against llvm shared rather than static library default: False@@ -56,7 +63,7 @@ parsec >= 3.1.3, array >= 0.4.0.0, setenv >= 0.1.0,- llvm-general-pure == 3.4.2.1+ llvm-general-pure == 3.4.2.2 extra-libraries: stdc++ hs-source-dirs: src extensions:@@ -190,8 +197,8 @@ HUnit >= 1.2.4.2, test-framework-quickcheck2 >= 0.3.0.1, QuickCheck >= 2.5.1.1,- llvm-general == 3.4.2.1,- llvm-general-pure == 3.4.2.1,+ llvm-general == 3.4.2.2,+ llvm-general-pure == 3.4.2.2, containers >= 0.4.2.1, mtl >= 2.0.1.0 hs-source-dirs: test
+ src/LLVM/General/Internal/FFI/LibFunc.h view
@@ -0,0 +1,323 @@+#ifndef __LLVM_GENERAL_INTERNAL_FFI__LIB_FUNC__H__+#define __LLVM_GENERAL_INTERNAL_FFI__LIB_FUNC__H__++#define LLVM_GENERAL_FOR_EACH_LIB_FUNC(macro) \+ macro(under_IO_getc) \+ macro(under_IO_putc) \+ macro(ZdaPv) \+ macro(ZdaPvRKSt9nothrow_t) \+ macro(ZdlPv) \+ macro(ZdlPvRKSt9nothrow_t) \+ macro(Znaj) \+ macro(ZnajRKSt9nothrow_t) \+ macro(Znam) \+ macro(ZnamRKSt9nothrow_t) \+ macro(Znwj) \+ macro(ZnwjRKSt9nothrow_t) \+ macro(Znwm) \+ macro(ZnwmRKSt9nothrow_t) \+ macro(cospi) \+ macro(cospif) \+ macro(cxa_atexit) \+ macro(cxa_guard_abort) \+ macro(cxa_guard_acquire) \+ macro(cxa_guard_release) \+ macro(dunder_isoc99_scanf) \+ macro(dunder_isoc99_sscanf) \+ macro(memcpy_chk) \+ macro(sincospi_stret) \+ macro(sincospi_stretf) \+ macro(sinpi) \+ macro(sinpif) \+ macro(sqrt_finite) \+ macro(sqrtf_finite) \+ macro(sqrtl_finite) \+ macro(dunder_strdup) \+ macro(dunder_strndup) \+ macro(dunder_strtok_r) \+ macro(abs) \+ macro(access) \+ macro(acos) \+ macro(acosf) \+ macro(acosh) \+ macro(acoshf) \+ macro(acoshl) \+ macro(acosl) \+ macro(asin) \+ macro(asinf) \+ macro(asinh) \+ macro(asinhf) \+ macro(asinhl) \+ macro(asinl) \+ macro(atan) \+ macro(atan2) \+ macro(atan2f) \+ macro(atan2l) \+ macro(atanf) \+ macro(atanh) \+ macro(atanhf) \+ macro(atanhl) \+ macro(atanl) \+ macro(atof) \+ macro(atoi) \+ macro(atol) \+ macro(atoll) \+ macro(bcmp) \+ macro(bcopy) \+ macro(bzero) \+ macro(calloc) \+ macro(cbrt) \+ macro(cbrtf) \+ macro(cbrtl) \+ macro(ceil) \+ macro(ceilf) \+ macro(ceill) \+ macro(chmod) \+ macro(chown) \+ macro(clearerr) \+ macro(closedir) \+ macro(copysign) \+ macro(copysignf) \+ macro(copysignl) \+ macro(cos) \+ macro(cosf) \+ macro(cosh) \+ macro(coshf) \+ macro(coshl) \+ macro(cosl) \+ macro(ctermid) \+ macro(exp) \+ macro(exp10) \+ macro(exp10f) \+ macro(exp10l) \+ macro(exp2) \+ macro(exp2f) \+ macro(exp2l) \+ macro(expf) \+ macro(expl) \+ macro(expm1) \+ macro(expm1f) \+ macro(expm1l) \+ macro(fabs) \+ macro(fabsf) \+ macro(fabsl) \+ macro(fclose) \+ macro(fdopen) \+ macro(feof) \+ macro(ferror) \+ macro(fflush) \+ macro(ffs) \+ macro(ffsl) \+ macro(ffsll) \+ macro(fgetc) \+ macro(fgetpos) \+ macro(fgets) \+ macro(fileno) \+ macro(fiprintf) \+ macro(flockfile) \+ macro(floor) \+ macro(floorf) \+ macro(floorl) \+ macro(fmod) \+ macro(fmodf) \+ macro(fmodl) \+ macro(fopen) \+ macro(fopen64) \+ macro(fprintf) \+ macro(fputc) \+ macro(fputs) \+ macro(fread) \+ macro(free) \+ macro(frexp) \+ macro(frexpf) \+ macro(frexpl) \+ macro(fscanf) \+ macro(fseek) \+ macro(fseeko) \+ macro(fseeko64) \+ macro(fsetpos) \+ macro(fstat) \+ macro(fstat64) \+ macro(fstatvfs) \+ macro(fstatvfs64) \+ macro(ftell) \+ macro(ftello) \+ macro(ftello64) \+ macro(ftrylockfile) \+ macro(funlockfile) \+ macro(fwrite) \+ macro(getc) \+ macro(getc_unlocked) \+ macro(getchar) \+ macro(getenv) \+ macro(getitimer) \+ macro(getlogin_r) \+ macro(getpwnam) \+ macro(gets) \+ macro(gettimeofday) \+ macro(htonl) \+ macro(htons) \+ macro(iprintf) \+ macro(isascii) \+ macro(isdigit) \+ macro(labs) \+ macro(lchown) \+ macro(llabs) \+ macro(log) \+ macro(log10) \+ macro(log10f) \+ macro(log10l) \+ macro(log1p) \+ macro(log1pf) \+ macro(log1pl) \+ macro(log2) \+ macro(log2f) \+ macro(log2l) \+ macro(logb) \+ macro(logbf) \+ macro(logbl) \+ macro(logf) \+ macro(logl) \+ macro(lstat) \+ macro(lstat64) \+ macro(malloc) \+ macro(memalign) \+ macro(memccpy) \+ macro(memchr) \+ macro(memcmp) \+ macro(memcpy) \+ macro(memmove) \+ macro(memrchr) \+ macro(memset) \+ macro(memset_pattern16) \+ macro(mkdir) \+ macro(mktime) \+ macro(modf) \+ macro(modff) \+ macro(modfl) \+ macro(nearbyint) \+ macro(nearbyintf) \+ macro(nearbyintl) \+ macro(ntohl) \+ macro(ntohs) \+ macro(open) \+ macro(open64) \+ macro(opendir) \+ macro(pclose) \+ macro(perror) \+ macro(popen) \+ macro(posix_memalign) \+ macro(pow) \+ macro(powf) \+ macro(powl) \+ macro(pread) \+ macro(printf) \+ macro(putc) \+ macro(putchar) \+ macro(puts) \+ macro(pwrite) \+ macro(qsort) \+ macro(read) \+ macro(readlink) \+ macro(realloc) \+ macro(reallocf) \+ macro(realpath) \+ macro(remove) \+ macro(rename) \+ macro(rewind) \+ macro(rint) \+ macro(rintf) \+ macro(rintl) \+ macro(rmdir) \+ macro(round) \+ macro(roundf) \+ macro(roundl) \+ macro(scanf) \+ macro(setbuf) \+ macro(setitimer) \+ macro(setvbuf) \+ macro(sin) \+ macro(sinf) \+ macro(sinh) \+ macro(sinhf) \+ macro(sinhl) \+ macro(sinl) \+ macro(siprintf) \+ macro(snprintf) \+ macro(sprintf) \+ macro(sqrt) \+ macro(sqrtf) \+ macro(sqrtl) \+ macro(sscanf) \+ macro(stat) \+ macro(stat64) \+ macro(statvfs) \+ macro(statvfs64) \+ macro(stpcpy) \+ macro(stpncpy) \+ macro(strcasecmp) \+ macro(strcat) \+ macro(strchr) \+ macro(strcmp) \+ macro(strcoll) \+ macro(strcpy) \+ macro(strcspn) \+ macro(strdup) \+ macro(strlen) \+ macro(strncasecmp) \+ macro(strncat) \+ macro(strncmp) \+ macro(strncpy) \+ macro(strndup) \+ macro(strnlen) \+ macro(strpbrk) \+ macro(strrchr) \+ macro(strspn) \+ macro(strstr) \+ macro(strtod) \+ macro(strtof) \+ macro(strtok) \+ macro(strtok_r) \+ macro(strtol) \+ macro(strtold) \+ macro(strtoll) \+ macro(strtoul) \+ macro(strtoull) \+ macro(strxfrm) \+ macro(system) \+ macro(tan) \+ macro(tanf) \+ macro(tanh) \+ macro(tanhf) \+ macro(tanhl) \+ macro(tanl) \+ macro(times) \+ macro(tmpfile) \+ macro(tmpfile64) \+ macro(toascii) \+ macro(trunc) \+ macro(truncf) \+ macro(truncl) \+ macro(uname) \+ macro(ungetc) \+ macro(unlink) \+ macro(unsetenv) \+ macro(utime) \+ macro(utimes) \+ macro(valloc) \+ macro(vfprintf) \+ macro(vfscanf) \+ macro(vprintf) \+ macro(vscanf) \+ macro(vsnprintf) \+ macro(vsprintf) \+ macro(vsscanf) \+ macro(write)++typedef enum {+#define ENUM_CASE(x) LLVMLibFunc__ ## x,+LLVM_GENERAL_FOR_EACH_LIB_FUNC(ENUM_CASE)+#undef ENUM_CASE+} LLVMLibFunc;++#endif