aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils
AgeCommit message (Expand)Author
2010-12-14make FoldTwoEntryPHINode use instsimplify a bit, makeChris Lattner
2010-12-14remove the dead (and terrible) llvm::RemoveSuccessor function.Chris Lattner
2010-12-14improve DEBUG's a bit, switch to eraseFromParent() to simplifyChris Lattner
2010-12-14reapply my recent change that disables a piece of the switch formationChris Lattner
2010-12-13Fix recent buildbot breakage by pulling SimplifyCFG back to its state as of r...Owen Anderson
2010-12-13temporarily disable part of my previous patch, which causes an iterator inval...Chris Lattner
2010-12-13add some DEBUG's.Chris Lattner
2010-12-13Fix sort predicate. qsort(3)'s predicate semantics differ from std::sort's. F...Benjamin Kramer
2010-12-13reinstate my patch: the miscompile was caused by an inverted branch in theChris Lattner
2010-12-13Completely disable the optimization I added in r121680 untilChris Lattner
2010-12-13Make simplifycfg reprocess newly formed "br (cond1 | cond2)" conditionsChris Lattner
2010-12-13make this logic a bit simpler.Chris Lattner
2010-12-13split all the guts of SimplifyCFGOpt::run out into one functionChris Lattner
2010-12-13fix a bug in r121680 that upset the various buildbots.Chris Lattner
2010-12-13refactor the speculative execution logic to be factored into the cond branch ...Chris Lattner
2010-12-13simplify a bunch of code.Chris Lattner
2010-12-13move HoistThenElseCodeToIf up to a more logical and efficient-to-handle place.Chris Lattner
2010-12-13move 'MergeBlocksIntoPredecessor' call earlier. UseChris Lattner
2010-12-13factor new code out to a SimplifyBranchOnICmpChain helper function.Chris Lattner
2010-12-13enhance the "change or icmp's into switch" xform to handle one value in an Chris Lattner
2010-12-13merge two very similar functions into one that has a bool argument.Chris Lattner
2010-12-13don't bother handling non-canonical icmp'sChris Lattner
2010-12-13inline a function, making the result much simpler.Chris Lattner
2010-12-13Fix my previous patch to handle a degenerate case that the llvm-gccChris Lattner
2010-12-13convert some methods to be static functionsChris Lattner
2010-12-13zap two more std::sorts.Chris Lattner
2010-12-13fix a fairly serious oversight with switch formation fromChris Lattner
2010-12-13convert an std::sort to array_pod_sort.Chris Lattner
2010-12-13move the "br (X == 0 | X == 1), T, F" -> switch optimization to a newChris Lattner
2010-12-13reduce indentation and generally simplify code, no functionality change.Chris Lattner
2010-12-13use getFirstNonPHIOrDbg to simplify this code.Chris Lattner
2010-12-06improve commentChris Lattner
2010-12-05Teach SimplifyCFG to turnFrits van Bommel
2010-11-30remove the pointless check of MemoryUseIntrinsic fromChris Lattner
2010-11-23Replace calls to ConstantFoldInstruction with calls to SimplifyInstructionDuncan Sands
2010-11-22Don't keep track of inserted phis in PromoteMemoryToRegister: the informationDuncan Sands
2010-11-20Simplify code. No change in functionality.Benjamin Kramer
2010-11-18Factor code for testing whether replacing one value with anotherDuncan Sands
2010-11-17Have InlineFunction use SimplifyInstruction rather thanDuncan Sands
2010-11-17Have RemovePredecessorAndSimplify you SimplifyInstructionDuncan Sands
2010-11-16Have a few places that want to simplify phi nodes use SimplifyInstructionDuncan Sands
2010-10-29Inline asm multiple alternative constraints development phase 2 - improved ba...John Thompson
2010-10-24Fix PR8445: a block with no predecessors may be the entry block, in which caseDuncan Sands
2010-10-23Switch attribute macros to use 'LLVM_' as a prefix. We retain the old namesChandler Carruth
2010-10-19Passes do not need to recursively initialize passes that they preserve, ifOwen Anderson
2010-10-19Get rid of static constructors for pass registration. Instead, every pass ex...Owen Anderson
2010-10-18Transfer debug loc to lowered call.Devang Patel
2010-10-13Fix PR8313 by changing ValueToValueMap use a TrackingVH.Rafael Espindola
2010-10-13Be more consistent in using ValueToValueMapTy.Rafael Espindola
2010-10-12Begin adding static dependence information to passes, which will allow us toOwen Anderson