aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/LoopUnswitch.cpp
AgeCommit message (Expand)Author
2009-11-25Reverting patch in revision 89758, initial attempt at fixing PR5373 has prove...Edward O'Callaghan
2009-11-24Fix for PR5373, Credit to Jakub Staszak.Edward O'Callaghan
2009-11-06remove a bunch of extraneous LLVMContext argumentsChris Lattner
2009-11-05Update various Loop optimization passes to cope with the possibility thatDan Gohman
2009-11-01if CostMetrics says to never duplicate some code, don't unswitch a loop.Chris Lattner
2009-10-20Restore LoopUnswitch's block-oriented threshold. LoopUnswitch now checks bothDan Gohman
2009-10-14Use isVoidTy()Devang Patel
2009-10-13Check void type before using RAUWd.Devang Patel
2009-10-13Do not check use_empty() before replaceAllUsesWith(). This gives ValueHandles...Devang Patel
2009-10-13Use the new CodeMetrics class to compute code size instead ofDan Gohman
2009-10-13Make LoopUnswitch's cost estimation count Instructions, rather thanDan Gohman
2009-09-09Reflow comment.Mike Stump
2009-09-09Fix an 80-column violation.Dan Gohman
2009-09-08Re-apply r80926, with fixes: keep the domtree informed of new blocksDan Gohman
2009-09-06Revert r80926. It causes loop unswitch assertion and slow down some JIT tests...Evan Cheng
2009-09-03Add a verifyAnalysis to LoopInfo, LoopSimplify, and LCSSA form that verifyDan Gohman
2009-09-02eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861Chris Lattner
2009-08-23eliminate the "Value" printing methods that print to a std::ostream.Chris Lattner
2009-08-13Push LLVMContexts through the IntegerType APIs.Owen Anderson
2009-07-31Move getTrue() and getFalse() to 2.5-like APIs.Owen Anderson
2009-07-30Move more code back to 2.5 APIs.Owen Anderson
2009-07-25More migration to raw_ostream, the water has dried up around the iostream hole.Daniel Dunbar
2009-07-24Revert the ConstantInt constructors back to their 2.5 forms where possible, t...Owen Anderson
2009-07-22Get rid of the Pass+Context magic.Owen Anderson
2009-07-21Rename getConstantInt{True|False} to get{True|False} at Chris' behest.Owen Anderson
2009-07-15Make makeLoopInvariant report whether it made any changes or not,Dan Gohman
2009-07-14Update LoopSimplify and LoopUnswitch to use the new makeLoopInvariantDan Gohman
2009-07-09This started as a small change, I swear. Unfortunately, lots of things call ...Owen Anderson
2009-07-06Thread LLVMContext through the constant folding APIs, which touches a lot of ...Owen Anderson
2009-07-03Second batch of passes using LLVMContext.Owen Anderson
2009-05-06Allow readonly functions to unwind exceptions. TeachDuncan Sands
2009-03-19Remove strange extra semicolons.Nick Lewycky
2009-02-03If "optimize for size" attribute is set then block non-trivial loop unswitche...Devang Patel
2009-01-28Rename getAnalysisToUpdate to getAnalysisIfAvailable.Duncan Sands
2008-12-08Undo previous patch. Devang Patel
2008-12-01switch a couple more calls to use array_pod_sort.Chris Lattner
2008-11-03Ignore conditions that are outside the loop.Devang Patel
2008-10-22Change create*Pass factory functions to return Pass* instead ofDaniel Dunbar
2008-10-17Use 0 instead of false to return a null pointer.Dan Gohman
2008-09-26Implement function notes as function attributes. Devang Patel
2008-09-25 Large mechanical patch.Devang Patel
2008-09-24Put FN_NOTE_AlwaysInline and others in FnAttr namespace.Devang Patel
2008-09-23Move FN_NOTE_AlwaysInline and other out of ParamAttrs namespace.Devang Patel
2008-09-23Use parameter attribute store (soon to be renamed) forDevang Patel
2008-09-22Add hasNote() to check note associated with a function.Devang Patel
2008-09-04A loop may be unswitched multiple times. Reconstruct dom info. at the end.Devang Patel
2008-09-04Initialize loop data first.Devang Patel
2008-09-04Do not unswitch if the function notes say we're optimizing this function for ...Devang Patel
2008-09-04Tidy up several unbeseeming casts from pointer to intptr_t.Dan Gohman
2008-07-03Do not try to update dominator info while manipulating CFG. This code does n...Devang Patel