aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
2010-02-01fix rdar://7590304, an infinite loop in instcombine. In the invokeChris Lattner
2010-02-01Fix pr6198 by moving the isSized() check to an outer conditional.Bob Wilson
2010-01-31Simplify/generalize the xor+add->sign-extend instcombine.Eli Friedman
2010-01-31Add a small transform: transform -(X<<Y) to (-X<<Y) when the shift has a singleEli Friedman
2010-01-31Do not mark no-return calls tail calls. It'll screw up special calls like lon...Evan Cheng
2010-01-30Check alignment of loads when deciding whether it is safe to execute themBob Wilson
2010-01-30Use more specific types to avoid casts. No functionality change.Bob Wilson
2010-01-29Keep iterating over all uses when meeting a phi node in AllUsesOfValueWillTra...Jakob Stoklund Olesen
2010-01-29Preserve load alignment in instcombine transformations. I've been unable toBob Wilson
2010-01-29Revert my last couple of patches. They appear to have broken bison.Eric Christopher
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-29Having RHSKnownZero and RHSKnownOne be alternative names for KnownZero and Kn...Duncan Sands
2010-01-29Make strcpy_chk lower to strcpy if we have a safe size.Eric Christopher
2010-01-29Add constant support to object size handling and remove defaultEric Christopher
2010-01-29Generic reformatting and comment fixing. No functionality change.Bill Wendling
2010-01-29Add newline to debugging output, and fix some grammar-os in comment.Bill Wendling
2010-01-29mem2reg erases the dbg.declare intrinsics that it converts to dbg.val intrinsicsVictor Hernandez
2010-01-28Fix PR6165. The bug was that LHSKnownZero was being and'd with DemandedMaskDuncan Sands
2010-01-27Avoid creating redundant PHIs in SSAUpdater::GetValueInMiddleOfBlock.Bob Wilson
2010-01-27Kill ModuleProvider and ghost linkage by inverting the relationship betweenJeffrey Yasskin
2010-01-27Don't bother with sprintf, just pass the Twine through.Benjamin Kramer
2010-01-27Use the less expensive getName function instead of getNameStr.Benjamin Kramer
2010-01-27some cleanups.Chris Lattner
2010-01-27no need to check for nullChris Lattner
2010-01-27When converting dbg.declare to dbg.value, attach promoted store's debug metad...Victor Hernandez
2010-01-26Avoid extra calls to MD->getNumOperands()Victor Hernandez
2010-01-26Switch AllocaDbgDeclares to SmallVector and don't leak DIFactoryVictor Hernandez
2010-01-26In mem2reg, for all alloca/stores that get promoted where the alloca has an a...Victor Hernandez
2010-01-25Remove check for an impossible condition: the condition of the while loop hasBob Wilson
2010-01-25Change Value::getUnderlyingObject to have the MaxLookup value specified as aBob Wilson
2010-01-25Revert r94260 until findDbgDeclare() is made more efficientVictor Hernandez
2010-01-24make -fno-rtti the default unless a directory builds with REQUIRES_RTTI.Chris Lattner
2010-01-24change the canonical form of "cond ? -1 : 0" to be Chris Lattner
2010-01-23fix a potential overflow issue Eli pointed out.Chris Lattner
2010-01-23Speculatively revert r94322 to see if it fixes darwin selfhost buildbot.Nick Lewycky
2010-01-23third bug from PR6119: the xor dupe extension allowsChris Lattner
2010-01-23Teach DAE that even though it can't modify the function signature of anNick Lewycky
2010-01-23add an early out to ProcessBranchOnXOR to speed it up,Chris Lattner
2010-01-23fix a crash in jump threading, PR6119Chris Lattner
2010-01-23implement a simple instcombine xform that has been in theChris Lattner
2010-01-23Reapply 94059 while fixing the calling convention setupEric Christopher
2010-01-23In mem2reg, for all alloca/stores that get promoted where the alloca has an a...Victor Hernandez
2010-01-22Another strncmp -> StringRef.startswith simplification.Benjamin Kramer
2010-01-22Revert 94059. It is breaking the MultiSource/Benchmarks/Prolangs-C/bisonBob Wilson
2010-01-22Keep ignoring pointer-to-pointer bitcastsVictor Hernandez
2010-01-22Stop building RTTI information for *most* llvm libraries. NotableChris Lattner
2010-01-22Revert LoopStrengthReduce.cpp to pre-r94061 for now.Dan Gohman
2010-01-21No need to look through bitcasts for DbgInfoIntrinsicVictor Hernandez
2010-01-21DbgInfoIntrinsic no longer appear in an instruction's use listVictor Hernandez