aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
AgeCommit message (Expand)AuthorFilesLines
2025-06-17[llvm] Lower latency bonus threshold in function specialization. (#143954)Slava Zakharin1-1/+1
2025-04-23[CostModel] Remove optional from InstructionCost::getValue() (#135596)David Green1-2/+2
2025-01-25[IPSCCP][FuncSpec] Protect against metadata access from call args. (#124284)David Green1-0/+2
2025-01-08[LLVM] Fix various cl::desc typos and whitespace issues (NFC) (#121955)Ryan Mansfield1-7/+7
2024-11-06[FuncSpec] Query SCCPSolver in more places (#114964)Hari Limaye1-21/+21
2024-11-04[FuncSpec] Improve handling of BinaryOperator instructions (#114534)Hari Limaye1-8/+9
2024-11-04[FuncSpec] Improve handling of Comparison Instructions (#114073)Hari Limaye1-8/+16
2024-11-04[FuncSpec] Handle ssa_copy intrinsic calls in InstCostVisitor (#114247)Hari Limaye1-4/+8
2024-10-29[FuncSpec] Improve accounting of specialization codesize growth (#113448)Hari Limaye1-19/+22
2024-10-29[FuncSpec] Enable SpecializeLiteralConstant by default (#113442)Hari Limaye1-11/+9
2024-10-28Check hasOptSize() in shouldOptimizeForSize() (#112626)Ellis Hoag1-2/+1
2024-10-23[FuncSpec] Only compute Latency bonus when necessary (#113159)Hari Limaye1-43/+102
2024-10-18[FuncSpec] Update MinFunctionSize logic (#112711)Hari Limaye1-5/+10
2024-10-09[FuncSpec] Improve estimation of select instruction. (#111176)Alexandros Lamprineas1-7/+10
2024-08-13[LLVM] Don't peek through bitcast on pointers and gep with zero indices. NFC....Yingwei Zheng1-5/+0
2024-06-12FunctionSpecialization: Make the ordering of BestSpecs stricterHans Wennborg1-1/+3
2023-11-22[FuncSpec] Update function specialization to handle phi-chains (#72903)Mats Petersson1-14/+94
2023-11-06[IPO] Remove unnecessary bitcasts (NFC)Nikita Popov1-3/+0
2023-10-05Use BlockFrequency type in more places (NFC) (#68266)Matthias Braun1-1/+1
2023-09-19[FuncSpec] Adjust the names of specializations and promoted stack valuesAlexandros Lamprineas1-3/+4
2023-08-26[NFC][FuncSpec] Update the description of function specialization.Alexandros Lamprineas1-39/+0
2023-08-22[FuncSpec] Increase the maximum number of times the specializer can run.Alexandros Lamprineas1-2/+12
2023-08-10[llvm] Use DenseMap::lookup (NFC)Kazu Hirata1-3/+1
2023-08-09[FuncSpec] Rework the discardment logic for unprofitable specializations.Alexandros Lamprineas1-35/+70
2023-08-07[FuncSpec] Estimate dead blocks more accurately.Alexandros Lamprineas1-17/+33
2023-08-02Reland [FuncSpec] Split the specialization bonus into CodeSize and Latency.Alexandros Lamprineas1-69/+68
2023-07-31Reland [FuncSpec] Add Phi nodes to the InstCostVisitor.Alexandros Lamprineas1-7/+83
2023-07-27Revert "[FuncSpec] Add Phi nodes to the InstCostVisitor."Douglas Yung1-83/+7
2023-07-27[FuncSpec] Add Phi nodes to the InstCostVisitor.Alexandros Lamprineas1-7/+83
2023-07-26Revert "[FuncSpec] Add Phi nodes to the InstCostVisitor."Alexandros Lamprineas1-129/+60
2023-07-26[FuncSpec] Split the specialization bonus into CodeSize and Latency.Alexandros Lamprineas1-68/+67
2023-07-25[FuncSpec][NFC] Leave a comment for future improvements.Alexandros Lamprineas1-0/+3
2023-07-25[FuncSpec] Add Phi nodes to the InstCostVisitor.Alexandros Lamprineas1-6/+76
2023-07-14[FuncSpec][NFC] Sink cast into function.Alexandros Lamprineas1-17/+7
2023-07-11[FuncSpec] Prefer DataLayout-aware constant folding of GEPs.Alexandros Lamprineas1-6/+3
2023-06-30[FuncSpec] Avoid crashing when SwitchInst doesn't see ConstantIntVincent Lee1-1/+4
2023-06-19[FuncSpec] Promote stack values before specialization.Alexandros Lamprineas1-74/+54
2023-06-19[FuncSpec] Add Freeze and CallBase to the InstCostVisitor.Alexandros Lamprineas1-0/+28
2023-06-08Reland "[FuncSpec] Improve the accuracy of the cost model"Alexandros Lamprineas1-41/+219
2023-06-08Reland "[FuncSpec] Replace LoopInfo with BlockFrequencyInfo"Alexandros Lamprineas1-19/+14
2023-05-30Revert "[FuncSpec] Replace LoopInfo with BlockFrequencyInfo"Nikita Popov1-260/+52
2023-05-25[FuncSpec] Enable specialization of literal constants.Alexandros Lamprineas1-9/+44
2023-05-24[FuncSpec] Improve the accuracy of the cost model.Alexandros Lamprineas1-41/+219
2023-05-22[FuncSpec] Replace LoopInfo with BlockFrequencyInfo.Alexandros Lamprineas1-18/+13
2023-05-09[FuncSpec][NFC] Rename cryptic variable to better describe it.Alexandros Lamprineas1-6/+4
2023-05-09[FuncSpec][NFC] Add an alias for InstructionCost.Alexandros Lamprineas1-28/+28
2023-05-05[FuncSpec] Fix inconsistent treatment of global variablesMomchil Velikov1-11/+9
2023-04-24[FuncSpec] Track the return values of specializations.Alexandros Lamprineas1-2/+29
2023-04-20[FuncSpec] Relax restrictions on candidates for specialisationMomchil Velikov1-5/+10
2023-04-17[FuncSpec] Consider constant struct arguments when specializing.Alexandros Lamprineas1-35/+19