aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/SimplifyLibCalls
Commit message (Expand)AuthorAgeFilesLines
* Revert r64460. strtol and friends cannot be marked readonly, even withDan Gohman2010-12-171-1/+1
* Add a puts optimization that converts puts() to putchar('\n').Anders Carlsson2010-11-301-0/+15
* Fix a typo.Anders Carlsson2010-11-301-1/+1
* Rename this test to FPuts.ll since it actually tests fputs.Anders Carlsson2010-11-301-0/+0
* Fix some broken CHECK lines.Benjamin Kramer2010-11-291-1/+1
* test/Transforms/SimplifyLibCalls/floor.ll: Mark as XFAIL:win32 due to lack of...NAKAMURA Takumi2010-10-281-0/+2
* Add constant folding for strspn and strcspn to SimplifyLibCalls.Benjamin Kramer2010-09-301-0/+41
* Add strpbrk folding to SimplifyLibCalls.Benjamin Kramer2010-09-291-0/+25
* Simplify the loop in StrChrOptimizer. FileCheckize test.Benjamin Kramer2010-09-291-14/+14
* Teach SimplifyLibCalls how to optimize strrchr.Benjamin Kramer2010-09-291-0/+23
* Make sure that simplify libcalls does not replace a call with one callingRafael Espindola2010-06-161-0/+16
* simplify-libcalls: fold strncmp(x, y, 1) -> memcmp(x, y, 1)Benjamin Kramer2010-06-161-0/+7
* simplify-libcalls: fold strstr(a, b) == a -> strncmp(a, b, strlen(b)) == 0Benjamin Kramer2010-06-151-0/+12
* The memcpy intrinsic only takes i8* for %src and %dst, so cast them to thatNick Lewycky2010-05-311-0/+20
* Properly promote operands when optimizing a single-character memcmp.Benjamin Kramer2010-05-251-1/+13
* Reapply address space patch after fixing an issue in MemCopyOptimizer.Mon P Wang2010-04-041-1/+1
* Revert r100191 since it breaks objc in clang Mon P Wang2010-04-021-1/+1
* Reapply address space patch after fixing an issue in MemCopyOptimizer.Mon P Wang2010-04-021-1/+1
* Revert Mon Ping's change 99928, since it broke all the llvm-gcc buildbots.Bob Wilson2010-03-301-1/+1
* Added support for address spaces and added a isVolatile field to memcpy, memm...Mon P Wang2010-03-301-1/+1
* Teach simplify libcall to transform __strcpy_chk to __memcpy_chk to enable op...Evan Cheng2010-03-231-20/+27
* Migrate _chk call lowering from SimplifyLibCalls to InstCombine. StubEric Christopher2010-03-062-30/+0
* Safely turn memset_chk etc. to non-chk variant if the known object size is >=...Evan Cheng2010-03-051-0/+18
* Recommit this, looks like it wasn't the cause.Eric Christopher2010-02-031-0/+12
* Hopefully temporarily revert this.Eric Christopher2010-02-021-12/+0
* Re-add strcmp and known size object size checking optimization.Eric Christopher2010-02-021-0/+12
* Revert my last couple of patches. They appear to have broken bison.Eric Christopher2010-01-291-12/+0
* Make strcpy_chk lower to strcpy if we have a safe size.Eric Christopher2010-01-291-0/+12
* move an optimization for memcmp out of simplifylibcalls and into Chris Lattner2009-12-241-3/+0
* reapply my strstr optimization. I have reproduced the x86-64 bootstrapChris Lattner2009-12-161-0/+48
* revert my strstr optimization, I'm told it breaks x86-64 bootstrap.Chris Lattner2009-12-161-48/+0
* optimize strstr, PR5783Chris Lattner2009-12-151-0/+48
* Teach SimplifyLibCalls to fold memcmp calls with constant arguments.Benjamin Kramer2009-11-051-0/+4
* Fix SimplifyLibCalls to transfer attributes from callees rather thanDan Gohman2009-09-261-6/+6
* I put the wrong rdar number in this test.Dan Gohman2009-09-261-1/+1
* Transform pow(x, 0.5) to (x == -inf ? inf : fabs(sqrt(x))), which isDan Gohman2009-09-251-0/+33
* Change tests from "opt %s" to "opt < %s" so that opt doesn't see theDan Gohman2009-09-1134-37/+37
* Use opt -S instead of piping bitcode output through llvm-dis.Dan Gohman2009-09-0831-34/+34
* Change these tests to feed the assembly files to opt directly, insteadDan Gohman2009-09-0834-37/+37
* Eliminate uses of %prcontext.Daniel Dunbar2009-09-051-1/+6
* In C++, code is not allowed to call main. In C it is, thisChris Lattner2009-09-031-15/+0
* Add targetdata strings to these tests, since SimplifyLibCalls usesDan Gohman2009-08-198-2/+32
* Fix SimplifyLibcalls and ValueTracking to check mayBeOverriddenDan Gohman2009-08-191-0/+26
* Fix PR4645 which was fallout from the fix for PR4641.Daniel Dunbar2009-07-291-0/+24
* Just discard the output, no need to turn it back into text.Nick Lewycky2009-07-291-1/+1
* don't dump .bc file to stdout, and simplify this to a trivial testcase.Chris Lattner2009-07-291-158/+1
* Bulk erasing instructions without RAUWing them is unsafe. Instead, break themNick Lewycky2009-07-291-0/+179
* Fix simplifylibcalls memset recognition to work on 64-bit platforms Eli Friedman2009-07-181-0/+12
* part of PR4405: disable a contentious optimization forChris Lattner2009-06-191-10/+0
* Split the Add, Sub, and Mul instruction opcodes into separateDan Gohman2009-06-041-1/+1