Displaying 7 results from an estimated 7 matches for "have_floorf".
2011 Feb 13
0
[LLVMdev] Implementing platform specific library call simplification
...n and the pass constructor. Then clang (or whatever is setting up the pass manager) can query the appropriate target info to pass down this flag.
Longer term, I'd like to introduce a simple interface (via TargetRegistry) for exposing target libcall info. This would be useful to eliminate the HAVE_FLOORF etc #defines in simplifylibcalls, which break cross compilation.
-Chris
2011 Feb 02
3
[LLVMdev] Implementing platform specific library call simplification
The newlib C library provides iprintf(), a restricted version of printf
without support for floating-point formatting. I'd like to add an
optimization which turns calls to printf() into calls to iprintf() if
the format string has no floating point specifiers.
At the moment I've got this working locally by adding code to the
simplify-libcalls pass. However this will break on targets
2011 Feb 24
3
[LLVMdev] Implementing platform specific library call simplification
...pass constructor. Then clang (or whatever is setting up the pass manager) can query the appropriate target info to pass down this flag.
>
> Longer term, I'd like to introduce a simple interface (via TargetRegistry) for exposing target libcall info. This would be useful to eliminate the HAVE_FLOORF etc #defines in simplifylibcalls, which break cross compilation.
Hi Richard,
Just to close the loop on this, I went ahead and added a new llvm/Target/TargetLibraryInfo.h and added it to simplifylibcalls. TargetLibraryInfo doesn't handle all the libcalls that SimplifyLibCalls handles yet, but...
2008 Nov 12
0
[LLVMdev] [PATCH] Enable malloc_zone_statistics() in Mac OS X (cmake)
...diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index b8be58e..1f178c7 100755
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -49,6 +49,7 @@ check_symbol_exists(isnan math.h HAVE_ISNAN_IN_MATH_H)
check_symbol_exists(ceilf math.h HAVE_CEILF)
check_symbol_exists(floorf math.h HAVE_FLOORF)
check_symbol_exists(mallinfo malloc.h HAVE_MALLINFO)
+check_symbol_exists(malloc_zone_statistics malloc/malloc.h HAVE_MALLOC_ZONE_STATISTICS)
check_symbol_exists(pthread_mutex_lock pthread.h HAVE_PTHREAD_MUTEX_LOCK)
check_symbol_exists(strtoll stdlib.h HAVE_STRTOLL)
diff --git a/include/llvm/...
2011 Feb 24
0
[LLVMdev] Implementing platform specific library call simplification
...nt out a string with -debug-pass=Arguments that can be fed into
opt or bugpoint to reproduce the same behavior.
My 4 cents.
-- John T.
>> Longer term, I'd like to introduce a simple interface (via TargetRegistry) for exposing target libcall info. This would be useful to eliminate the HAVE_FLOORF etc #defines in simplifylibcalls, which break cross compilation.
> Hi Richard,
>
> Just to close the loop on this, I went ahead and added a new llvm/Target/TargetLibraryInfo.h and added it to simplifylibcalls. TargetLibraryInfo doesn't handle all the libcalls that SimplifyLibCalls han...
2017 Feb 11
2
Asan self host problems: Failed to deallocate
Trying to run a self host "ninja check-clang" with ASan enabled I hit a
/lot/ of errors like this (strangely I hit none of these in check-llvm,
only in check-clang):
Any ideas?
==10525==ERROR: AddressSanitizer failed to deallocate 0x10800 (67584) bytes
at address 0x631000014800
==10525==AddressSanitizer CHECK failed:
2017 Feb 15
2
Asan self host problems: Failed to deallocate
...NTERNAL=1
//Have symbol exp10
HAVE_EXP10:INTERNAL=
//Have symbol exp2
HAVE_EXP2:INTERNAL=1
//Have include fcntl.h
HAVE_FCNTL_H:INTERNAL=1
//Is fdp available ?
HAVE_FDP:INTERNAL=1
//Have include fenv.h
HAVE_FENV_H:INTERNAL=1
//Have symbol finite
HAVE_FINITE_IN_IEEEFP_H:INTERNAL=
//Have symbol floorf
HAVE_FLOORF:INTERNAL=1
//Have symbol fmodf
HAVE_FMODF:INTERNAL=1
//Have symbol futimens
HAVE_FUTIMENS:INTERNAL=1
//Have symbol futimes
HAVE_FUTIMES:INTERNAL=1
//Have symbol getcwd
HAVE_GETCWD:INTERNAL=1
//Have symbol getpagesize
HAVE_GETPAGESIZE:INTERNAL=1
//Have symbol getrlimit
HAVE_GETRLIMIT:INTERNAL=1
//Ha...