summaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/SimplifyLibCalls.cpp
AgeCommit message (Expand)AuthorFilesLines
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
2012-11-26Fix a comment bug in toascii simplifierMeador Inge1-1/+1
2012-11-26instcombine: Migrate printf optimizationsMeador Inge1-0/+103
2012-11-26instcombine: Migrate toascii optimizationsMeador Inge1-0/+16
2012-11-26instcombine: Migrate isascii optimizationsMeador Inge1-0/+17
2012-11-26instcombine: Migrate isdigit optimizationsMeador Inge1-0/+18
2012-11-26instcombine: Migrate *abs optimizationsMeador Inge1-0/+21
2012-11-25instcombine: Migrate ffs* optimizationsMeador Inge1-0/+46
2012-11-13instcombine: Migrate math library call simplificationsMeador Inge1-3/+262
2012-11-12Normalize memcmp constant folding results.Meador Inge1-1/+8
2012-11-11instcombine: Migrate memset optimizationsMeador Inge1-0/+21
2012-11-11instcombine: Migrate memmove optimizationsMeador Inge1-0/+21
2012-11-11instcombine: Migrate memcpy optimizationsMeador Inge1-0/+21