llvm/test/Transforms/SimplifyLibCalls
Chandler Carruth 4177e6fff5 Convert all tests using TCL-style quoting to use shell-style quoting.
This was done through the aid of a terrible Perl creation. I will not
paste any of the horrors here. Suffice to say, it require multiple
staged rounds of replacements, state carried between, and a few
nested-construct-parsing hacks that I'm not proud of. It happens, by
luck, to be able to deal with all the TCL-quoting patterns in evidence
in the LLVM test suite.

If anyone is maintaining large out-of-tree test trees, feel free to poke
me and I'll send you the steps I used to convert things, as well as
answer any painful questions etc. IRC works best for this type of thing
I find.

Once converted, switch the LLVM lit config to use ShTests the same as
Clang. In addition to being able to delete large amounts of Python code
from 'lit', this will also simplify the entire test suite and some of
lit's architecture.

Finally, the test suite runs 33% faster on Linux now. ;]
For my 16-hardware-thread (2x 4-core xeon e5520): 36s -> 24s

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159525 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-02 12:47:22 +00:00
..
2005-05-20-sprintf-crash.ll
2007-04-06-strchr-miscompile.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2008-05-19-memcmp.ll
2009-01-04-Annotate.ll revert my previous commit (r159173), since as Eli pointed out, it's perfectly ok to mark realloc as noalias 2012-06-25 23:26:10 +00:00
2009-02-11-NotInitialized.ll
2009-02-12-StrTo.ll FileCheck-ify, apropos of nothing 2012-05-18 16:24:01 +00:00
2009-05-30-memcmp-byte.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2009-07-28-Exit.ll
2009-07-29-Exit2.ll
2010-05-30-memcpy-Struct.ll The memcpy intrinsic only takes i8* for %src and %dst, so cast them to that 2010-05-31 06:16:35 +00:00
abs.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
cos.ll Turn cos(-x) into cos(x). Patch by Alexander Malyshev! 2011-12-27 18:25:50 +00:00
debug-line.ll Preserve line number information while simplifying libcalls. 2011-03-09 21:27:52 +00:00
exp2.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
FFS.ll
floor.ll FileCheckify, un-XFAIL SimplifyLibCalls/floor test 2012-04-18 00:36:07 +00:00
FPrintF.ll
FPuts.ll Fix a typo. 2010-11-30 06:03:55 +00:00
fwrite.ll Only replace fwrite with fputc, if the return value is unused. 2011-12-12 20:18:31 +00:00
iprintf.ll Optimize fprintf -> iprintf if there are no floating point arguments 2011-03-03 14:20:22 +00:00
IsDigit.ll
lit.local.cfg Replace all instances of dg.exp file with lit.local.cfg, since all tests are run with LIT now and now Dejagnu. dg.exp is no longer needed. 2012-02-16 06:28:33 +00:00
memcmp.ll Move "atomic" and "volatile" designations on instructions after the opcode 2011-08-12 22:50:01 +00:00
MemCpy.ll rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which is 2011-06-18 06:05:24 +00:00
memmove.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
memset-64.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
memset.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
osx-names.ll Add support for custom names for library functions in TargetLibraryInfo. Add a custom name for fwrite and fputs on x86-32 OSX. Make SimplifyLibCalls honor the custom 2011-11-17 01:27:36 +00:00
pow2.ll
pow-to-sqrt.ll Stop emitting instructions with the name "tmp" they eat up memory and have to be uniqued, without any benefit. 2011-09-27 20:39:19 +00:00
PR7357.ll Fixed quoting on default data layout option. 2011-10-17 21:54:43 +00:00
Printf.ll Give string constants generated by IRBuilder private linkage. 2011-12-22 14:22:14 +00:00
Puts.ll Add a puts optimization that converts puts() to putchar('\n'). 2010-11-30 06:19:18 +00:00
SPrintF.ll
StpCpy.ll revert my previous patches that introduced an additional parameter to the objectsize intrinsic. 2012-05-22 15:25:31 +00:00
StrCat.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
StrChr.ll Simplify the loop in StrChrOptimizer. FileCheckize test. 2010-09-29 22:29:12 +00:00
StrCmp.ll PR11061: Make simplifylibcalls fold strcmp("", x) correctly. 2011-10-05 22:27:16 +00:00
StrCpy.ll revert my previous patches that introduced an additional parameter to the objectsize intrinsic. 2012-05-22 15:25:31 +00:00
StrLen.ll "@string = constant i8 0" is a value i8* string of length zero. Analyze that 2011-10-20 00:34:35 +00:00
StrNCat.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
StrNCmp.ll PR11061: Make simplifylibcalls fold strcmp("", x) correctly. 2011-10-05 22:27:16 +00:00
StrNCpy.ll
StrPBrk.ll Add strpbrk folding to SimplifyLibCalls. 2010-09-29 23:52:12 +00:00
StrRChr.ll Teach SimplifyLibCalls how to optimize strrchr. 2010-09-29 21:50:51 +00:00
StrSpn.ll Fix some broken CHECK lines. 2010-11-29 22:34:55 +00:00
StrStr.ll simplify-libcalls: fold strstr(a, b) == a -> strncmp(a, b, strlen(b)) == 0 2010-06-15 21:34:25 +00:00
ToAscii.ll
weak-symbols.ll
win-math.ll Move win32 SimplifyLibcall test under Transforms 2012-04-18 00:07:45 +00:00