aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
2009-11-03fix an IPSCCP bug I introduced when I changed IPSCCP to start working on Chris Lattner
2009-11-03fix a subtle bug I introduced when refactoring SCCP. TestcaseChris Lattner
2009-11-03Eliminate some temporaries.Benjamin Kramer
2009-11-03remove a isFreeCall check: it is a callinst that can write to memory already.Chris Lattner
2009-11-03Alphabetize.Ted Kremenek
2009-11-03turn IPSCCP back on now that the iterator invalidation bug is fixed.Chris Lattner
2009-11-02fix a nasty iterator invalidation bug from my conversion fromChris Lattner
2009-11-02revert r8579[56], which are causing unhappiness in buildbot land.Chris Lattner
2009-11-02disable IPSCCP support for multiple return values, it is buggy, so justChris Lattner
2009-11-02improve IPSCCP to be able to propagate the result of "!mayBeOverridden"Chris Lattner
2009-11-02don't mark the arguments of prototype overdefined, they will never be queried.Chris Lattner
2009-11-02restore some code I removed in r85788, refactor it intoChris Lattner
2009-11-02remove some confused code that dates from when we hadChris Lattner
2009-11-02avoid redundant lookups in BBExecutable, and make it a SmallPtrSet.Chris Lattner
2009-11-02Use the libanalysis 'ConstantFoldLoadFromConstPtr' functionChris Lattner
2009-11-02switch the main 'ValueState' map from being an std::map to beingChris Lattner
2009-11-02fix a bug exposed by moving SRoA earlier which caused a crash building kc++Chris Lattner
2009-11-02only IPSCCP incoming arguments if the function is executable, this fixesChris Lattner
2009-11-02add a new ValueState::getConstantInt() helper, use it to Chris Lattner
2009-11-02tidy up some more: remove some extraneous inline specifiers, return harder.Chris Lattner
2009-11-02eliminate the SCCPSolver::getValueMapping method.Chris Lattner
2009-11-02fix failures introduced in r85774Chris Lattner
2009-11-02factor duplicated code into a new DeleteInstructionInBlockChris Lattner
2009-11-02Chris used to use '...' instead of proper grammar.Chris Lattner
2009-11-02remove some extraneous llvmcontext stuff.Chris Lattner
2009-11-02change LatticeVal to use PointerIntPair to save some space.Chris Lattner
2009-11-02fix instcombine to only do store sinking when the alignmentsChris Lattner
2009-11-01when merging two loads, make sure to take the min of their alignment,Chris Lattner
2009-11-01split load sinking out to its own function, like gep sinking.Chris Lattner
2009-11-01fix a bug noticed by inspection: when instcombine sinks loads throughChris Lattner
2009-11-01cleanups, switch GlobalDCE to SmallPtrSet instead of std::setChris Lattner
2009-11-01remove a bunch of locking from LLVMContextImpl. Since only one threadChris Lattner
2009-11-01improve comment.Chris Lattner
2009-11-01Reverting 85714, 85715, 85716, which are breaking the buildDouglas Gregor
2009-11-01Remove the #include of Pass.h from PassManager.h. This breaks a significantDan Gohman
2009-11-01teach ipsccp and ipconstprop that a blockaddress doesn't 'take the address' o...Chris Lattner
2009-11-01change llvm::MergeBlockIntoPredecessor to not merge two blocks BB1->BB2 Chris Lattner
2009-11-01strengthen an assumption: RevectorBlockTo knows that PredBB Chris Lattner
2009-11-01if CostMetrics says to never duplicate some code, don't unswitch a loop.Chris Lattner
2009-11-01constant fold indirectbr(blockaddress(%bb)) -> br label %bb.Chris Lattner
2009-11-01Revert 85678/85680. The decision is to stay with the current form of Chris Lattner
2009-10-31Make sure PRE doesn't split crit edges from indirectbr.Chris Lattner
2009-10-31llvm::SplitEdge should refuse to split an edge from an indirectbr.Chris Lattner
2009-10-31update the comment above llvm::SplitCriticalEdge, and makeChris Lattner
2009-10-31adjust a couple xforms to work with null bb's in BlockAddress.Chris Lattner
2009-10-31add a comment.Chris Lattner
2009-10-31Revert r85667. LoopUnroll currently can't call utility functions whichDan Gohman
2009-10-31Remove redundant code.Dan Gohman
2009-10-31Merge the enhancements from LoopUnroll's FoldBlockIntoPredecessor intoDan Gohman
2009-10-31Rename forgetLoopBackedgeTakenCount to forgetLoop, because itDan Gohman