Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix pr12559: mark unavailable win32 math libcalls | Joe Groff | 2012-04-17 | 1 | -1/+79 |
| | | | | | | also fix SimplifyLibCalls to use TLI rather than compile-time conditionals to enable optimizations on floor, ceil, round, rint, and nearbyint llvm-svn: 154960 | ||||
* | Remove redundant getAnalysis<> calls in GlobalOpt. Add a few Itanium ABI calls | Nick Lewycky | 2012-02-12 | 1 | -1/+5 |
| | | | | | | to TargetLibraryInfo and use one of them in GlobalOpt. llvm-svn: 150323 | ||||
* | Unweaken vtables as per ↵ | David Blaikie | 2011-12-20 | 1 | -0/+2 |
| | | | | | | http://llvm.org/docs/CodingStandards.html#ll_virtual_anch llvm-svn: 146960 | ||||
* | Enhance both TargetLibraryInfo and SelectionDAGBuilder so that the latter ↵ | Owen Anderson | 2011-12-08 | 1 | -1/+13 |
| | | | | | | can use the former to prevent the formation of libm SDNode's when -fno-builtin is passed. llvm-svn: 146193 | ||||
* | Add missing functions. | Chad Rosier | 2011-12-01 | 1 | -1/+4 |
| | | | | llvm-svn: 145608 | ||||
* | Add a few more functions to TargetLibraryInfo. More of rdar://10500969. | Chad Rosier | 2011-12-01 | 1 | -1/+16 |
| | | | | llvm-svn: 145596 | ||||
* | Add a few functions to TargetLibraryInfo. | Chad Rosier | 2011-11-30 | 1 | -2/+50 |
| | | | | llvm-svn: 145508 | ||||
* | Alphabetize TargetLibraryInfo enum and fix doxygen comments. No functional | Chad Rosier | 2011-11-30 | 1 | -6/+6 |
| | | | | | | change intended. llvm-svn: 145468 | ||||
* | Add support for sqrt, sqrtl, and sqrtf in TargetLibraryInfo. Disable | Chad Rosier | 2011-11-29 | 1 | -0/+3 |
| | | | | | | | | (fptrunc (sqrt (fpext x))) -> (sqrtf x) transformation if -fno-builtin is specified. rdar://10466410 llvm-svn: 145460 | ||||
* | Add support for custom names for library functions in TargetLibraryInfo. ↵ | Eli Friedman | 2011-11-17 | 1 | -0/+25 |
| | | | | | | | | | | 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 | ||||
* | Enable printf() to iprintf() optimization for the TCE target. | Duncan Sands | 2011-06-09 | 1 | -2/+2 |
| | | | | | | Patch by Pekka Jaaskelainen. llvm-svn: 132774 | ||||
* | add a copy ctor to TargetLibraryInfo. | Chris Lattner | 2011-05-21 | 1 | -0/+6 |
| | | | | llvm-svn: 131806 | ||||
* | ADT/Triple: Renambe isOSX... methods to isMacOSX for consistency with the OS | Daniel Dunbar | 2011-04-20 | 1 | -2/+2 |
| | | | | | | triple component. llvm-svn: 129838 | ||||
* | Target: Eliminate a use of getDarwinMajorNumber(). | Daniel Dunbar | 2011-04-19 | 1 | -1/+8 |
| | | | | llvm-svn: 129803 | ||||
* | Optimize fprintf -> iprintf if there are no floating point arguments | Richard Osborne | 2011-03-03 | 1 | -0/+1 |
| | | | | | | and siprintf is available on the target. llvm-svn: 126940 | ||||
* | Optimize sprintf -> siprintf if there are no floating point arguments | Richard Osborne | 2011-03-03 | 1 | -2/+4 |
| | | | | | | and siprintf is available on the target. llvm-svn: 126937 | ||||
* | Optimize printf -> iprintf if there are no floating point arguments | Richard Osborne | 2011-03-03 | 1 | -1/+4 |
| | | | | | | | and iprintf is available on the target. Currently iprintf is only marked as being available on the XCore. llvm-svn: 126935 | ||||
* | add a way to disable all builtins, wire it up to opt's ↵ | Chris Lattner | 2011-02-18 | 1 | -0/+6 |
| | | | | | | -disable-simplifylibcalls flag. llvm-svn: 125978 | ||||
* | introduce a new TargetLibraryInfo pass, which transformations can use to | Chris Lattner | 2011-02-18 | 1 | -0/+49 |
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 |