summaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)AuthorFilesLines
2013-07-25Respect llvm.used in Internalize.Rafael Espindola3-21/+41
2013-07-25Check that TD isn't NULL before dereferencing it down this path.Nick Lewycky1-1/+1
2013-07-25Make these methods const correct.Rafael Espindola1-2/+2
2013-07-24TRE: Move class into anonymous namespace.Benjamin Kramer1-4/+6
2013-07-24Fix a problem I introduced in r187029 where we would over-eagerlyChandler Carruth1-3/+9
2013-07-24Fix PR16687 where we were incorrectly promoting an alloca that hadChandler Carruth1-12/+29
2013-07-23Fix spellingMatt Arsenault1-1/+1
2013-07-22Remove extraneous null statement. No functionality change!Nick Lewycky1-1/+1
2013-07-22Use switch instead of if. No functionality change.Jakub Staszak1-14/+17
2013-07-22Remove trailing spaces.Jakub Staszak1-37/+37
2013-07-22When we vectorize across multiple basic blocks we may vectorize PHINodes that...Nadav Rotem1-3/+31
2013-07-22OldPtr is llvm::Instruction. Remove unneeded cast<>.Jakub Staszak1-1/+1
2013-07-22Change tabs to spaces.Jakub Staszak1-2/+2
2013-07-22Fix spelling and grammarMatt Arsenault1-12/+12
2013-07-22Fix an obvious typo in the loop vectorizer where the cost model uses the wron...Nadav Rotem1-2/+2
2013-07-22Delete unused helper functions.Nadav Rotem1-32/+0
2013-07-21mem2reg: Minor STL usage cleanup. No functionality change.Benjamin Kramer1-11/+8
2013-07-21Make the mem2reg interface use an ArrayRef as it keeps a copy of theseChandler Carruth1-5/+6
2013-07-21Revert a part of r186420. Don't forbid multiple store chains that merge.Nadav Rotem1-3/+1
2013-07-21Hoist the rest of the logic for promoting single-store allocas into theChandler Carruth1-23/+31
2013-07-21Hoist the rest of the logic for fully promoting allocas with all uses inChandler Carruth1-55/+33
2013-07-21Remove a method made dead by the prior refactoring.Chandler Carruth1-5/+0
2013-07-20Hoist the two trivial promotion routines out of the big class thatChandler Carruth1-161/+158
2013-07-20Hoist the AllocaInfo struct to the top of the file.Chandler Carruth1-59/+57
2013-07-20Sink a typedef and comparator down to the function that actually uses them.Chandler Carruth1-8/+10
2013-07-20Don't crash when llvm.compiler.used becomes empty.Rafael Espindola1-0/+5
2013-07-20Don't allocate the DIBuilder on the heap and remove all the complexityChandler Carruth1-16/+8
2013-07-20Rename constructor parameters to follow the common member-shadowingChandler Carruth1-3/+3
2013-07-20Reformat the implementation of mem2reg with clang-format so that myChandler Carruth1-344/+360
2013-07-20Remove a DenseMapInfo specialization for std::pair -- we have one ofChandler Carruth1-20/+0
2013-07-20Update mem2reg's comments to conform to the new doxygen standards. NoChandler Carruth1-74/+58
2013-07-20SROA: Microoptimization: Remove dead entries first, then sort.Benjamin Kramer1-9/+4
2013-07-20InstCombine: call FoldOpIntoSelect for all floating binops, not just fmulStephen Lin2-3/+23
2013-07-19fix an 80-col line.Nadav Rotem1-2/+2
2013-07-19Use LLVMs ADTs that improve the compile time of this pass.Nadav Rotem1-2/+2
2013-07-19SLPVectorizer: Improve the compile time of isConsecutive by reordering the co...Nadav Rotem1-22/+19
2013-07-19s/compiler_used/compiler.used/.Rafael Espindola1-7/+7
2013-07-19Cleanup the stats counters for the new implementation. These actuallyChandler Carruth1-12/+36
2013-07-19Fix another assert failure very similar to PR16651's test case. ThisChandler Carruth1-0/+2
2013-07-19Try to move to a more reasonable set of naming conventions given the newChandler Carruth1-322/+305
2013-07-19A long overdue cleanup in SROA to use 'DL' instead of 'TD' for theChandler Carruth1-123/+123
2013-07-19Fix PR16651, an assert introduced in my recent re-work of the innards ofChandler Carruth1-9/+3
2013-07-19Remove DIBuilder cache of variable TheCU and change the fewEric Christopher1-3/+3
2013-07-18Clean up some of this code a tiny bit, no functionality change.Nick Lewycky1-13/+8
2013-07-18Revert "Remove DIBuilder cache of variable TheCU and change the few"Eric Christopher1-3/+3
2013-07-18Remove DIBuilder cache of variable TheCU and change the fewEric Christopher1-3/+3
2013-07-18Handle constants without going through SCEV.Nadav Rotem1-0/+6
2013-07-18SLPVectorizer: Speedup isConsecutive by manually checking GEPs with multiple ...Nadav Rotem1-4/+12
2013-07-18Reapply r186316 with a fix for one bug where the code could walk off theChandler Carruth1-1255/+976
2013-07-18SLPVectorizer: Speedup isConsecutive (that checks if two addresses are consec...Nadav Rotem1-12/+31