aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
2012-09-26Analogous fix to memset and memcpy rewriting. Don't have a test caseChandler Carruth
2012-09-26When rewriting the pointer operand to a load or store which hasChandler Carruth
2012-09-26Teach all of the loads, stores, memsets and memcpys created by theChandler Carruth
2012-09-26SimplifyCFG: Make the switch-to-lookup table transformation store theHans Wennborg
2012-09-26SimplifyCFG: Refactor the switch-to-lookup table transformation byHans Wennborg
2012-09-26Revert the business end of r164636 and try again. I'll come in again. ;]Chandler Carruth
2012-09-26Rename virtual table anchors from Anchor() to anchor() for consistency with t...Craig Topper
2012-09-26Expansions for u/srem, using the udiv expansion. More unit tests for udiv and...Michael Ilseman
2012-09-25Merge commit 'bc4021f31eaa97ee52655828da3e3de14a39e4a6'Derek Schuff
2012-09-25Don't drop the alignment on a memcpy intrinsic when producing a store. This isNick Lewycky
2012-09-25Revert the business end of r164634, and replace it with a different fix. TheNick Lewycky
2012-09-25Don't try to promote the same alloca twice. Fixes PR13916!Nick Lewycky
2012-09-25Move Attribute::typeIncompatible inside of the Attributes class.Bill Wendling
2012-09-25Revert r164614 to appease the buildbots.Chad Rosier
2012-09-25Expansions for u/srem, using the udiv expansion. More unit tests for udiv and...Michael Ilseman
2012-09-25Fix a case where SROA did not correctly detect dead PHI or selects dueChandler Carruth
2012-09-25Fix a crash in SROA. This was reported independently by Takumi andChandler Carruth
2012-09-25Don't forget that strcpy and friends return a pointer to the destination, soNick Lewycky
2012-09-24Remove unused name of variable to quiet a warning. Also canonicalize aNick Lewycky
2012-09-24Teach DSE that strcpy, strncpy, strcat and strncat are all stores which may beNick Lewycky
2012-09-24Move all the calls to AA.getTargetLibraryInfo() to using a TLI member variable.Nick Lewycky
2012-09-24Add missing check for presence of target data.Richard Osborne
2012-09-24Enable the new SROA pass by default.Chandler Carruth
2012-09-24Address one of the original FIXMEs for the new SROA pass by implementingChandler Carruth
2012-09-23Switch to a signed representation for the dynamic offsets while walkingChandler Carruth
2012-09-21Fix a case where the new SROA pass failed to zap dead operands toChandler Carruth
2012-09-21LoopIdiom: Give up when the loop is not in canonical form.Benjamin Kramer
2012-09-21InstCombine: Make sure we use the pre-zext type when creating a constant of a...Benjamin Kramer
2012-09-20SimplifyCFG: sink common codes from IF, ELSE blocks down to END block.Manman Ren
2012-09-19Merge commit '020aba0c3b6092e353e133446cb6453f95f0d61b'Derek Schuff
2012-09-19Renaming functions to match coding style guidelinesMichael Ilseman
2012-09-19Don't emit useless warning when dropping arguments from mainDerek Schuff
2012-09-19Doxygen-ify commentsMichael Ilseman
2012-09-19Put the * and & next to the variable, rather than the type.Michael Ilseman
2012-09-19Exclude vector and array calls from being rewrittenRobert Muth
2012-09-19SimplifyCFG: Don't generate invalid code for switch used to initializeHans Wennborg
2012-09-19IntegerDivision: Style cleanups, avoid warning about mixing || and && without...Benjamin Kramer
2012-09-19CodeGenPrep: turn lookup tables into switches for some targets.Hans Wennborg
2012-09-18Fix the last crasher I've gotten a reproduction for in SROA. This oneChandler Carruth
2012-09-18Merge commit '8e70b5506ec0d7a6c2740bc89cd1b8f12a78b24f'Derek Schuff
2012-09-18New utility for expanding integer division for targets that don't support it.Michael Ilseman
2012-09-18This feature was a TODO in a previous commit.Robert Muth
2012-09-18LSR critical edge splitting fix for PR13756.Andrew Trick
2012-09-18Fix getCommonType in a different way from the way I fixed it whenChandler Carruth
2012-09-18Fix build for compilers that don't understand injected class names properly.Benjamin Kramer
2012-09-18SROA: Use CRTP for OpSplitter to get rid of virtual dispatch and the virtual-...Benjamin Kramer
2012-09-18SROA: Replace the member function template contraption for recursively splitt...Benjamin Kramer
2012-09-18SROA.cpp: Appease msvc.NAKAMURA Takumi
2012-09-18LNT builders have picked up new SROA, disable it to get the remaining builder...Benjamin Kramer
2012-09-18Fix a warning in release builds and a test case I forgot to update withChandler Carruth