aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/SimplifyLibCalls
AgeCommit message (Expand)Author
2011-12-22Give string constants generated by IRBuilder private linkage.Benjamin Kramer
2011-12-12Only replace fwrite with fputc, if the return value is unused.Joerg Sonnenberger
2011-11-17Add support for custom names for library functions in TargetLibraryInfo. Add...Eli Friedman
2011-10-29SimplifyLibCalls: Use IRBuilder.CreateGlobalString when creating a string for...Benjamin Kramer
2011-10-20"@string = constant i8 0" is a value i8* string of length zero. Analyze thatNick Lewycky
2011-10-17Fixed quoting on default data layout option.Lang Hames
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-08-12Move "atomic" and "volatile" designations on instructions after the opcodeEli Friedman
2011-06-18rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which isChris Lattner
2011-03-09Preserve line number information while simplifying libcalls.Devang Patel
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-28Delete obsolete test.Dan Gohman
2011-02-12SimplifyLibCalls: Add missing legalize check on various printf to puts andDaniel Dunbar
2011-02-12tests: FileCheckizeDaniel Dunbar
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-11-30Fix a typo.Anders Carlsson
2010-11-30Rename this test to FPuts.ll since it actually tests fputs.Anders Carlsson
2010-11-29Fix some broken CHECK lines.Benjamin Kramer
2010-10-28test/Transforms/SimplifyLibCalls/floor.ll: Mark as XFAIL:win32 due to lack of...NAKAMURA Takumi
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-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-31The memcpy intrinsic only takes i8* for %src and %dst, so cast them to thatNick Lewycky
2010-05-25Properly promote operands when optimizing a single-character memcmp.Benjamin Kramer
2010-04-04Reapply address space patch after fixing an issue in MemCopyOptimizer.Mon P Wang
2010-04-02Revert r100191 since it breaks objc in clang Mon P Wang
2010-04-02Reapply address space patch after fixing an issue in MemCopyOptimizer.Mon P Wang
2010-03-30Revert Mon Ping's change 99928, since it broke all the llvm-gcc buildbots.Bob Wilson
2010-03-30Added support for address spaces and added a isVolatile field to memcpy, memm...Mon P Wang
2010-03-23Teach simplify libcall to transform __strcpy_chk to __memcpy_chk to enable op...Evan Cheng
2010-03-06Migrate _chk call lowering from SimplifyLibCalls to InstCombine. StubEric Christopher
2010-03-05Safely turn memset_chk etc. to non-chk variant if the known object size is >=...Evan Cheng
2010-02-03Recommit this, looks like it wasn't the cause.Eric Christopher
2010-02-02Hopefully temporarily revert this.Eric Christopher
2010-02-02Re-add strcmp and known size object size checking optimization.Eric Christopher
2010-01-29Revert my last couple of patches. They appear to have broken bison.Eric Christopher
2010-01-29Make strcpy_chk lower to strcpy if we have a safe size.Eric Christopher
2009-12-24move an optimization for memcmp out of simplifylibcalls and into Chris Lattner
2009-12-16reapply my strstr optimization. I have reproduced the x86-64 bootstrapChris Lattner
2009-12-16revert my strstr optimization, I'm told it breaks x86-64 bootstrap.Chris Lattner
2009-12-15optimize strstr, PR5783Chris Lattner
2009-11-05Teach SimplifyLibCalls to fold memcmp calls with constant arguments.Benjamin Kramer