summaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LowerSwitch.cpp
AgeCommit message (Expand)Author
2025-06-03[ValueTracking] Make Depth last default arg (NFC) (#142384)Ramkumar Ramachandra
2025-04-03[IR][NFC] Use `SwitchInst::defaultDestUnreachable` (#134199)Yingwei Zheng
2024-11-04[Utils] Remove unused includes (NFC) (#114748)Kazu Hirata
2024-07-14[NFC] Fix some typos (#98791)c8ef
2024-06-28[IR] Add getDataLayout() helpers to Function and GlobalValue (#96919)Nikita Popov
2024-05-27[LowerSwitch] Use unsigned integer for range comparison (#93237)Peter Rong
2024-03-04[RemoveDIs] Reapply 3fda50d3915, insert instructions using iteratorsJeremy Morse
2024-02-29Revert "[NFC][RemoveDIs] Bulk update utilities to insert with iterators"Jeremy Morse
2024-02-29[NFC][RemoveDIs] Bulk update utilities to insert with iteratorsJeremy Morse
2023-12-12[LVI] Make UndefAllowed argument of getConstantRange() requiredNikita Popov
2023-12-09[Transforms] Remove unnecessary includes (NFC)Kazu Hirata
2023-01-24[Transform] Rewrite LowerSwitch using APIntPeter Rong
2023-01-05[Transform] Rewrite LowerSwitch using APIntPeter Rong
2023-01-02precommit formatting of LowerSwitch.cpp for D140747Peter Rong
2022-12-15[NFC] Rename Instruction::insertAt() to Instruction::insertInto(), to be cons...Vasileios Porpodas
2022-12-15[NFC] Rename Function::insertBasicBlockAt() to Function::insert().Vasileios Porpodas
2022-12-12[IR][NFC] Adds Function::insertBasicBlockAt() to replace things like F->getBa...Vasileios Porpodas
2022-12-12[NFC] Cleanup: Replaces BB->getInstList().insert() with I->insertAt().Vasileios Porpodas
2022-11-23[NFC] Replaced BB->getInstList().{erase(),pop_front(),pop_back()} with eraseF...Vasileios Porpodas
2022-04-14LowerSwitch: Avoid inserting NewDefault blockRuiling Song
2021-09-15[Transforms] Use make_early_inc_range (NFC)Kazu Hirata
2020-12-17[Transforms] Use llvm::erase_if (NFC)Kazu Hirata
2020-11-16[Transforms] Use pred_empty (NFC)Kazu Hirata
2020-09-27[LVI] Require context instruction in external API (NFCI)Nikita Popov
2020-09-15[LowerSwitch][NewPM] Port lowerswitch to NPMArthur Eubanks
2020-07-24Revert rG5dd566b7c7b78bd- "PassManager.h - remove unnecessary Function.h/Modu...Simon Pilgrim
2020-07-24PassManager.h - remove unnecessary Function.h/Module.h includes. NFCI.Simon Pilgrim
2020-05-19[LVI] Don't require DominatorTree in LVI (NFC)Nikita Popov
2019-11-13Sink all InitializePasses.h includesReid Kleckner
2019-07-16Fix parameter name comments using clang-tidy. NFC.Rui Ueyama
2019-06-03Fix a crash when the default of a switch is removedAndrew Kaylor
2019-04-12Use llvm::lower_bound. NFCFangrui Song
2019-04-11Revert "Use llvm::lower_bound. NFC"Ali Tamur
2019-04-11Use llvm::lower_bound. NFCFangrui Song
2019-03-23[LowerSwitch] Use ConstantRange::fromKnownBits(); NFCNikita Popov
2019-02-22[LowerSwitch][AMDGPU] Do not handle impossible valuesRoman Tereshin
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth
2018-09-27llvm::sort(C.begin(), C.end(), ...) -> llvm::sort(C, ...)Fangrui Song
2018-07-10[LowerSwitch] Fixed faulty PHI nodesKarl-Johan Karlsson
2018-05-22[LowerSwitch] Fixed faulty PHI node updateKarl-Johan Karlsson
2018-05-14Rename DEBUG macro to LLVM_DEBUG.Nicola Zaghen
2018-05-05Simplify LLVM_ATTRIBUTE_USED call sites.Fangrui Song
2018-05-01Remove \brief commands from doxygen comments.Adrian Prantl
2018-04-13[Transforms] Change std::sort to llvm::sort in response to r327219Mandeep Singh Grang
2018-03-28Transforms: Introduce Transforms/Utils.h rather than spreading the declaratio...David Blaikie
2017-10-21[Transforms] Fix some Clang-tidy modernize and Include What You Use warnings;...Eugene Zelenko
2017-06-06Sort the remaining #include lines in include/... and lib/....Chandler Carruth
2017-04-21LowerSwitch: Fix producing invalid IR on unreachable codeMatt Arsenault
2017-04-12[IR] Redesign the case iterator in SwitchInst to actually be an iteratorChandler Carruth
2016-08-12Use the range variant of remove_if instead of unpacking begin/endDavid Majnemer