aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ConstantFolding.cpp
AgeCommit message (Expand)AuthorFilesLines
2024-08-24[ConstantFolding] Ensure TLI is valid when simplifying fp128 intrinsics.David Green1-1/+1
2024-08-22Enable logf128 constant folding for hosts with 128bit long double (#104929)Matthew Devereau1-6/+24
2024-08-14Revert "Reland logf128 constant folding (#103217)"Nikita Popov1-2/+2
2024-08-14Reland logf128 constant folding (#103217)Matthew Devereau1-2/+2
2024-08-12[ConstantFolding] Use getSigned()Nikita Popov1-2/+3
2024-08-09Revert "Enable logf128 constant folding for hosts with 128bit floats (#96287)"Nikita Popov1-2/+2
2024-08-09Enable logf128 constant folding for hosts with 128bit floats (#96287)Matthew Devereau1-2/+2
2024-07-30[NFC] fix build failure (#100993)Chen Zheng1-2/+2
2024-07-25Remove the `x86_mmx` IR type. (#98505)James Y Knight1-5/+3
2024-07-15Fix assertion failure in PR98681 (#98860)Yingwei Zheng1-1/+1
2024-07-15[ConstantFold] Fix result type when folding powi.f16 (#98681)Yingwei Zheng1-18/+19
2024-06-28[IR] Add getDataLayout() helpers to Function and GlobalValue (#96919)Nikita Popov1-4/+4
2024-06-18[Analysis] Fix -Wunused-function in ConstantFolding.cpp (NFC)Jie Fu1-1/+1
2024-06-18Fixup __float128 uses and if defined guard in ConstantFoldingMatt Devereau1-5/+4
2024-06-18[Analysis] Fix -Wunused-function in ConstantFolding.cpp (NFC)Jie Fu1-0/+1
2024-06-18ConstantFold logl calls (#94944)Matthew Devereau1-8/+35
2024-06-11[ConstantFolding] Preserve nowrap flags in gep of gep foldNikita Popov1-7/+16
2024-06-04[ConstantFolding] Preserve all flags in CastGEPIndices()Nikita Popov1-4/+4
2024-06-04[IR] Remove support for icmp and fcmp constant expressions (#93038)Nikita Popov1-5/+1
2024-05-31Reapply [IR] Avoid creating icmp/fcmp constant expressions (#92885)Nikita Popov1-1/+1
2024-05-30[InstSimplify] Add constant folding support for `ucmp`/`scmp` intrinsics (#93...Poseydon421-0/+17
2024-05-29Constant Fold logf128 calls (#90611)Matthew Devereau1-0/+11
2024-05-27[IR] Add getelementptr nusw and nuw flags (#90824)Nikita Popov1-1/+2
2024-05-22Revert "[IR] Avoid creating icmp/fcmp constant expressions" (#93087)Daniel Thornburgh1-1/+1
2024-05-22[IR] Avoid creating icmp/fcmp constant expressions (#92885)Nikita Popov1-1/+1
2024-05-20[ConstantFolding] Canonicalize constexpr GEPs to i8 (#89872)Nikita Popov1-36/+10
2024-05-20[SCEV] Don't use non-deterministic constant folding for trip counts (#90942)Nikita Popov1-11/+40
2024-05-09Replace uses of ConstantExpr::getCompare. (#91558)Eli Friedman1-4/+4
2024-05-01Revert "Constant Fold logf128 calls"Matt Devereau1-11/+0
2024-05-01Constant Fold logf128 callsMatt Devereau1-0/+11
2024-04-18Revert "Constant Fold Logf128 calls (#84501)"Matt Devereau1-11/+0
2024-04-18Constant Fold Logf128 calls (#84501)Matthew Devereau1-0/+11
2024-03-23[LLVM] Use `std::move` for APInt. NFC. (#86257)Yingwei Zheng1-1/+1
2024-03-20[IR] Change representation of getelementptr inrange (#84341)Nikita Popov1-24/+19
2024-03-15[IRBuilder] Fold binary intrinsics (#80743)Artem Tyurin1-55/+83
2024-02-15[ConstantFolding] Do not consider padded-in-memory types as uniform (#81854)Björn Pettersson1-6/+11
2023-11-21[AMDGPU] - Add constant folding to s_wqm intrinsic (#72382)Jessica Del1-0/+10
2023-11-17Fix MSVC "result of 32-bit shift implicitly converted to 64 bits" warning.Simon Pilgrim1-1/+1
2023-11-17[AMDGPU] - Add constant folding for s_quadmask (#72381)Jessica Del1-0/+13
2023-11-16[AMDGPU] - Add constant folding for s_bitreplicate (#72366)Jessica Del1-0/+13
2023-11-10[ConstantFolding] Avoid use of ConstantExpr::getLShr() (NFC)Nikita Popov1-3/+2
2023-11-10[ConstantFolding] Remove unnecessary pointer handling in FoldBitCast (NFCI)Nikita Popov1-9/+0
2023-11-01[ConstantFolding] Add ConstantFoldIntegerCast helperNikita Popov1-14/+28
2023-10-02[IR] Mark zext/sext constant expressions as undesirableNikita Popov1-4/+7
2023-09-29[ConstantFolding] Avoid some uses of ConstantExpr::getCast()Nikita Popov1-9/+9
2023-09-29[llvm] Use more explicit cast methods (NFC)Nikita Popov1-1/+1
2023-09-28[ConstantFolding] Avoid use of ConstantExpr::getZExt() (NFC)Nikita Popov1-3/+8
2023-09-13Reapply "AMDGPU: Drop and auto-upgrade llvm.amdgcn.ldexp to llvm.ldexp"Matt Arsenault1-11/+0
2023-09-13InstSimplify: Simplifications for ldexpMatt Arsenault1-0/+6
2023-09-02ConstantFolding: Handle exp10 intrinsicMatt Arsenault1-0/+4