aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/SimplifyLibCalls
AgeCommit message (Expand)Author
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
2009-09-26Fix SimplifyLibCalls to transfer attributes from callees rather thanDan Gohman
2009-09-26I put the wrong rdar number in this test.Dan Gohman
2009-09-25Transform pow(x, 0.5) to (x == -inf ? inf : fabs(sqrt(x))), which isDan Gohman
2009-09-11Change tests from "opt %s" to "opt < %s" so that opt doesn't see theDan Gohman
2009-09-08Use opt -S instead of piping bitcode output through llvm-dis.Dan Gohman
2009-09-08Change these tests to feed the assembly files to opt directly, insteadDan Gohman
2009-09-05Eliminate uses of %prcontext.Daniel Dunbar
2009-09-03In C++, code is not allowed to call main. In C it is, thisChris Lattner
2009-08-19Add targetdata strings to these tests, since SimplifyLibCalls usesDan Gohman
2009-08-19Fix SimplifyLibcalls and ValueTracking to check mayBeOverriddenDan Gohman
2009-07-29Fix PR4645 which was fallout from the fix for PR4641.Daniel Dunbar
2009-07-29Just discard the output, no need to turn it back into text.Nick Lewycky
2009-07-29don't dump .bc file to stdout, and simplify this to a trivial testcase.Chris Lattner
2009-07-29Bulk erasing instructions without RAUWing them is unsafe. Instead, break themNick Lewycky
2009-07-18Fix simplifylibcalls memset recognition to work on 64-bit platforms Eli Friedman
2009-06-19part of PR4405: disable a contentious optimization forChris Lattner
2009-06-04Split the Add, Sub, and Mul instruction opcodes into separateDan Gohman
2009-05-30fix PR4284, a bug in simplifylibcalls handling memcmp. Patch by Chris Lattner
2009-05-13Fix PR4206 - crash in simplify lib callsChris Lattner
2009-04-12add some optimizations for strncpy/strncat and factor someChris Lattner
2009-04-06Let the strcat optimizer return the pointer to the start of the buffer,Ed Schouten
2009-02-13Mark strto* as readonly when the endptr is null.Nick Lewycky
2009-02-13On strtod and friends, mark 'endptr' nocapture in the function prototype, andNick Lewycky
2009-02-13Reapply r64300:Nick Lewycky
2009-02-11Revert r64300 and r64301. These were causing the following errors respectively:Bill Wendling
2009-02-11Make sure the SCC pass manager initializes any containedDuncan Sands
2009-01-18Forgot this in the previous checkin: fopen now has nocapture, realloc isNick Lewycky
2009-01-04Run a post-pass that marks known function declarations by name.Nick Lewycky
2008-12-21Turn strcmp into memcmp, such as strcmp(P, "x") --> memcmp(P, "x", 2).Nick Lewycky
2008-11-30Optimize memmove and memset into the LLVM builtins. Note that these Eli Friedman
2008-11-04Add a new pass to simplify specific half_powr function calls. This isDan Gohman
2008-06-09lower calls to abs to inline code, PR2337Chris Lattner
2008-05-20sabre brings to my attention that the 'tr' suffix is also obsoleteGabor Greif
2008-05-20Rename the last test with .llx extension to .ll, resolve duplicate test by re...Gabor Greif
2008-05-19Fix PR2341 - when the length is 4 use an i32 notDuncan Sands
2008-05-02strength reduce exp2 into ldexp, rdar://5852514Chris Lattner
2008-05-01Update old-style syntax in some "not grep" tests.Dan Gohman
2008-05-01fix typoChris Lattner