summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* Fix a comment.Dan Gohman2010-08-041-1/+1
* mass elimination of reliance on automatic iterator dereferencingGabor Greif2010-07-221-1/+1
* undo 80 column trespassing I causedGabor Greif2010-07-221-8/+9
* Fix batch of converting RegisterPass<> to INTIALIZE_PASS().Owen Anderson2010-07-211-2/+2
* Detabify this file.Nick Lewycky2010-07-061-7/+7
* use ArgOperand APIGabor Greif2010-06-301-10/+12
* use ArgOperand APIGabor Greif2010-06-241-75/+75
* Make sure that simplify libcalls does not replace a call with one callingRafael Espindola2010-06-161-0/+5
* simplify-libcalls: fold strncmp(x, y, 1) -> memcmp(x, y, 1)Benjamin Kramer2010-06-161-0/+3
* simplify-libcalls: fold strstr(a, b) == a -> strncmp(a, b, strlen(b)) == 0Benjamin Kramer2010-06-151-0/+31
* Kill unneeded SExt.Benjamin Kramer2010-05-261-1/+1
* Properly promote operands when optimizing a single-character memcmp.Benjamin Kramer2010-05-251-3/+6
* Revert 101465, it broke internal OpenGL testing.Eric Christopher2010-04-161-75/+75
* reapply r101434Gabor Greif2010-04-161-75/+75
* back out r101423 and r101397, they break llvm-gcc self-host on darwin10Gabor Greif2010-04-161-75/+75
* reapply r101364, which has been backed out in r101368Gabor Greif2010-04-151-75/+75
* back out r101364, as it trips the linux nightlybot on some clang C++ testsGabor Greif2010-04-151-75/+75
* rotate CallInst operands, i.e. move callee to the backGabor Greif2010-04-151-75/+75
* Reapply address space patch after fixing an issue in MemCopyOptimizer.Mon P Wang2010-04-041-13/+16
* Revert r100191 since it breaks objc in clang Mon P Wang2010-04-021-16/+13
* Reapply address space patch after fixing an issue in MemCopyOptimizer.Mon P Wang2010-04-021-13/+16
* Revert Mon Ping's change 99928, since it broke all the llvm-gcc buildbots.Bob Wilson2010-03-301-16/+13
* Added support for address spaces and added a isVolatile field to memcpy, memm...Mon P Wang2010-03-301-13/+16
OpenPOWER on IntegriCloud