aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
AgeCommit message (Expand)AuthorFilesLines
2023-02-19Use APInt::getSignificantBits instead of APInt::getMinSignedBits (NFC)Kazu Hirata1-1/+1
2023-02-19Use APInt::popcount instead of APInt::countPopulation (NFC)Kazu Hirata1-2/+2
2023-02-19Revert "[SimplifyCFG] Check if the return instruction causes undefined behavior"DianQK1-14/+0
2023-02-19[SimplifyCFG] Check if the return instruction causes undefined behaviorDianQK1-0/+14
2023-02-18Revert "[SimplifyCFG] Check if the return instruction causes undefined behavior"Vitaly Buka1-14/+0
2023-02-18[SimplifyCFG] Check if the return instruction causes undefined behaviorDianQK1-0/+14
2023-01-30Revert "[llvm] Use llvm::bit_ceil (NFC)"Nikita Popov1-1/+1
2023-01-29[llvm] Use llvm::bit_ceil (NFC)Kazu Hirata1-1/+1
2023-01-28Use llvm::count{lr}_{zero,one} (NFC)Kazu Hirata1-2/+2
2023-01-13[SimplifyCFG] Reapply: when eliminating `unreachable` landing pads, mark `cal...Roman Lebedev1-1/+3
2023-01-13Deprecate DataLayout::getPrefTypeAlignmentGuillaume Chatelet1-1/+1
2023-01-13Revert "[SimplifyCFG] When eliminating `unreachable` landing pads, mark `call...Roman Lebedev1-1/+1
2023-01-13[SimplifyCFG] When eliminating `unreachable` landing pads, mark `call`s as `n...Roman Lebedev1-1/+1
2022-12-20Revert "Reland "[SimplifyCFG] `FoldBranchToCommonDest()`: deal with mismatche...Roman Lebedev1-153/+4
2022-12-17Reland "[SimplifyCFG] `FoldBranchToCommonDest()`: deal with mismatched IV's i...Roman Lebedev1-5/+154
2022-12-16Revert "[SimplifyCFG] `FoldBranchToCommonDest()`: deal with mismatched IV's i...Alexander Kornienko1-154/+5
2022-12-15[NFC] Rename Instruction::insertAt() to Instruction::insertInto(), to be cons...Vasileios Porpodas1-4/+4
2022-12-14Don't include Optional.hKazu Hirata1-1/+0
2022-12-14[Analysis] llvm::Optional => std::optionalFangrui Song1-1/+1
2022-12-12[NFC] Cleanup: Replaces BB->getInstList().insert() with I->insertAt().Vasileios Porpodas1-4/+4
2022-12-12[SimplifyCFG] `FoldBranchToCommonDest()`: deal with mismatched IV's in PHI's ...Roman Lebedev1-5/+154
2022-12-12Transforms/Utils: llvm::Optional => std::optionalFangrui Song1-2/+2
2022-12-09[SimplifyCFG] Prohibit hoisting of llvm.deoptimize callsDmitry Makogon1-0/+6
2022-12-04[NFC][SimplifyCFG] `shouldFoldCondBranchesToCommonDestination()`: report the ...Roman Lebedev1-7/+9
2022-12-02[Transforms] Use std::nullopt instead of None (NFC)Kazu Hirata1-4/+4
2022-12-01[NFC] Cleanup: Replaces BB->getInstList().splice() with BB->splice().Vasileios Porpodas1-8/+5
2022-11-26[Utils] Use std::optional in SimplifyCFG.cpp (NFC)Kazu Hirata1-1/+2
2022-11-18[Assignment Tracking][15/*] Account for assignment tracking in simplifycfgOCHyams1-7/+51
2022-11-04[SimplifyCFG] Allow speculating block containing assume()Nikita Popov1-2/+15
2022-11-03[SimplifyCFG] Use range based for loop (NFC)Nikita Popov1-11/+8
2022-11-03[SimplifyCFG] Extract code for tracking ephemeral values (NFC)Nikita Popov1-12/+28
2022-10-25Revert "reland e5581df60a35 [SimplifyCFG] accumulate bonus insts cost"Yaxun (Sam) Liu1-48/+18
2022-10-24reland e5581df60a35 [SimplifyCFG] accumulate bonus insts costYaxun (Sam) Liu1-18/+48
2022-09-19Revert "[SimplifyCFG] accumulate bonus insts cost"Nikita Popov1-44/+19
2022-09-18[SimplifyCFG] accumulate bonus insts costYaxun (Sam) Liu1-19/+44
2022-09-13[SimplifyCFG] Don't hoist allocasArthur Eubanks1-1/+3
2022-09-05[SimplifyCFG] Allow SimplifyCFG hoisting to skip over non-matching instructionsMomchil Velikov1-62/+151
2022-09-03[llvm] Use range-based for loops (NFC)Kazu Hirata1-7/+4
2022-08-27[Transforms] Qualify auto in range-based for loops (NFC)Kazu Hirata1-2/+2
2022-08-26[SimplifyCFG] Don't widen cond br if false branch has successorsDmitry Makogon1-0/+5
2022-08-18[CostModel] Replace getUserCost with getInstructionCostSimon Pilgrim1-4/+5
2022-08-15[SimplifyCFG] teach simplifycfg not to introduce ptrtoint for NI pointersJameson Nash1-1/+2
2022-08-14[Transforms] Qualify auto in range-based for loops (NFC)Kazu Hirata1-5/+5
2022-08-07[llvm] Fix comment typos (NFC)Kazu Hirata1-1/+1
2022-08-03[llvm][NFC] Refactor code to use ProfDataUtilsPaul Kirth1-18/+11
2022-08-01Revert "[SimplifyCFG] Allow SimplifyCFG hoisting to skip over non-matching in...Nikita Popov1-141/+61
2022-08-01[SimplifyCFG] Allow SimplifyCFG hoisting to skip over non-matching instructionsMomchil Velikov1-61/+141
2022-07-27Revert "[llvm][NFC] Refactor code to use ProfDataUtils"Paul Kirth1-11/+18
2022-07-27[llvm][NFC] Refactor code to use ProfDataUtilsPaul Kirth1-18/+11
2022-07-23[NFC] Switch a few uses of undef to poison as placeholders for unreachable codeNuno Lopes1-1/+1