aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/SimplifyLibCalls.cpp
AgeCommit message (Expand)Author
2009-12-15add some other xforms that should be done as part of PR5783Chris Lattner
2009-12-02tidy up, remove dependence on order of evaluation of function args from EmitM...Chris Lattner
2009-11-21Add more optimizations for object size checking, enable handling ofEric Christopher
2009-11-20Revert "Add some rough optimizations for checking routines.", it buildeth not.Daniel Dunbar
2009-11-20Add some rough optimizations for checking routines.Eric Christopher
2009-11-16CreateIntCast takes an "isSigned" parameter. Pass "true" for it, rather thanDuncan Sands
2009-11-09fix PR5104: when printing a single character, return the result ofChris Lattner
2009-11-05Teach SimplifyLibCalls to fold memcmp calls with constant arguments.Benjamin Kramer
2009-10-27Add objectsize intrinsic and hook it up through codegen. Doesn'tEric Christopher
2009-10-0780-column and whitespace fixes.Eric Christopher
2009-10-06Introduce and use convenience methods for getting pointer typesDuncan Sands
2009-10-05strength reduce a ton of type equality tests to check the typeid (ThroughChris Lattner
2009-09-26Fix SimplifyLibCalls to transfer attributes from callees rather thanDan Gohman
2009-09-25Rename ConstantFP's getInf to getInfinity.Dan Gohman
2009-09-25Transform pow(x, 0.5) to (x == -inf ? inf : fabs(sqrt(x))), which isDan Gohman
2009-09-18Enhance transform passes so that they apply the same tranforms to malloc call...Victor Hernandez
2009-09-03In C++, code is not allowed to call main. In C it is, thisChris Lattner
2009-09-02eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861Chris Lattner
2009-08-19Fix SimplifyLibcalls and ValueTracking to check mayBeOverriddenDan Gohman
2009-08-18Make TargetData optional in SimplifyLibCalls.Dan Gohman
2009-08-13Push LLVMContexts through the IntegerType APIs.Owen Anderson
2009-07-31Move a few more APIs back to 2.5 forms. The only remaining ones left to chan...Owen Anderson
2009-07-29Move types back to the 2.5 API.Owen Anderson
2009-07-29Fix PR4645 which was fallout from the fix for PR4641.Daniel Dunbar
2009-07-29Move ConstantExpr to 2.5 API.Owen Anderson
2009-07-29Bulk erasing instructions without RAUWing them is unsafe. Instead, break themNick Lewycky
2009-07-28Change ConstantArray to 2.5 API.Owen Anderson
2009-07-27Move ConstantFP construction back to the 2.5-ish API.Owen Anderson
2009-07-26Remove Value::getNameLenDaniel Dunbar
2009-07-26Eliminate some uses of DOUT, cerr, and getNameStart().Daniel Dunbar
2009-07-25Remove Value::{isName, getNameRef}.Daniel Dunbar
2009-07-24Revert the ConstantInt constructors back to their 2.5 forms where possible, t...Owen Anderson
2009-07-23Convert StringMap to using StringRef for its APIs.Daniel Dunbar
2009-07-22Get rid of the Pass+Context magic.Owen Anderson
2009-07-18Fix simplifylibcalls memset recognition to work on 64-bit platforms Eli Friedman
2009-07-16Move the ConstantInt uniquing table into LLVMContextImpl. This exposed a num...Owen Anderson
2009-07-13Move more functionality over to LLVMContext.Owen Anderson
2009-07-08Push LLVMContext _back_ through IRBuilder.Owen Anderson
2009-07-08Switch GlobalVariable ctors to a sane API, where *either* a context or a modu...Owen Anderson
2009-07-08Push LLVMContext through GlobalVariables and IRBuilder.Owen Anderson
2009-07-03Even more passes being LLVMContext'd.Owen Anderson
2009-06-19part of PR4405: disable a contentious optimization forChris Lattner
2009-06-18Revert IRBuilder CC propagation. Fix SimplifyLibCalls instead.Anton Korobeynikov
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-12"There was a typo in my previous patch which leads to miscompilation ofChris 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-03-13Oops...I committed too much.Bill Wendling