aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar
Commit message (Expand)AuthorAgeFilesLines
* Revert r187191, which broke opt -mem2reg on the testcases included in PR16867.Nick Lewycky2013-08-132-83/+14
* Reapply r188119 now that the bug it exposed is fixed.Peter Collingbourne2013-08-121-160/+5
* Re-instate r187323 which fast-tracks promotable allocas as soon as theChandler Carruth2013-08-111-12/+81
* Finish fixing the SSAUpdater-based AllocaPromoter strategy in SROA to cope withChandler Carruth2013-08-111-2/+23
* Reformat some bits of AllocaPromoter and simplify the name and type ofChandler Carruth2013-08-111-21/+20
* Revert r188119 "Kill some duplicated code for removing unreachable BBs."Arnold Schwaighofer2013-08-101-5/+160
* Kill some duplicated code for removing unreachable BBs.Peter Collingbourne2013-08-091-160/+5
* JumpThreading: Turn a select instruction into branching if it allows to threa...Benjamin Kramer2013-08-071-0/+83
* Adjust file to the coding standard.Jakub Staszak2013-08-061-53/+49
* Factor FlattenCFG out from SimplifyCFGTom Stellard2013-08-064-53/+94
* Teach the AllocaPromoter which is wrapped around the SSAUpdaterChandler Carruth2013-07-291-15/+51
* Temporarily revert r187323 until I update SSAUpdater to match mem2reg.Chandler Carruth2013-07-281-81/+12
* Now that mem2reg understands how to cope with a slightly wider set ofChandler Carruth2013-07-281-12/+81
* Thread DataLayout through the callers and into mem2reg. This will beChandler Carruth2013-07-282-2/+2
* Don't use all the #ifdefs to hide the stats counters and instead rely onChandler Carruth2013-07-271-18/+0
* Reimplement isPotentiallyReachable to make nocapture deduction much stronger.Nick Lewycky2013-07-272-2/+2
* SimplifyCFG: Use parallel-and and parallel-or mode to consolidate branch cond...Tom Stellard2013-07-272-23/+61
* TRE: Move class into anonymous namespace.Benjamin Kramer2013-07-241-4/+6
* Fix a problem I introduced in r187029 where we would over-eagerlyChandler Carruth2013-07-241-3/+9
* Fix PR16687 where we were incorrectly promoting an alloca that hadChandler Carruth2013-07-241-12/+29
* Remove extraneous null statement. No functionality change!Nick Lewycky2013-07-221-1/+1
* Use switch instead of if. No functionality change.Jakub Staszak2013-07-221-14/+17
* OldPtr is llvm::Instruction. Remove unneeded cast<>.Jakub Staszak2013-07-221-1/+1
* Change tabs to spaces.Jakub Staszak2013-07-221-2/+2
* Fix spelling and grammarMatt Arsenault2013-07-221-12/+12
* SROA: Microoptimization: Remove dead entries first, then sort.Benjamin Kramer2013-07-201-9/+4
* Cleanup the stats counters for the new implementation. These actuallyChandler Carruth2013-07-191-12/+36
* Fix another assert failure very similar to PR16651's test case. ThisChandler Carruth2013-07-191-0/+2
* Try to move to a more reasonable set of naming conventions given the newChandler Carruth2013-07-191-322/+305
* A long overdue cleanup in SROA to use 'DL' instead of 'TD' for theChandler Carruth2013-07-191-123/+123
* Fix PR16651, an assert introduced in my recent re-work of the innards ofChandler Carruth2013-07-191-9/+3
* Reapply r186316 with a fix for one bug where the code could walk off theChandler Carruth2013-07-181-1255/+976
* Add 'const' qualifiers to static const char* variables.Craig Topper2013-07-161-1/+1
* Remove trailing whitespaceStephen Lin2013-07-151-36/+36
* Revert r186316 while I track down an ASan failure and an assert fromChandler Carruth2013-07-151-972/+1255
* Reimplement SROA yet again. Same fundamental principle, but a totallyChandler Carruth2013-07-151-1255/+972
* Use SmallVectorImpl& instead of SmallVector to avoid repeating small vector s...Craig Topper2013-07-145-35/+39
* LFTR improvement to avoid truncation.Andrew Trick2013-07-121-6/+32
* Cleanup LFTR logic.Andrew Trick2013-07-121-28/+9
* Cleanup: rename a variable to make the logic easier to follow.Andrew Trick2013-07-121-7/+7
* Revert "indvars: Improve LFTR by eliminating truncation when comparingChandler Carruth2013-07-121-23/+4
* indvars: Improve LFTR by eliminating truncation when comparing against a cons...Andrew Trick2013-07-111-4/+23
* Teach TailRecursionElimination to handle certain cases of nocapture escaping ...Michael Gottesman2013-07-111-64/+85
* Reassociate: Remove unnecessary default operator=.Benjamin Kramer2013-07-061-10/+0
* Remove a useless declarations (found by scan-build)Sylvestre Ledru2013-07-051-1/+0
* Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid ...Craig Topper2013-07-043-4/+4
* Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid ...Craig Topper2013-07-033-8/+8
* dbgs() << Instruction doesn't print a newline on the end any more. Update theseNick Lewycky2013-06-261-5/+5
* Fix SROA to avoid unnecessary scalar conversions for 1-element vectors.Bob Wilson2013-06-251-15/+16
* Remove the simplify-libcalls pass (finally)Meador Inge2013-06-203-250/+1