aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar/SimplifyLibCalls.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* Move OptChkCall off LibCallOptimization into StrCpyOpt.Evan Cheng2010-03-241-7/+6
* Teach simplify libcall to transform __strcpy_chk to __memcpy_chk to enable op...Evan Cheng2010-03-231-5/+20
* str[r]chr returns its pointer argument so we cannot mark it as nocapture. Tha...Benjamin Kramer2010-03-161-1/+0
* Mark str[r]chr readonly.Benjamin Kramer2010-03-161-1/+10
* Migrate _chk call lowering from SimplifyLibCalls to InstCombine. StubEric Christopher2010-03-061-134/+0
* Move SimplifyLibCalls's LibCall builders to a separate file so theyEric Christopher2010-03-051-386/+33