- Nov 10, 2012
-
-
Meador Inge authored
In the process of migrating optimizations from the simplify-libcalls pass to the instcombine pass I noticed that a few functions are missing from the target library information. These functions need to be available for querying in the instcombine library call simplifiers. More functions will probably be added in the future as more simplifiers are migrated to instcombine. llvm-svn: 167659
-
- Aug 29, 2012
-
-
Benjamin Kramer authored
This disables malloc-specific optimization when -fno-builtin (or -ffreestanding) is specified. This has been a problem for a long time but became more severe with the recent memory builtin improvements. Since the memory builtin functions are used everywhere, this required passing TLI in many places. This means that functions that now have an optional TLI argument, like RecursivelyDeleteTriviallyDeadFunctions, won't remove dead mallocs anymore if the TLI argument is missing. I've updated most passes to do the right thing. Fixes PR13694 and probably others. llvm-svn: 162841
-
- Aug 22, 2012
-
-
Chad Rosier authored
Patch by Weiming Zhao <weimingz@codeaurora.org>. llvm-svn: 162329
-
- Aug 03, 2012
-
-
Bob Wilson authored
This just provides a way to look up a LibFunc::Func enum value for a function name. Alphabetize the enums and function names so we can use a binary search. llvm-svn: 161231
-
- Jul 25, 2012
-
-
Nuno Lopes authored
make all Emit*() functions consult the TargetLibraryInfo information before creating a call to a library function. Update all clients to pass the TLI information around. Previous draft reviewed by Eli. llvm-svn: 160733
-
- Jul 24, 2012
-
-
Nuno Lopes authored
fputc, memchr, memcmp, putchar, puts, strchr, strncmp llvm-svn: 160690
-
Nuno Lopes authored
llvm-svn: 160678
-
- Apr 18, 2012
-
-
Joe Groff authored
also fix SimplifyLibCalls to use TLI rather than compile-time conditionals to enable optimizations on floor, ceil, round, rint, and nearbyint llvm-svn: 154960
-
- Feb 12, 2012
-
-
Nick Lewycky authored
to TargetLibraryInfo and use one of them in GlobalOpt. llvm-svn: 150323
-
- Dec 20, 2011
-
-
- Dec 08, 2011
-
-
Owen Anderson authored
Enhance both TargetLibraryInfo and SelectionDAGBuilder so that the latter can use the former to prevent the formation of libm SDNode's when -fno-builtin is passed. llvm-svn: 146193
-
- Dec 01, 2011
-
-
Chad Rosier authored
llvm-svn: 145608
-
-
- Nov 30, 2011
-
-
Chad Rosier authored
llvm-svn: 145508
-
Chad Rosier authored
change intended. llvm-svn: 145468
-
Chad Rosier authored
(fptrunc (sqrt (fpext x))) -> (sqrtf x) transformation if -fno-builtin is specified. rdar://10466410 llvm-svn: 145460
-
- Nov 17, 2011
-
-
Eli Friedman authored
Add support for custom names for library functions in TargetLibraryInfo. Add a custom name for fwrite and fputs on x86-32 OSX. Make SimplifyLibCalls honor the custom names for fwrite and fputs. Fixes <rdar://problem/9815881>. llvm-svn: 144876
-
- Jun 09, 2011
-
-
Duncan Sands authored
Patch by Pekka Jaaskelainen. llvm-svn: 132774
-
- May 21, 2011
-
-
Chris Lattner authored
llvm-svn: 131806
-
- Apr 20, 2011
-
-
Daniel Dunbar authored
triple component. llvm-svn: 129838
-
- Apr 19, 2011
-
-
Daniel Dunbar authored
llvm-svn: 129803
-
- Mar 03, 2011
-
-
Richard Osborne authored
and siprintf is available on the target. llvm-svn: 126940
-
Richard Osborne authored
and siprintf is available on the target. llvm-svn: 126937
-
Richard Osborne authored
and iprintf is available on the target. Currently iprintf is only marked as being available on the XCore. llvm-svn: 126935
-
- Feb 18, 2011
-
-
Chris Lattner authored
llvm-svn: 125978
-
Chris Lattner authored
query about available library functions. For now this just has memset_pattern16, which exists on darwin, but it can be extended for a bunch of other things in the future. llvm-svn: 125965
-