aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
AgeCommit message (Expand)AuthorFilesLines
2024-09-23[SimplifyCFG] Avoid truncation in linear map overflow checkNikita Popov1-2/+3
2024-09-23[SimplifyCFG] Don't separate a load/store from its gep during sinking (#102318)Nikita Popov1-0/+17
2024-09-21[X86,SimplifyCFG][NFC] Refactor code for #108812 (#109398)Phoebe Wang1-138/+143
2024-09-19[SimplifyCFG] Pass context instruction to isSafeToSpeculativelyExecute() (#10...Nikita Popov1-17/+15
2024-09-18[SimplifyCFG] Deduce paths unreachable if they cause div/rem UBNoah Goldstein1-0/+10
2024-09-17[SimplifyCFG] Mark div/rem as not-cheap to sink if we are replacing const den...Noah Goldstein1-0/+3
2024-09-17[SimplifyCFG] Swap range metadata to attribute for calls. (#108984)Andreas Jonson1-3/+4
2024-09-16[X86,SimplifyCFG] Use passthru to reduce select (#108754)Phoebe Wang1-4/+15
2024-09-04[SimplifyCFG] Use range-based for loops (NFC) (#107180)Kazu Hirata1-6/+6
2024-08-29[X86,SimplifyCFG] Support hoisting load/store with conditional faulting (Part...Shengchen Kan1-9/+155
2024-08-26[SimplifyCFG] Remove limitation on sinking of load/store of alloca (#104788)Nikita Popov1-15/+4
2024-08-22[SimplifyCFG] Fold switch over ucmp/scmp to icmp and br (#105636)Nikita Popov1-0/+116
2024-08-20[SimplifyCFG] Add support for hoisting commutative instructions (#104805)Nikita Popov1-1/+21
2024-08-19[SimplifyCFG] Don't block sinking for allocas if no phi created (#104579)Nikita Popov1-22/+21
2024-08-13[LLVM] Don't peek through bitcast on pointers and gep with zero indices. NFC....Yingwei Zheng1-4/+0
2024-08-03[NFC] Extract the probability check for the hoisted BB into a local functionShengchen Kan1-14/+20
2024-08-02[NFC] Lowercase the first letter of functions defined in SimplifyCFG.cppShengchen Kan1-151/+151
2024-07-29Revert "[SimplifyCFG] Skip threading if the target may have divergent branche...Jan Patrick Lehr1-15/+12
2024-07-26[SimplifyCFG] Skip threading if the target may have divergent branchesdarkbuck1-12/+15
2024-07-23[SimplifyCFG] Increase budget for FoldTwoEntryPHINode() if the branch is unpr...Tianqing Wang1-5/+11
2024-07-16[SimplifyCFG] Select the first instruction that we can handle in `passingValu...DianQK1-4/+24
2024-07-03[Transforms] Use range-based for loops (NFC) (#97576)Kazu Hirata1-2/+1
2024-07-01[SimplifyCFG] Simplify nested branches (#97067)Yingwei Zheng1-0/+93
2024-06-27[IR] Add getDataLayout() helpers to BasicBlock and Instruction (#96902)Nikita Popov1-2/+2
2024-06-27Reapply "[SimplifyCFG] Forward indirect switch condition value if it can help...DianQK1-1/+2
2024-06-27Revert "[SimplifyCFG] Forward indirect switch condition value if it can help ...DianQK1-2/+1
2024-06-27[SimplifyCFG] Forward indirect switch condition value if it can help fold the...DianQK1-1/+2
2024-06-24Revert "[IR][NFC] Update IRBuilder to use InsertPosition (#96497)"Stephen Tozer1-1/+1
2024-06-24[IR][NFC] Update IRBuilder to use InsertPosition (#96497)Stephen Tozer1-1/+1
2024-06-17[SimplifyCFG] Add support for sinking instructions with multiple uses (#95521)Nikita Popov1-14/+11
2024-06-14[llvm] Use llvm::unique (NFC) (#95628)Kazu Hirata1-1/+1
2024-06-14[SimplifyCFG] More accurate use legality check for sinking (#94462)Nikita Popov1-50/+36
2024-06-12Reapply "[llvm][IR] Extend BranchWeightMetadata to track provenance o… (#95...Paul Kirth1-10/+13
2024-06-11Revert "[llvm][IR] Extend BranchWeightMetadata to track provenance of weights...Paul Kirth1-13/+10
2024-06-10[llvm][IR] Extend BranchWeightMetadata to track provenance of weights (#86609)Paul Kirth1-10/+13
2024-06-08[SimplifyCFG] Don't use a mask for lookup tables generated from switches with...DaPorkchop_1-9/+21
2024-05-25Reland "[SimplifyCFG] `switch`: Do Not Transform the Default Case if the Cond...Qiongsi Wu1-0/+5
2024-05-25Reland "[SimplifyCFG] When only one case value is missing, replace default wi...DianQK1-7/+28
2024-05-09Replace uses of ConstantExpr::getCompare. (#91558)Eli Friedman1-4/+5
2024-05-08[RemoveDIs] Change remapDbgVariableRecord to remapDbgRecord (#91456)Harald van Dijk1-5/+4
2024-04-30[llvm][profdata][NFC] Support 64-bit weights in ProfDataUtils (#86607)Paul Kirth1-5/+2
2024-04-25[SimplifyCFG] Handle `llvm.assume` in `passingValueIsAlwaysUndefined` (#89929)Yingwei Zheng1-0/+7
2024-04-24[IR] Memory Model Relaxation Annotations (#78569)Pierre van Houtryve1-1/+9
2024-04-23[SimplifyCFG] Check alignment when speculating storesNikita Popov1-2/+3
2024-04-15[SimplifyCFG] Fix crash when there is unreachable large index (#88616)Allen1-1/+3
2024-03-19[RemoveDIs][NFC] Rename DPValue -> DbgVariableRecord (#85216)Stephen Tozer1-33/+36
2024-03-14[RemoveDIs][NFC] Move DPValue::filter -> filterDbgVars (#85208)Stephen Tozer1-1/+1
2024-03-13[RemoveDI][NFC] Rename DPValue->DbgRecord in comments and varnames (#84939)Stephen Tozer1-4/+5
2024-03-12[RemoveDIs][NFC] Rename common interface functions for DPValues->DbgRecords (...Stephen Tozer1-10/+10
2024-03-10Add llvm::min/max_element and use it in llvm/ and mlir/ directories. (#84678)Justin Lebar1-1/+1