aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/SimplifyLibCalls.cpp
AgeCommit message (Expand)Author
2012-04-17fix pr12559: mark unavailable win32 math libcallsJoe Groff
2012-02-05reapply the patches reverted in r149470 that reenable ConstantDataArray,Chris Lattner
2012-02-01Revert Chris' commits up to r149348 that started causing VMCoreTests unit tes...Argyrios Kyrtzidis
2012-01-31eliminate the last uses of GetConstantStringInfo from this file, I didn't rea...Chris Lattner
2012-01-31start moving SimplifyLibcalls over to getConstantStringInfo, which isChris Lattner
2011-12-27Turn cos(-x) into cos(x). Patch by Alexander Malyshev!Nick Lewycky
2011-12-12Only replace fwrite with fputc, if the return value is unused.Joerg Sonnenberger
2011-12-12Switch llvm.cttz and llvm.ctlz to accept a second i1 parameter whichChandler Carruth
2011-11-17Add support for custom names for library functions in TargetLibraryInfo. Add...Eli Friedman
2011-11-15StringRefize and simplify.Benjamin Kramer
2011-10-29SimplifyLibCalls: Use IRBuilder.CreateGlobalString when creating a string for...Benjamin Kramer
2011-10-05PR11061: Make simplifylibcalls fold strcmp("", x) correctly.Eli Friedman
2011-09-27Stop emitting instructions with the name "tmp" they eat up memory and have to...Benjamin Kramer
2011-07-18land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner
2011-07-14Change Intrinsic::getDeclaration and friends to take an ArrayRef.Benjamin Kramer
2011-07-12Second attempt at de-constifying LLVM Types in FunctionType::get(),Jay Foad
2011-07-12Revert r134893 and r134888 (and related patches in other trees). It was causingBill Wendling
2011-07-11De-constify Types in FunctionType::get().Jay Foad
2011-03-09Preserve line number information while simplifying libcalls.Devang Patel
2011-03-03Fix typo in comment.Richard Osborne
2011-03-03Optimize fprintf -> iprintf if there are no floating point argumentsRichard Osborne
2011-03-03Optimize sprintf -> siprintf if there are no floating point argumentsRichard Osborne
2011-03-03Optimize printf -> iprintf if there are no floating point argumentsRichard Osborne
2011-02-24wire TargetLibraryInfo into simplify libcalls and use it in a couple ofChris Lattner
2011-02-24move a massive amount of code out into its own helper functionChris Lattner
2011-02-12SimplifyLibCalls: Add missing legalize check on various printf to puts andDaniel Dunbar
2010-12-27SimplifyLibCalls: Use IRBuilder to simplify code.Benjamin Kramer
2010-12-17Revert r64460. strtol and friends cannot be marked readonly, even withDan Gohman
2010-11-30Add a puts optimization that converts puts() to putchar('\n').Anders Carlsson
2010-10-19Get rid of static constructors for pass registration. Instead, every pass ex...Owen Anderson
2010-10-07Now with fewer extraneous semicolons!Owen Anderson
2010-09-30Tighten up prototype verification of strchr and strrchr to avoid a crash in t...Benjamin Kramer
2010-09-30Add constant folding for strspn and strcspn to SimplifyLibCalls.Benjamin Kramer
2010-09-29Add strpbrk folding to SimplifyLibCalls.Benjamin Kramer
2010-09-29Simplify the loop in StrChrOptimizer. FileCheckize test.Benjamin Kramer
2010-09-29Teach SimplifyLibCalls how to optimize strrchr.Benjamin Kramer
2010-08-06Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson
2010-08-06Revert r110396 to fix buildbots.Owen Anderson
2010-08-05Don't use PassInfo* as a type identifier for passes. Instead, use the addres...Owen Anderson
2010-08-04Fix a comment.Dan Gohman
2010-07-22mass elimination of reliance on automatic iterator dereferencingGabor Greif
2010-07-22undo 80 column trespassing I causedGabor Greif
2010-07-21Fix batch of converting RegisterPass<> to INTIALIZE_PASS().Owen Anderson
2010-07-06Detabify this file.Nick Lewycky
2010-06-30use ArgOperand APIGabor Greif
2010-06-24use ArgOperand APIGabor Greif
2010-06-16Make sure that simplify libcalls does not replace a call with one callingRafael Espindola
2010-06-16simplify-libcalls: fold strncmp(x, y, 1) -> memcmp(x, y, 1)Benjamin Kramer
2010-06-15simplify-libcalls: fold strstr(a, b) == a -> strncmp(a, b, strlen(b)) == 0Benjamin Kramer
2010-05-26Kill unneeded SExt.Benjamin Kramer