aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar
AgeCommit message (Expand)Author
2012-09-29Fix a somewhat surprising miscompile where code relying on an ABIChandler Carruth
2012-09-28Do not delete BBs if their addresses are taken. rdar://12396696Evan Cheng
2012-09-28CorrelatedPropagation: BasicBlock::removePredecessor can simplify PHI nodes. ...Benjamin Kramer
2012-09-26Remove the `hasFnAttr' method from Function.Bill Wendling
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-26Revert the business end of r164636 and try again. I'll come in again. ;]Chandler Carruth
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-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-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-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-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-18Fix a warning in release builds and a test case I forgot to update withChandler Carruth
2012-09-18Add a major missing piece to the new SROA pass: aggressive splitting ofChandler Carruth
2012-09-18Mark unimplemented copy constructors and copy assignment operators as LLVM_DE...Craig Topper
2012-09-17NewSROA: Provide a full set of operator< for ByteRanges.Benjamin Kramer
2012-09-16Refactor the SROA visitors for partitioning an alloca and buildingChandler Carruth
2012-09-15Use LLVM_DELETED_FUNCTION in place of 'DO NOT IMPLEMENT' comments.Craig Topper
2012-09-15Port the SSAUpdater-based promotion logic from the old SROA pass to theChandler Carruth
2012-09-14Stylistic and 80-col fixesEvan Cheng
2012-09-14Fix Doxygen issues:Dmitri Gribenko
2012-09-14SROA: Silence unused variable warnings in Release builds.Benjamin Kramer
2012-09-14Rework the computation of a sub-structure natural type. There wereChandler Carruth
2012-09-14Rely on the recursive check for pointer types rather than adding anChandler Carruth
2012-09-14Be a bit more aggressive in bailing out of this routine. Spotted byChandler Carruth
2012-09-14Add some comments clarifying that the GEP analysis for vector GEPs isChandler Carruth
2012-09-14Move an instance variable to a local variable based on review by Duncan.Chandler Carruth
2012-09-14Add a comment about debug intrinsics that I *really* don't want toChandler Carruth
2012-09-14Add two asserts that Duncan thought would help ensure things don't rotChandler Carruth
2012-09-14Remove some dead, commented out code Duncan spotted in review.Chandler Carruth
2012-09-14Wrap the dumping and printing routines in NDEBUG and LLVM_ENABLE_DUMP macros.Chandler Carruth
2012-09-14Lots of comment fixes and cleanups from Duncan's review.Chandler Carruth
2012-09-14SROA.cpp: Unbreak gcc, sorry!NAKAMURA Takumi