aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LowerSwitch.cpp
AgeCommit message (Expand)AuthorFilesLines
2020-12-17[Transforms] Use llvm::erase_if (NFC)Kazu Hirata1-4/+2
2020-11-16[Transforms] Use pred_empty (NFC)Kazu Hirata1-1/+1
2020-09-27[LVI] Require context instruction in external API (NFCI)Nikita Popov1-1/+1
2020-09-15[LowerSwitch][NewPM] Port lowerswitch to NPMArthur Eubanks1-202/+191
2020-07-24Revert rG5dd566b7c7b78bd- "PassManager.h - remove unnecessary Function.h/Modu...Simon Pilgrim1-1/+0
2020-07-24PassManager.h - remove unnecessary Function.h/Module.h includes. NFCI.Simon Pilgrim1-0/+1
2020-05-19[LVI] Don't require DominatorTree in LVI (NFC)Nikita Popov1-7/+0
2019-11-13Sink all InitializePasses.h includesReid Kleckner1-0/+1
2019-07-16Fix parameter name comments using clang-tidy. NFC.Rui Ueyama1-1/+1
2019-06-03Fix a crash when the default of a switch is removedAndrew Kaylor1-0/+5
2019-04-12Use llvm::lower_bound. NFCFangrui Song1-3/+2
2019-04-11Revert "Use llvm::lower_bound. NFC"Ali Tamur1-2/+3
2019-04-11Use llvm::lower_bound. NFCFangrui Song1-3/+2
2019-03-23[LowerSwitch] Use ConstantRange::fromKnownBits(); NFCNikita Popov1-9/+3
2019-02-22[LowerSwitch][AMDGPU] Do not handle impossible valuesRoman Tereshin1-68/+137
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-09-27llvm::sort(C.begin(), C.end(), ...) -> llvm::sort(C, ...)Fangrui Song1-1/+1
2018-07-10[LowerSwitch] Fixed faulty PHI nodesKarl-Johan Karlsson1-3/+11
2018-05-22[LowerSwitch] Fixed faulty PHI node updateKarl-Johan Karlsson1-9/+9
2018-05-14Rename DEBUG macro to LLVM_DEBUG.Nicola Zaghen1-22/+15
2018-05-05Simplify LLVM_ATTRIBUTE_USED call sites.Fangrui Song1-5/+2
2018-05-01Remove \brief commands from doxygen comments.Adrian Prantl1-1/+1
2018-04-13[Transforms] Change std::sort to llvm::sort in response to r327219Mandeep Singh Grang1-1/+1
2018-03-28Transforms: Introduce Transforms/Utils.h rather than spreading the declaratio...David Blaikie1-1/+1
2017-10-21[Transforms] Fix some Clang-tidy modernize and Include What You Use warnings;...Eugene Zelenko1-32/+55
2017-06-06Sort the remaining #include lines in include/... and lib/....Chandler Carruth1-1/+1
2017-04-21LowerSwitch: Fix producing invalid IR on unreachable codeMatt Arsenault1-0/+8
2017-04-12[IR] Redesign the case iterator in SwitchInst to actually be an iteratorChandler Carruth1-4/+4
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