aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/SimplifyLibCalls
Commit message (Expand)AuthorAgeFilesLines
* Turn cos(-x) into cos(x). Patch by Alexander Malyshev!Nick Lewycky2011-12-271-0/+14
* Give string constants generated by IRBuilder private linkage.Benjamin Kramer2011-12-221-1/+1
* Only replace fwrite with fputc, if the return value is unused.Joerg Sonnenberger2011-12-121-0/+13
* Add support for custom names for library functions in TargetLibraryInfo. Add...Eli Friedman2011-11-171-0/+30
* SimplifyLibCalls: Use IRBuilder.CreateGlobalString when creating a string for...Benjamin Kramer2011-10-291-2/+3
* "@string = constant i8 0" is a value i8* string of length zero. Analyze thatNick Lewycky2011-10-201-0/+6
* Fixed quoting on default data layout option.Lang Hames2011-10-171-1/+1
* PR11061: Make simplifylibcalls fold strcmp("", x) correctly.Eli Friedman2011-10-052-44/+124
* Stop emitting instructions with the name "tmp" they eat up memory and have to...Benjamin Kramer2011-09-271-6/+6
* Move "atomic" and "volatile" designations on instructions after the opcodeEli Friedman2011-08-121-11/+11
* rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which isChris Lattner2011-06-181-11/+10
* Preserve line number information while simplifying libcalls.Devang Patel2011-03-091-0/+24
* Optimize fprintf -> iprintf if there are no floating point argumentsRichard Osborne2011-03-031-0/+21
* Optimize sprintf -> siprintf if there are no floating point argumentsRichard Osborne2011-03-031-0/+21
* Optimize printf -> iprintf if there are no floating point argumentsRichard Osborne2011-03-031-0/+29
* Delete obsolete test.Dan Gohman2011-02-281-46/+0
* SimplifyLibCalls: Add missing legalize check on various printf to puts andDaniel Dunbar2011-02-121-7/+20
* tests: FileCheckizeDaniel Dunbar2011-02-121-3/+5
* 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