aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
AgeCommit message (Expand)AuthorFilesLines
2014-12-03correct spelling, NFCMatthias Braun1-3/+3
2014-12-03[SimplifyLibCalls] Improve double->float shrinking to consider constantsMatthias Braun1-14/+33
2014-12-03[SimplifyLibCalls] Enable double to float shrinking for copysignMatthias Braun1-0/+1
2014-11-13Use nullptr instead of NULL for variadic sentinelsReid Kleckner1-6/+6
2014-11-12Add fortified (__*_chk) library functions to TLI (NFC)Ahmed Bougacha1-17/+9
2014-10-23Handle sqrt() shrinking in SimplifyLibCalls like any other callSanjay Patel1-5/+14
2014-10-22Shrinkify libcalls: use float versions of double libm functions with fast-mat...Sanjay Patel1-3/+23
2014-10-16fold: sqrt(x * x * y) -> fabs(x) * sqrt(y)Sanjay Patel1-1/+87
2014-10-14Optimize away fabs() calls when input is squared (known positive).Sanjay Patel1-1/+30
2014-09-17Fixing a build error.Chris Bieneman1-1/+1
2014-09-17Refactoring SimplifyLibCalls to remove static initializers and generally clea...Chris Bieneman1-1878/+1643
2014-05-22Add support for missed and analysis optimization remarks.Diego Novillo1-3/+4
2014-05-02Fold strlen(expr ? "str1" : "str2") to x ? len1 : len2. This fires about 330 ...Nick Lewycky1-0/+15
2014-04-25[C++] Use 'nullptr'. Transforms edition.Craig Topper1-150/+150
2014-03-09[C++11] Add range based accessors for the Use-Def chain of a Value.Chandler Carruth1-17/+11
2014-03-05[C++11] Add 'override' keyword to virtual methods that override their base cl...Craig Topper1-46/+90
2014-02-21Rename many DataLayout variables from TD to DL.Rafael Espindola1-85/+85
2014-02-04SimplifyLibCalls: Push TLI through the exp2->ldexp transform.Benjamin Kramer1-29/+29
2014-02-04OS X: the correct function is __sincospif_stret, not __sincospi_stretfTim Northover1-2/+2
2014-02-04Add strchr(p, 0) -> p + strlen(p) to SimplifyLibCallsKai Nacke1-3/+4
2013-12-16Enable double to float shrinking optimizations for binary functions like 'fmi...Yi Jiang1-0/+49
2013-12-12Resubmit r196544: Apply transformation on OS X 10.9+ and iOS 7.0+: pow(10, x)...Yi Jiang1-0/+6
2013-12-08Revert 196544 due to internal bot failures.Manman Ren1-6/+0
2013-12-05Apply transformation on OS X 10.9+ and iOS 7.0+: pow(10, x) ―> __exp10(x)Yi Jiang1-0/+6
2013-11-17Add the cold attribute to error-reporting call sitesHal Finkel1-0/+72
2013-11-10Use type form of getIntPtrType.Matt Arsenault1-1/+1
2013-11-03Convert calls to __sinpi and __cospi into __sincospi_stretBob Wilson1-0/+156
2013-09-10Use StringRef::npos for StringRef instead of std::string oneMatt Arsenault1-3/+3
2013-08-31SimplifyLibCalls: When emitting an overloaded fp function check that it's ava...Benjamin Kramer1-3/+23
2013-08-21No functionality change.Yunzhong Gao1-2/+2
2013-08-19Adds missing TLI check for library simplification ofMichael Kuperstein1-3/+6
2013-08-15Fixing a corner-case bug in strchr and strrchr lib call optimizations whereYunzhong Gao1-2/+2
2013-06-27Added support for the Builtin attribute.Michael Gottesman1-1/+1
2013-06-20Remove the simplify-libcalls pass (finally)Meador Inge1-0/+50
2013-04-17Do not optimise fprintf() calls if its return value is used.Peter Collingbourne1-9/+12
2013-03-12LibCallSimplifier: optimize speed for short-lived instancesMeador Inge1-177/+225
2013-03-02Modify {Call,Invoke}Inst::addAttribute to take an AttrKind.Peter Collingbourne1-2/+1
2013-02-27For each function that we optimize we initialize a new list of lib functions....Nadav Rotem1-1/+2
2013-02-22Implement the NoBuiltin attribute.Bill Wendling1-0/+1
2013-02-19Temporarily revert r175470 for more review.Bill Wendling1-3/+0
2013-02-18Check to see if the 'no-builtin' attribute is set before simplifying a librar...Bill Wendling1-0/+3
2013-02-08[SimplifyLibCalls] Library call simplification doen't work if the call site Chad Rosier1-1/+7
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth1-6/+6
2012-12-19Rename the 'Attributes' class to 'Attribute'. It's going to represent a singl...Bill Wendling1-2/+2
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth1-2/+2
2012-11-29instcombine: Migrate puts optimizationsMeador Inge1-0/+27
2012-11-29instcombine: Migrate fputs optimizationsMeador Inge1-0/+24
2012-11-29instcombine: Migrate fwrite optimizationsMeador Inge1-0/+35
2012-11-29instcombine: Migrate fprintf optimizationsMeador Inge1-0/+77
2012-11-27instcombine: Migrate sprintf optimizationsMeador Inge1-0/+95