aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LowerSwitch.cpp
AgeCommit message (Expand)AuthorFilesLines
2016-08-12Use the range variant of remove_if instead of unpacking begin/endDavid Majnemer1-4/+4
2016-06-25It isn't meaningful for a transform to preserve another transform. NFC.Michael Kuperstein1-6/+0
2016-06-24Switch more loops to be range-basedDavid Majnemer1-2/+2
2015-10-13TransformUtils: Remove implicit ilist iterator conversions, NFCDuncan P. N. Exon Smith1-7/+6
2015-09-16don't repeat function names in comments; NFCSanjay Patel1-29/+24
2015-08-11[LowerSwitch] Skip dead blocks for processSwitchInst()Chen Li1-4/+10
2015-08-11[LowerSwitch] Fix a bug when LowerSwitch deletes the default blockChen Li1-5/+10
2015-08-08Fix some comment typos.Benjamin Kramer1-3/+3
2015-06-23Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)Alexander Kornienko1-1/+1
2015-06-20[SwitchLowering] Remove quadratic vector removal.Benjamin Kramer1-12/+12
2015-06-20LowerSwitch: Avoid some undefined behaviourJustin Bogner1-1/+2
2015-06-19Fixed/added namespace ending comments using clang-tidy. NFCAlexander Kornienko1-1/+1
2015-03-23Re-sort includes with sort-includes.py and insert raw_ostream.h where it's used.Benjamin Kramer1-2/+2
2015-03-17[SwitchLowering] Remove incoming values in the reverse orderMichael Liao1-1/+6
2015-02-05LowerSwitch: Use ConstantInt for CaseRange::{Low,High}Hans Wennborg1-20/+20
2015-02-05LowerSwitch: remove default args from CaseRange ctor; NFCHans Wennborg1-3/+2
2015-01-28[LPM] Stop using the string based preservation API. It is anChandler Carruth1-1/+0
2015-01-23LowerSwitch: replace unreachable default with popular case destinationHans Wennborg1-63/+135
2014-12-02[SwitchLowering] Handle destinations on multiple phi instructionsBruno Cardoso Lopes1-2/+3
2014-11-28[SwitchLowering] Handle multiple destinations on condensed case stmtsBruno Cardoso Lopes1-12/+29
2014-11-10[SwitchLowering] Fix the "fixPhis" function.Juergen Ributzka1-8/+15
2014-07-11Fixup PHIs in LowerSwitch when a Leaf node is not emitted.Marcello Maggioni1-10/+31
2014-06-16LowerSwitch: track bounding range for the condition tree.Jim Grosbach1-27/+102
2014-04-25[C++] Use 'nullptr'. Transforms edition.Craig Topper1-2/+3
2014-04-21[Modules] Make Support/Debug.h modular. This requires it to not changeChandler Carruth1-0/+2
2014-03-05[C++11] Add 'override' keyword to virtual methods that override their base cl...Craig Topper1-3/+3
2014-03-02[C++11] Replace llvm::next and llvm::prior with std::next and std::prev.Benjamin Kramer1-1/+2
2013-09-09Revert patches to add case-range support for PR1255.Bob Wilson1-22/+40
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth1-4/+4
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth1-2/+2
2012-07-04Reverted r156659, due to probable performance regressions, DenseMap should be...Stepan Dyatkovskiy1-5/+4
2012-07-03Part of r159527. Splitted into series of patches and gone with fixed PR13256:Stepan Dyatkovskiy1-4/+5
2012-07-02Revert "IntRange:" as it appears to be breaking self hosting.Eric Christopher1-5/+4
2012-07-02IntRange:Stepan Dyatkovskiy1-4/+5
2012-06-02PR1255: case ranges.Stepan Dyatkovskiy1-3/+3
2012-05-29ConstantRangesSet renamed to IntegersSubset. CRSBuilder renamed to IntegersSu...Stepan Dyatkovskiy1-5/+5
2012-05-28PR1255: Case RangesStepan Dyatkovskiy1-1/+5
2012-05-24PR1255 related changes (case ranges):Stepan Dyatkovskiy1-40/+18
2012-03-11llvm::SwitchInstStepan Dyatkovskiy1-1/+1
2012-03-08Taken into account Duncan's comments for r149481 dated by 2nd Feb 2012:Stepan Dyatkovskiy1-4/+4
2012-02-01SwitchInst refactoring.Stepan Dyatkovskiy1-5/+5
2011-09-29Clean up uses of switch instructions so they are not dependent on the operand...Eli Friedman1-2/+2
2011-04-15Fix a ton of comment typos found by codespell. Patch byChris Lattner1-1/+1
2010-10-23Switch attribute macros to use 'LLVM_' as a prefix. We retain the old namesChandler Carruth1-1/+2
2010-10-19Get rid of static constructors for pass registration. Instead, every pass ex...Owen Anderson1-1/+3
2010-10-07Now with fewer extraneous semicolons!Owen Anderson1-1/+1
2010-08-23Now that PassInfo and Pass::ID have been separated, move the rest of the pass...Owen Anderson1-2/+2
2010-08-18remove some dead code.Chris Lattner1-4/+2
2010-08-06Eliminate PromoteMemoryToRegisterID; just use addPreserved("mem2reg")Dan Gohman1-1/+1
2010-08-06Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson1-2/+2