aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils
AgeCommit message (Expand)Author
2009-12-13Don't leave pointers uninitialized in the default constructor. GCC complainsChandler Carruth
2009-12-08Remove unnecessary #include "llvm/LLVMContext.h".Nick Lewycky
2009-12-04add an assert to make it really clear what this is doing. Return singularval asChris Lattner
2009-12-03improve portability to avoid conflicting with std::next in c++'0x.Chris Lattner
2009-12-02Move EliminateDuplicatePHINodes() from SimplifyCFG.cpp to Local.cppJim Grosbach
2009-11-23Pull LLVMContext out of PromoteMemToReg.Nick Lewycky
2009-11-20Make Loop::getLoopLatch() work on loops which don't have preheaders, asDan Gohman
2009-11-19Eliminate duplicate phi nodes in loops. Loop rotation, for example, can intro...Jim Grosbach
2009-11-19Make EliminateDuplicatePHINodes() available as a utility functionJim Grosbach
2009-11-12Add the braces gcc suggested.Daniel Dunbar
2009-11-11Don't trivially delete unused calls to llvm.invariant.start. This allowsDuncan Sands
2009-11-10Implement support to debug inlined functions.Devang Patel
2009-11-10move some generally useful functions out of jump threadingChris Lattner
2009-11-10refactor TryToSimplifyUncondBranchFromEmptyBlock out of SimplifyCFG.Chris Lattner
2009-11-09fix ConstantFoldCompareInstOperands to take the LHS/RHS asChris Lattner
2009-11-09Fix a comment in a typo that Duncan noticed.Dan Gohman
2009-11-09Generalize LCSSA to handle loops with exits with predecessors outsideDan Gohman
2009-11-06remove a bunch of extraneous LLVMContext argumentsChris Lattner
2009-11-05Avoid calling getUniqueExitBlocks from within LoopSimplify, as it dependsDan Gohman
2009-11-05The introduction of indirectbr meant the introduction ofDan Gohman
2009-11-05Teach LoopUnroll how to bail if LoopSimplify can't give it what it needs.Dan Gohman
2009-11-05Delete an unused member variable.Dan Gohman
2009-11-05Add an assertion to catch indirectbr in SplitBlockPredecessors. ThisDan Gohman
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-02fix a bug exposed by moving SRoA earlier which caused a crash building kc++Chris Lattner
2009-11-01improve comment.Chris Lattner
2009-11-01change llvm::MergeBlockIntoPredecessor to not merge two blocks BB1->BB2 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-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-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-31Simplify this code.Dan Gohman
2009-10-31Update CMakeLists for recent renames.Dan Gohman
2009-10-31Rename UnrollLoop.cpp to LoopUnroll.cpp, and LoopUnroll.cpp toDan Gohman
2009-10-30Add a comment about a missed opportunity.Dan Gohman
2009-10-30Teach SimplifyCFG how to eliminate duplicate PHI nodes within a block.Dan Gohman
2009-10-29teach various passes about blockaddress. We no longerChris Lattner
2009-10-29teach ValueMapper about BlockAddress', making bugpoint a lot more useful.Chris Lattner
2009-10-29unindent massive blocks, no functionality change.Chris Lattner
2009-10-27Factor out redundancy from clone() implementations.Devang Patel
2009-10-27Rename MallocFreeHelper as MemoryBuiltinsVictor Hernandez
2009-10-27Fix a pretty serious misfeature of the inliner: if it inlines a functionChris Lattner
2009-10-26Rename MallocHelper as MallocFreeHelper, since it now also identifies calls t...Victor Hernandez
2009-10-26Remove FreeInst.Victor Hernandez
2009-10-25Remove includes of Support/Compiler.h that are no longer needed after theNick Lewycky