aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/SimplifyCFG.cpp
AgeCommit message (Expand)Author
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-05Teach SimplifyCFG to turnFrits van Bommel
2010-10-24Fix PR8445: a block with no predecessors may be the entry block, in which caseDuncan Sands
2010-08-16Instead, teach SimplifyCFG to trim non-address-taken blocks fromDan Gohman
2010-08-14Teach SimplifyCFG how to simplify indirectbr instructions.Dan Gohman
2010-07-22pass dereferenced iterator to dyn_castGabor Greif
2010-07-15Remove unneeded check, and correct style.Owen Anderson
2010-07-14Extend SimplifyCFG's common-destination folding heuristic to allow a singleOwen Anderson
2010-07-12cache dereferenced iteratorsGabor Greif
2010-07-09cache result of operator*Gabor Greif
2010-03-30Fix a grammaro.Dan Gohman
2010-03-30fix two cases where the arguments were extracted from the wrong range out of ...Gabor Greif
2010-03-14Make returns more consistent with others.Bill Wendling
2010-02-16There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands
2010-02-15Uniformize the names of type predicates: rather than having isFloatTy andDuncan Sands
2010-02-05Teach SimplifyCFG about magic pointer constants.Jakob Stoklund Olesen
2010-01-05Convert a ton of simple integer type equality tests to the new predicate.Benjamin Kramer
2010-01-05Avoid going through the LLVMContext for type equality where it's safe to dere...Benjamin Kramer
2010-01-05Change errs() to dbgs().David Greene
2010-01-05Remove dead debug info intrinsics.Devang Patel
2009-12-02Move EliminateDuplicatePHINodes() from SimplifyCFG.cpp to Local.cppJim Grosbach
2009-11-19Make EliminateDuplicatePHINodes() available as a utility functionJim Grosbach
2009-11-10refactor TryToSimplifyUncondBranchFromEmptyBlock out of SimplifyCFG.Chris Lattner
2009-11-06remove a bunch of extraneous LLVMContext argumentsChris Lattner
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-13change simplifycfg to not duplicate 'unwind' instructions. HopefullyChris Lattner
2009-09-27Instruction::clone does not need to take an LLVMContext&. Remove that andNick Lewycky
2009-08-25Rename Instruction::isIdenticalTo to Instruction::isIdenticalToWhenDefined,Dan Gohman
2009-08-23Fix -Asserts warnings.Daniel Dunbar