aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar/SimplifyLibCalls.cpp
Commit message (Expand)AuthorAgeFilesLines
* SimplifyLibCalls: Give all safely-shrinkable libcalls the same treatment.Benjamin Kramer2012-08-221-5/+5
* Add a few float shrinking optimizations to SimplifyLibCalls. UnsafeChad Rosier2012-08-221-36/+99
* Add a new helper function, AddOpt(F1, F1, Opt), as part of PR13574. NoChad Rosier2012-08-221-14/+15
* SimplifyLibcalls: Add fabs and trunc to the list of libcalls that are safe to...Benjamin Kramer2012-08-181-0/+4
* do null checks for a few more Emit*() functions.Nuno Lopes2012-07-261-17/+15
* make all Emit*() functions consult the TargetLibraryInfo information before c...Nuno Lopes2012-07-251-40/+50
* Clean whitespaces.Nadav Rotem2012-07-241-5/+5
* Move llvm/Support/IRBuilder.h -> llvm/IRBuilder.hChandler Carruth2012-06-291-6/+6
* revert my previous commit (r159173), since as Eli pointed out, it's perfectly...Nuno Lopes2012-06-251-0/+1
* do not set realloc() as NotAlias, since it can return the same pointer. This ...Nuno Lopes2012-06-251-1/+0
* Teach SimplifyLibCalls about stpcpy.David Majnemer2012-05-151-7/+54
* fix pr12559: mark unavailable win32 math libcallsJoe Groff2012-04-171-15/+10
* reapply the patches reverted in r149470 that reenable ConstantDataArray,Chris Lattner2012-02-051-56/+60
* Revert Chris' commits up to r149348 that started causing VMCoreTests unit tes...Argyrios Kyrtzidis2012-02-011-60/+56
* eliminate the last uses of GetConstantStringInfo from this file, I didn't rea...Chris Lattner2012-01-311-7/+7
* start moving SimplifyLibcalls over to getConstantStringInfo, which isChris Lattner2012-01-311-49/+53
* Turn cos(-x) into cos(x). Patch by Alexander Malyshev!Nick Lewycky2011-12-271-5/+27
* Only replace fwrite with fputc, if the return value is unused.Joerg Sonnenberger2011-12-121-1/+2
* Switch llvm.cttz and llvm.ctlz to accept a second i1 parameter whichChandler Carruth2011-12-121-1/+1
* Add support for custom names for library functions in TargetLibraryInfo. Add...Eli Friedman2011-11-171-7/+13
* StringRefize and simplify.Benjamin Kramer2011-11-151-2/+1
* SimplifyLibCalls: Use IRBuilder.CreateGlobalString when creating a string for...Benjamin Kramer2011-10-291-4/+2
* PR11061: Make simplifylibcalls fold strcmp("", x) correctly.Eli Friedman2011-10-051-13/+18
* Stop emitting instructions with the name "tmp" they eat up memory and have to...Benjamin Kramer2011-09-271-7/+7
* land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner2011-07-181-33/+33
* Change Intrinsic::getDeclaration and friends to take an ArrayRef.Benjamin Kramer2011-07-141-1/+1
* Second attempt at de-constifying LLVM Types in FunctionType::get(),Jay Foad2011-07-121-1/+1
* Revert r134893 and r134888 (and related patches in other trees). It was causingBill Wendling2011-07-121-1/+1
* De-constify Types in FunctionType::get().Jay Foad2011-07-111-1/+1
* Preserve line number information while simplifying libcalls.Devang Patel2011-03-091-0/+3
* Fix typo in comment.Richard Osborne2011-03-031-1/+1
* Optimize fprintf -> iprintf if there are no floating point argumentsRichard Osborne2011-03-031-8/+28
* Optimize sprintf -> siprintf if there are no floating point argumentsRichard Osborne2011-03-031-8/+28
* Optimize printf -> iprintf if there are no floating point argumentsRichard Osborne2011-03-031-10/+42
* wire TargetLibraryInfo into simplify libcalls and use it in a couple ofChris Lattner2011-02-241-7/+17
* move a massive amount of code out into its own helper functionChris Lattner2011-02-241-676/+643
* SimplifyLibCalls: Add missing legalize check on various printf to puts andDaniel Dunbar2011-02-121-5/+9
* SimplifyLibCalls: Use IRBuilder to simplify code.Benjamin Kramer2010-12-271-67/+48
* Revert r64460. strtol and friends cannot be marked readonly, even withDan Gohman2010-12-171-1/+2
* Add a puts optimization that converts puts() to putchar('\n').Anders Carlsson2010-11-301-3/+30
* Get rid of static constructors for pass registration. Instead, every pass ex...Owen Anderson2010-10-191-1/+3
* Now with fewer extraneous semicolons!Owen Anderson2010-10-071-1/+1
* Tighten up prototype verification of strchr and strrchr to avoid a crash in t...Benjamin Kramer2010-09-301-2/+4
* Add constant folding for strspn and strcspn to SimplifyLibCalls.Benjamin Kramer2010-09-301-9/+64
* Add strpbrk folding to SimplifyLibCalls.Benjamin Kramer2010-09-291-7/+42
* Simplify the loop in StrChrOptimizer. FileCheckize test.Benjamin Kramer2010-09-291-11/+4
* Teach SimplifyLibCalls how to optimize strrchr.Benjamin Kramer2010-09-291-6/+44
* Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson2010-08-061-1/+1
* Revert r110396 to fix buildbots.Owen Anderson2010-08-061-1/+1
* Don't use PassInfo* as a type identifier for passes. Instead, use the addres...Owen Anderson2010-08-051-1/+1