aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LowerSwitch.cpp
AgeCommit message (Expand)AuthorFilesLines
2024-07-14[NFC] Fix some typos (#98791)c8ef1-1/+1
2024-06-28[IR] Add getDataLayout() helpers to Function and GlobalValue (#96919)Nikita Popov1-1/+1
2024-05-27[LowerSwitch] Use unsigned integer for range comparison (#93237)Peter Rong1-1/+1
2024-03-04[RemoveDIs] Reapply 3fda50d3915, insert instructions using iteratorsJeremy Morse1-5/+5
2024-02-29Revert "[NFC][RemoveDIs] Bulk update utilities to insert with iterators"Jeremy Morse1-5/+5
2024-02-29[NFC][RemoveDIs] Bulk update utilities to insert with iteratorsJeremy Morse1-5/+5
2023-12-12[LVI] Make UndefAllowed argument of getConstantRange() requiredNikita Popov1-1/+2
2023-12-09[Transforms] Remove unnecessary includes (NFC)Kazu Hirata1-1/+0
2023-01-24[Transform] Rewrite LowerSwitch using APIntPeter Rong1-10/+11
2023-01-05[Transform] Rewrite LowerSwitch using APIntPeter Rong1-44/+51
2023-01-02precommit formatting of LowerSwitch.cpp for D140747Peter Rong1-14/+13
2022-12-15[NFC] Rename Instruction::insertAt() to Instruction::insertInto(), to be cons...Vasileios Porpodas1-1/+1
2022-12-15[NFC] Rename Function::insertBasicBlockAt() to Function::insert().Vasileios Porpodas1-2/+2
2022-12-12[IR][NFC] Adds Function::insertBasicBlockAt() to replace things like F->getBa...Vasileios Porpodas1-2/+2
2022-12-12[NFC] Cleanup: Replaces BB->getInstList().insert() with I->insertAt().Vasileios Porpodas1-1/+1
2022-11-23[NFC] Replaced BB->getInstList().{erase(),pop_front(),pop_back()} with eraseF...Vasileios Porpodas1-1/+1
2022-04-14LowerSwitch: Avoid inserting NewDefault blockRuiling Song1-18/+25
2021-09-15[Transforms] Use make_early_inc_range (NFC)Kazu Hirata1-6/+4
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