aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar
AgeCommit message (Expand)Author
2011-01-08LoopRotate requires canonical loop form, so it always has preheadersChris Lattner
2011-01-08use the LI ivar.Chris Lattner
2011-01-08some cleanups: remove dead arguments and eliminate ivarsChris Lattner
2011-01-08fix an issue duncan pointed out, which could cause loop rotateChris Lattner
2011-01-08Fix coding style issues.Cameron Zwarich
2011-01-08Make more passes preserve dominators (or state that they preserve dominators ifCameron Zwarich
2011-01-08Contract subloop bodies. However, it is still important to visit the phis at theCameron Zwarich
2011-01-08Have loop-rotate simplify instructions (yay instsimplify!) as it clonesChris Lattner
2011-01-08Revamp the ValueMapper interfaces in a couple ways:Chris Lattner
2011-01-08two minor changes: switch to the standard ValueToValueMapTyChris Lattner
2011-01-06Add the CallInst optimizations that don't involve expanding inline assembly toCameron Zwarich
2011-01-06Move the GEP handling in CodeGenPrepare to OptimizeInst().Cameron Zwarich
2011-01-06Split the optimizations in CodeGenPrepare that don't manipulate the iteratorsCameron Zwarich
2011-01-06Zap the last two -Wself-assign warnings in llvm.Jakob Stoklund Olesen
2011-01-06Stop reallocating SunkAddrs for each basic block. When we move to an instructionCameron Zwarich
2011-01-05Add some more statistics to CodeGenPrepare.Cameron Zwarich
2011-01-05Add some stats to CodeGenPrepare to make it easier to speed it up withoutCameron Zwarich
2011-01-05Use pop_back_val instead of back followed by pop_back.Cameron Zwarich
2011-01-05Use a worklist for later iterations just like ordinary instsimplify. The nextCameron Zwarich
2011-01-05Change LoopInstSimplify back to a LoopPass. It revisits subloops rather thanCameron Zwarich
2011-01-04Don't bother value numbering instructions with void types in GVN. In theory t...Owen Anderson
2011-01-04Complete the NumberTable --> LeaderTable rename.Owen Anderson
2011-01-04Fix typo in a comment.Owen Anderson
2011-01-04Prune #include's.Owen Anderson
2011-01-04Clarify terminology, settling on referring to what was the "number table" as ...Owen Anderson
2011-01-04When removing a value from GVN's leaders list, don't drop the Next pointer in...Owen Anderson
2011-01-04Branch instructions don't produce values, so there's no need to generate a va...Owen Anderson
2011-01-04Remove commented out code.Owen Anderson
2011-01-04Switch to the new style of asterisk placement.Cameron Zwarich
2011-01-04Teach loop-idiom to turn a loop containing a memset into a larger memsetChris Lattner
2011-01-04restructure this a bit. Initialize the WeakVH with "I", theChris Lattner
2011-01-04Avoid finding loop back edges when we are not splitting critical edges inCameron Zwarich
2011-01-04Address most of Duncan's review comments. Also, make LoopInstSimplify a simpleCameron Zwarich
2011-01-04use the very-handy getTruncateOrZeroExtend helper function, andChris Lattner
2011-01-03Fix comment.Owen Anderson
2011-01-03Use the new addEscapingValue callback to update GlobalsModRef when GVN adds P...Owen Anderson
2011-01-03Duncan deftly points out that readnone functions aren'tChris Lattner
2011-01-03Simplify GVN's value expression structure, allowing the elimination of a lot of Owen Anderson
2011-01-03stength reduce my previous patch a bit. The only instructionsChris Lattner
2011-01-03fix PR8895: metadata operands don't have a strong use of theirChris Lattner
2011-01-03Switch a worklist in CodeGenPrepare to SmallVector and increase the inlineCameron Zwarich
2011-01-03earlycse can do trivial with-a-block dead store Chris Lattner
2011-01-03switch the load table to use a recycling bump pointer allocator,Chris Lattner
2011-01-03now that loads are in their own table, we can implementChris Lattner
2011-01-03split loads and calls into separate tables. Loads are now just indexedChris Lattner
2011-01-03various cleanups, no functionality change.Chris Lattner
2011-01-03Teach EarlyCSE to do trivial CSE of loads and read-only calls.Chris Lattner
2011-01-03rename InstValue to SimpleValue, add some comments.Chris Lattner
2011-01-03CMake: Add missing source file.Michael J. Spencer
2011-01-03Allocate nodes for the scoped hash table from a recyling bump pointerChris Lattner