aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/Local.cpp
AgeCommit message (Expand)Author
2010-08-14Teach SimplifyCFG how to simplify indirectbr instructions.Dan Gohman
2010-07-15make various clients of ReplaceAndSimplifyAllUses tolerate Chris Lattner
2010-07-12cache dereferenced iteratorsGabor Greif
2010-05-28Move FindAvailableLoadedValue isSafeToLoadUnconditionally out ofDan Gohman
2010-02-16There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands
2010-02-15fix PR6305 by handling BlockAddress in a helper functionChris Lattner
2010-02-01Fix pr6198 by moving the isSized() check to an outer conditional.Bob Wilson
2010-01-30Check alignment of loads when deciding whether it is safe to execute themBob Wilson
2010-01-29Use uint64_t instead of unsigned for offsets and sizes.Bob Wilson
2010-01-29Improve isSafeToLoadUnconditionally to recognize that GEPs with constantBob Wilson
2010-01-21DbgInfoIntrinsics no longer appear in an instruction's use list; so clean up ...Victor Hernandez
2010-01-12add a helper function.Chris Lattner
2010-01-05Nick Lewycky pointed out that this code makes changes unconditionally.Dan Gohman
2010-01-05Use do+while instead of while for loops which obviously have aDan Gohman
2010-01-05Make RecursivelyDeleteTriviallyDeadInstructions,Dan Gohman
2010-01-05Change errs() to dbgs().David Greene
2009-12-29prune #includes.Chris Lattner
2009-12-02Move EliminateDuplicatePHINodes() from SimplifyCFG.cpp to Local.cppJim Grosbach
2009-11-11Don't trivially delete unused calls to llvm.invariant.start. This allowsDuncan Sands
2009-11-10move some generally useful functions out of jump threadingChris Lattner
2009-11-10refactor TryToSimplifyUncondBranchFromEmptyBlock out of SimplifyCFG.Chris Lattner
2009-11-03remove a isFreeCall check: it is a callinst that can write to memory already.Chris Lattner
2009-11-01constant fold indirectbr(blockaddress(%bb)) -> br label %bb.Chris Lattner
2009-10-27Rename MallocFreeHelper as MemoryBuiltinsVictor Hernandez
2009-10-26Rename MallocHelper as MallocFreeHelper, since it now also identifies calls t...Victor Hernandez
2009-10-26Remove FreeInst.Victor Hernandez
2009-10-24Auto-upgrade free instructions to calls to the builtin free function.Victor Hernandez
2009-09-16Preserve ProfileInfo during CodeGenPrepare.Andreas Neustifter
2009-07-30Move more code back to 2.5 APIs.Owen Anderson
2009-07-22Get rid of the Pass+Context magic.Owen Anderson
2009-07-09This started as a small change, I swear. Unfortunately, lots of things call ...Owen Anderson
2009-07-06"LLVMContext* " --> "LLVMContext *"Owen Anderson
2009-07-05More LLVMContext-ification.Owen Anderson
2009-06-26Remove unused routines.Devang Patel
2009-06-16Generalize instcombine's isSafeToLoadUnconditionally() functionChris Lattner
2009-05-06Simplify code by using SmallVector's pop_back_val() instead ofDan Gohman
2009-05-06Allow readonly functions to unwind exceptions. TeachDuncan Sands
2009-05-04Re-apply 70645, converting ScalarEvolution to useDan Gohman
2009-05-03Revert r70645 for now; it's causing a variety of regressions.Dan Gohman
2009-05-02Convert ScalarEvolution to use CallbackVH for its internal map. ThisDan Gohman
2009-05-02Previously, RecursivelyDeleteDeadInstructions provided an optionDan Gohman
2009-03-18Revert my previous change on Local.cpp, instead, fix the bug on scalarrepl.Zhou Sheng
2009-03-18Fix a bug.Zhou Sheng
2009-03-06Add "check/remove dbg var" helper routines.Devang Patel
2009-03-03Marking debug info intrinsics as not touching memoryDale Johannesen
2009-02-10Enable scalar replacement of AllocaInst whose one of the user is dbg info.Devang Patel
2009-02-05Revert rev. 63876. It is causing llvm-gcc bootstrap failure.Devang Patel
2009-02-05Ignore dbg intrinsics while propagating conditional expression info.Devang Patel
2009-01-30use precise gettersGabor Greif
2008-11-28rewrite RecursivelyDeleteTriviallyDeadInstructions to use a more efficientChris Lattner