summaryrefslogtreecommitdiff
path: root/llvm/lib/IR/ConstantFold.cpp
AgeCommit message (Expand)Author
2025-10-14[ConstantFold] Support ptrtoaddr in global alignment foldNikita Popov
2025-10-07[IR] Require DataLayout for pointer cast elimination (#162279)Nikita Popov
2025-08-08[IR] Introduce the `ptrtoaddr` instructionAlexander Richardson
2025-06-10[ConstantFolding] Fold scalable shufflevector of poison/undef. (#143475)Craig Topper
2025-06-03[ConstantFold] Constant fold icmp of boolean scalable vectors (#142528)Yingwei Zheng
2025-04-03[ConstantFold] Support scalable constant splats in ConstantFoldCastInstructio...Luke Lau
2024-12-16[LLVM][ConstantFold] Remove remaining uses of ConstantInt/FP::get(LLVMContext...Paul Walker
2024-11-21[LLVM][IR] Refactor ConstantFold:FoldBitCast to fully support vector Constant...Paul Walker
2024-11-13[LLVM][IR] Teach constant integer binop folds about vector ConstantInts. (#11...Paul Walker
2024-11-02[IR] Remove unused includes (NFC) (#114679)Kazu Hirata
2024-11-01[InstSimplify][InstCombine][ConstantFold] Move vector div/rem by zero fold to...Yingwei Zheng
2024-10-25[InstCombine] Fix a cycle when folding fneg(select) with scalable vector type...ssijaric-nv
2024-10-08[LLVM][ConstFolds] Verify a scalar src before attempting scalar->vector bitca...Paul Walker
2024-10-01[ConstantFold][RFC] Add AllowLHSConstant parameter in getBinOpAbsorber (#109736)eric-xtang1008
2024-07-25Remove the `x86_mmx` IR type. (#98505)James Y Knight
2024-06-20[IR] Remove support for shl constant expressions (#96037)Nikita Popov
2024-06-13Reapply [ConstantFold] Drop gep of gep fold entirely (#95126)Nikita Popov
2024-06-12Revert "[ConstantFold] Drop gep of gep fold entirely (#95126)"Nikita Popov
2024-06-12[ConstantFold] Drop gep of gep fold entirely (#95126)Nikita Popov
2024-06-10Reapply [ConstantFold] Remove non-trivial gep-of-gep fold (#93823)Nikita Popov
2024-06-04[IR] Remove support for icmp and fcmp constant expressions (#93038)Nikita Popov
2024-05-31Revert "[ConstantFold] Remove non-trivial gep-of-gep fold (#93823)"Nikita Popov
2024-05-31[ConstantFold] Remove non-trivial gep-of-gep fold (#93823)Nikita Popov
2024-05-31Reapply [IR] Avoid creating icmp/fcmp constant expressions (#92885)Nikita Popov
2024-05-30[ConstantFold] Remove notional over-indexing fold (#93697)Nikita Popov
2024-05-28[ConstFold] Fix incorrect gep inbounds of undef foldNikita Popov
2024-05-27[IR] Add getelementptr nusw and nuw flags (#90824)Nikita Popov
2024-05-22Revert "[IR] Avoid creating icmp/fcmp constant expressions" (#93087)Daniel Thornburgh
2024-05-22[IR] Avoid creating icmp/fcmp constant expressions (#92885)Nikita Popov
2024-05-17[NFC][LLVM] Mainly whitespace changes.Paul Walker
2024-03-20[IR] Change representation of getelementptr inrange (#84341)Nikita Popov
2024-03-19[ConstantFold] Fix comparison between special pointer constantsNikita Popov
2024-01-18[ConstantFold] Clean up binop identity foldingNikita Popov
2023-12-18[LLVM][IR] Replace ConstantInt's specialisation of getType() with getIntegerT...Paul Walker
2023-11-14[llvm] Fix -Wunused-variable in ConstantFold.cpp (NFC)Jie Fu
2023-11-14[IR] Remove support for lshr/ashr constant expressions (#71955)Nikita Popov
2023-11-03[ConstantFold] Remove redundant zero index gep fold (NFCI)Nikita Popov
2023-11-03[ConstantFold] Remove redundant bitcast icmp handling (NFCI)Nikita Popov
2023-11-03[ConstantFold] Remove redundant constantFoldCompareGlobalToNull() fold (NFCI)Nikita Popov
2023-11-03[ConstantFold] Fix incorrect type assumptionsNikita Popov
2023-11-03[ConstantFold] Simplify evaluateICmpRelation() implementation (NFCI)Nikita Popov
2023-11-03[ConstantFold] Remove handling for icmp of bitcastNikita Popov
2023-11-03[ConstantFold] Remove handling for comparison of bitcasted global (NFCI)Nikita Popov
2023-11-03[ConstantFold] Don't mention irrelevant opcodes (NFCI)Nikita Popov
2023-11-03[ConstantFold] Remove unnecessarily complicated evaluateFCmpRelation() (NFCI)Nikita Popov
2023-11-03[ConstantFold] Remove redundant handling for casts of null (NFCI)Nikita Popov
2023-11-03Reapply [ConstantFold] Remove unnecessary BitCastConstantVector() (NFCI)Nikita Popov
2023-11-03Revert "[ConstantFold] Remove unnecessary BitCastConstantVector() (NFCI)"Nikita Popov
2023-11-03[ConstantFold] Remove unnecessary cast of zero gep fold (NFCI)Nikita Popov
2023-11-03[ConstantFold] Remove unnecessary checks in FoldBitCast() (NFCI)Nikita Popov